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.7.2.tar.gz
(153.9 kB
view details)
Built Distribution
esgpull-0.7.2-py3-none-any.whl
(94.0 kB
view details)
File details
Details for the file esgpull-0.7.2.tar.gz
.
File metadata
- Download URL: esgpull-0.7.2.tar.gz
- Upload date:
- Size: 153.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12757cf03829033216d8203a6d1577ec5a90f9dc580fd990f698c932b2d6147 |
|
MD5 | 013aa1f763b04cd75b31b09fd576d17e |
|
BLAKE2b-256 | 6486a88cf99eb2f3ae1402686549626db0416b487fa67325eddbd54cadd00658 |
File details
Details for the file esgpull-0.7.2-py3-none-any.whl
.
File metadata
- Download URL: esgpull-0.7.2-py3-none-any.whl
- Upload date:
- Size: 94.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8718ca9f5e472cc7afd5b5edd4b8c0cb22537b52ce90f9a97bcd2b0de47dbed7 |
|
MD5 | 3eb9f29bcface86c113862594b198bad |
|
BLAKE2b-256 | f1ad9b48956de275f9f068bbc6a099924f91a4e3851ca5c22f63a0335d63cee7 |