Skip to main content

Package for accessing CMIP6 database in real-time

Project description

https://img.shields.io/travis/TaufiqHassan/acccmip6.svg https://img.shields.io/pypi/v/acccmip6.svg https://readthedocs.org/projects/acccmip6/badge

acccmip6 package can access CMIP6 database in real-time.

Features

  • Real-time search and download from continuously updating CMIP6 database

  • Find data for any specific items (e.g. model, experiment, variable, frequency, realm)

  • Search and download any combination of the above items

  • Find the total number of available files and realizations

  • Validate your search items

  • Get suggestions if necessary

  • Access definition of the experiments

  • Skips already existing files

Installation

Install is as simple as typing -

pip install acccmip6

Requires python v3.5 or up and pip. Mac users can use brew install python3 and python get-pip.py from terminal. Windows users can use Windows Subsystem.

Installation demo

docs/installation_demo.gif

Usage

acccmip6 searches the live CMIP6 database and spits out currently available models, experiments and variables that satisfies your search criteria. It will also output the number of available files. acccmip6 also tries to be a good command-line interface (CLI). Run acccmip6 -h to see a help message with all the arguments you can pass.

Required Arguments

  • -o : Takes output type. ‘S’ for searching the database or ‘D’ for downloading from the database.

Optional Arguments

  • -m : Model names (multiple comma separated names are allowed)

  • -e : Experiment names

  • -f : CMIP6 output frequency (e.g. mon, day etc.)

  • -v : Variable names

  • -r : Realm name (e.g. atmos, ocean etc.)

  • -rlzn : Select a specified realization

  • -c : ‘yes’ to use checker when searching or downloading. This helps to find out whether the search items are currently available. If not, it will produce suggestions that matches closely to your search.

  • -desc : ‘yes’ to get the description of the experiments searched for

  • -dir : Download directory

Demo

Search CMIP6 database with acccmip6 -o S

docs/searching_demo.gif

Download CMIP6 data with acccmip6 -o D

docs/downloading_demo.gif

License

This code is licensed under the MIT License.

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

acccmip6-3.0.0.tar.gz (106.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acccmip6-3.0.0-py2.py3-none-any.whl (101.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file acccmip6-3.0.0.tar.gz.

File metadata

  • Download URL: acccmip6-3.0.0.tar.gz
  • Upload date:
  • Size: 106.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for acccmip6-3.0.0.tar.gz
Algorithm Hash digest
SHA256 f785df8b036dc003d7f5e5a4d14a6a5c321be3826e18e6c3716d717703121b01
MD5 bb48c59330116915200464ca3142f547
BLAKE2b-256 442aa17d65ac97edb96f457e9cfae4e767cbf2b06501d13152836c8a3030f373

See more details on using hashes here.

File details

Details for the file acccmip6-3.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: acccmip6-3.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 101.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for acccmip6-3.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 470ce5001e08d8303b356ba9b7cb91efd3fd491331876c3d113189d0f41d7d7a
MD5 19e2875370b8b1aa97c5afdbafce4627
BLAKE2b-256 2cc31b77638fb00a49517c3865e87c21412c048b28759d08f573c799c85c1c34

See more details on using hashes here.

Supported by

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