Skip to main content

ESGF data discovery, download, replication tool

Project description

pdm-managed

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

Uploaded Source

Built Distribution

esgpull-0.6.4-py3-none-any.whl (90.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esgpull-0.6.4.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure

File hashes

Hashes for esgpull-0.6.4.tar.gz
Algorithm Hash digest
SHA256 eef2ab19e292fcef2eb114978c64e340ff994401b461c285e03df25bec2800b1
MD5 c4978fd7013c942b638b53b2795980e3
BLAKE2b-256 79dbb408bb24867f47ae4c5e862df042f16134185c695403c960d8312a6ee6c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esgpull-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 90.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure

File hashes

Hashes for esgpull-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7168ec8c11a6bb0942c2fb3417c78a2fc7fa033dd3e5376198deb6aaa006d431
MD5 6d09e362513c1299a7f0088df8cbd6e5
BLAKE2b-256 bc044dc831abd2f6750674dc3d8fc288aa12ecfff6e24f689a5fbb05f0ae60ce

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