ESGF data discovery, download, replication tool
Project description
esgpull - ESGF data management utility
esgpull
is a tool that simplifies usage of the ESGF Search API for data discovery, and manages procedures related to downloading and storing files from ESGF.
from esgpull import Esgpull, Query
query = Query()
query.selection.project = "CMIP6"
query.options.distrib = True # default=False
esg = Esgpull()
nb_datasets = esg.context.hits(query, file=False)[0]
nb_files = esg.context.hits(query, file=True)[0]
datasets = esg.context.datasets(query, max_hits=5)
print(f"Number of CMIP6 datasets: {nb_datasets}")
print(f"Number of CMIP6 files: {nb_files}")
for dataset in datasets:
print(dataset)
Features
- Command-line interface
- HTTP download (async multi-file)
Usage
Usage: esgpull [OPTIONS] COMMAND [ARGS]...
esgpull is a management utility for files and datasets from ESGF.
Options:
-V, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
add Add queries to the database
config View/modify config
convert Convert synda selection files to esgpull queries
download Asynchronously download files linked to queries
login OpenID authentication and certificates renewal
remove Remove queries from the database
retry Re-queue failed and cancelled downloads
search Search datasets and files on ESGF
self Manage esgpull installations / import synda database
show View query tree
status View file queue status
track Track queries
untrack Untrack queries
update Fetch files, link files <-> queries, send files to download...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
esgpull-0.6.3.tar.gz
(74.2 kB
view details)
Built Distribution
esgpull-0.6.3-py3-none-any.whl
(91.3 kB
view details)
File details
Details for the file esgpull-0.6.3.tar.gz
.
File metadata
- Download URL: esgpull-0.6.3.tar.gz
- Upload date:
- Size: 74.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.4 CPython/3.10.13 Linux/5.4.0-182-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91198ac5171308cb82133a32499c13f16790260e9455012a4101ea0037caffcb |
|
MD5 | 4ef2a895bce14753411bb271dfd87299 |
|
BLAKE2b-256 | 653007ffd691c571d8ad91bcd93fa5ab673ddbecadaefa94835343aa65227ff6 |
File details
Details for the file esgpull-0.6.3-py3-none-any.whl
.
File metadata
- Download URL: esgpull-0.6.3-py3-none-any.whl
- Upload date:
- Size: 91.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.4 CPython/3.10.13 Linux/5.4.0-182-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f950cc14690896a9f1af35cc847250de1701e507efc5265cb2b8de06c472daaa |
|
MD5 | caa43c35d1691411e7672940e784412c |
|
BLAKE2b-256 | 3916eb08bd1c053f47a1770217bbfd344aed325b5e1adfdb6c1e81dc00aae4ef |