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)

Installation

Install esgpull using pip or conda:

pip install esgpull
conda install -c conda-forge ipsl::esgpull

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

Uploaded Source

Built Distribution

esgpull-0.7.3-py3-none-any.whl (94.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esgpull-0.7.3.tar.gz
  • Upload date:
  • Size: 154.2 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.3.tar.gz
Algorithm Hash digest
SHA256 ae416666cd996263be38a4bb781d49f4264a42c0d06e92d1e6a2a39a367aa1f2
MD5 fffb470cf6cc48a675fcb1235a754de8
BLAKE2b-256 9f91a803e9ad195fe81120acc6ba8479a6573f9acb94180f87c336a1af24b531

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esgpull-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 94.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09919dcbcb0d78a3b99100b5d6702f50a4294b11131b929dbe65ef0154345204
MD5 1d79f5aeb208ac51e2f051a1f9d14d24
BLAKE2b-256 016eeb965fab9f61f23449b04ea9625c4b0442b7244ee3531375527ef55094f4

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