scmdata provides some useful data handling routines for dealing with data related to simple climate models (SCMs aka reduced complexity climate models, RCMs)
Project description
scmdata
scmdata provides some useful data handling routines for dealing with data related to simple climate models (SCMs aka reduced complexity climate models, RCMs). In particular, it provides a high-performance way of handling and serialising (including to netCDF) timeseries data along with attached metadata.
scmdata was inspired by pyam and was originally part of the openscm package.
Full documentation can be found at: scmdata.readthedocs.io. We recommend reading the docs there because the internal documentation links don't render correctly on GitHub's viewer.
Installation
scmdata can be installed with conda or pip:
pip install scmdata
conda install -c conda-forge scmdata
Additional dependencies can be installed using
# To add plotting dependencies
pip install scmdata[plots]
# To add notebook dependencies
pip install scmdata[notebooks]
# If you are installing with conda, we recommend
# installing the extras by hand because there is no stable
# solution yet (issue here: https://github.com/conda/conda/issues/7502)
For developers
For development, we rely on poetry for all our dependency management. To get started, you will need to make sure that poetry is installed (instructions here, we found that pipx and pip worked better to install on a Mac).
For all of work, we use our Makefile
.
You can read the instructions out and run the commands by hand if you wish,
but we generally discourage this because it can be error prone.
In order to create your environment, run make virtual-envir˚onment
.
If there are any issues, the messages from the Makefile
should guide you
through. If not, please raise an issue in the issue tracker˚.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scmdata-0.17.0.tar.gz
.
File metadata
- Download URL: scmdata-0.17.0.tar.gz
- Upload date:
- Size: 70.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae11feaa7f2141ca5a5859dad0c8fbe91c9743df76f5f78399940854769552a3 |
|
MD5 | 93f1743f2a6f33158aea88ace64a7eb4 |
|
BLAKE2b-256 | defe9370c8da3ac25870343f2c26238fe4cfe6515bfa7a70d6623324bf828498 |
File details
Details for the file scmdata-0.17.0-py3-none-any.whl
.
File metadata
- Download URL: scmdata-0.17.0-py3-none-any.whl
- Upload date:
- Size: 77.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd51618016b14dceabc2f023c937155064d3971708693beaec1b793d959693d3 |
|
MD5 | 2d48cc436d18bf75f4ba6d054173bbb2 |
|
BLAKE2b-256 | d3cd2e032e7bb1dcd389da2a803df2e41cce7b202686f5871f0ba9b1b2c01d86 |