Skip to main content
https://img.shields.io/travis/TaufiqHassan/acccmip6.svg https://img.shields.io/pypi/v/acccmip6.svg https://readthedocs.org/projects/acccmip6/badge https://zenodo.org/badge/208252347.svg

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

You may also install the package via conda. Make sure you have added the conda-forge channel in your environment. You can add any channel by -

conda config --env --add channels conda-forge

Then install acccmip6 from thassan channel:

conda install -c thassan acccmip6

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

  • -skip : Skip any item (model/experiment/realizations) from your download

  • -time : ‘yes’ to print out all available time periods

  • -yr : Select data for a time period (number of years)

  • -n : Select specific data nodes (multiple node selection allowed)

  • -serv : Set user-defined server

  • -cr : Select common realizations among selected experiments

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.

Metadata

Release files for acccmip6 5.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acccmip6 5.4.0
File Size Uploaded Provenance
acccmip6-5.4.0.tar.gz 111.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acccmip6 5.4.0
File Interpreter ABI Platform
acccmip6-5.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 214.2 kB

Release files / acccmip6-5.4.0.tar.gz

Download URL acccmip6-5.4.0.tar.gz
Size 111.1 kB
Tags Source
SHA-256 checksum
How to use checksums
915315701ade000a3d7f3cd908816c906b4a5d855bc51f9cf6f067ed6b1095dc
BLAKE2b-256 checksum
How to use checksums
dd21229cfacc3494f1b748a20c2651f82b09ce813265faec6b35ab3a448cbcfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Release files / acccmip6-5.4.0-py2.py3-none-any.whl

Download URL acccmip6-5.4.0-py2.py3-none-any.whl
Size 103.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5b97cd87a200f535f93fcbe1c54175459d8a79b94c42264f88faeed0d7e3cc8d
BLAKE2b-256 checksum
How to use checksums
e75ce2169d681497b28fa8a89fcec687c965b98020c58eefa8ba7ddeec37dc76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Security for acccmip6 5.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page