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.
The official documentation is at https://index-calculator.readthedocs.io/
- Calculate climate indices via xclim.
- Write standardized netCDF attributes.
- Write on disk with a project-specific output file name.
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 |
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/ludwiglierhammer/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
- python3.6 or higher
- xclim
- numpy
- pandas
- xarray
- cf_xarray
- cftime
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.