Skip to main content

ESGF data discovery, download, replication tool

Project description

esgpull - ESGF data management utility

Rye

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.1.tar.gz (153.8 kB view details)

Uploaded Source

Built Distribution

esgpull-0.7.1-py3-none-any.whl (93.5 kB view details)

Uploaded Python 3

File details

Details for the file esgpull-0.7.1.tar.gz.

File metadata

  • Download URL: esgpull-0.7.1.tar.gz
  • Upload date:
  • Size: 153.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for esgpull-0.7.1.tar.gz
Algorithm Hash digest
SHA256 f453dc59b08f63314f59f78dc8a241d79c22e053569e5331b0d617881e12057f
MD5 cf229f5082d189ee887a336cd5b860dd
BLAKE2b-256 9b0b7657bc9e6a92fa30cdde85ee3c84040f90fb476072f9f9a07626ac4eb73f

See more details on using hashes here.

File details

Details for the file esgpull-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: esgpull-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 93.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for esgpull-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73532b383c9b757472640d748cdc6852f099c416ce42919b58a714f0130a469a
MD5 e9459589e3dd6c7428f52a1b87b73f55
BLAKE2b-256 f167762d84daeba64cc20e3f5ebba4ae9039d61a53010ecf805f909e8526cdba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page