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

Uploaded Source

Built Distribution

esgpull-0.6.5-py3-none-any.whl (90.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esgpull-0.6.5.tar.gz
  • Upload date:
  • Size: 71.5 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.5.tar.gz
Algorithm Hash digest
SHA256 e2aaebdbeaca0fd105dd789800723a649011cf5962481df3a65dc8105ed1461c
MD5 df67bc42895ee96cbbac970c75053e25
BLAKE2b-256 805949b90984786846f6288cc4eae5b30dc12b278ffc4a33f3720829105da8b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esgpull-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 90.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1e9df94787002cb6575af08ac46f3d83570e6aa8537a65d13b5cc1a49744ffeb
MD5 5f3a552d549c02f862c30e60741d2c12
BLAKE2b-256 cc7abe5d5fddf7c8c4ab2c197cdc989b9117aad885d7377ff3cb438a740de2f1

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