Versions |
|
Documentation and Support |
|
Open Source |
|
Coding Standards |
|
Development Status |
Python index_calculator is an xclim wrapper to calculate climate indicators from CMORized netCDF files.
Documentation
The official documentation is at https://index-calculator.readthedocs.io/
Features
Calculate climate indices via xclim.
Write standardized netCDF attributes.
Write on disk with a project-specific output file name.
Available projects
You can calculate climate indicators using index_calculator with the projects listed in the table below.
CMIP |
CMIP5, CMIP6 |
CORDEX |
CORDEX |
Observational data |
E-OBS, HYRAS |
Reanalysis data |
ERA5 |
Installation
You can install the package directly with pip:
pip install index_calculator
If you want to contribute, we recommend cloning the repository, setup a conda environmant and installing the package in development mode, e.g.
git clone https://github.com/climate-service-center/index_calculator
cd index_calculator
conda env create -f ci/requirements/environment.yml
conda activate xcalc-tests
pip install -e . --no-deps
This will install the package but you can still edit it and you don’t need the package in your PYTHONPATH
Requirements
python3.11 or higher
xclim
numpy
pandas
xarray
cf_xarray
cftime
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Release files for index-calculator 0.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| index_calculator-0.14.0.tar.gz | 1.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| index_calculator-0.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / index_calculator-0.14.0.tar.gz
| Download URL | index_calculator-0.14.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca0def878160a8fda8a4d241f30c0a95032bb18b31e7884e1981b5164570a9bf
|
|
BLAKE2b-256 checksum How to use checksums |
1ace1a092bbb1cd60fe2937c290a45a5c865427b0b6f73772e7c3fbb58febaf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency logRelease files / index_calculator-0.14.0-py3-none-any.whl
| Download URL | index_calculator-0.14.0-py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1d20d4bb73bd5958c14b1e136b6344ed204660c0334d39ec8739f0e48854c49
|
|
BLAKE2b-256 checksum How to use checksums |
1b99cf05940ccf007f7696263a753ad14b7277231963cb4be55e2861c2551346
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency log