Calculate climate indicators with standardized project-specific attributes: index_calculator
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, I recommend cloning the repository and installing the package in development mode, e.g.
git clone https://github.com/ludwiglierhammer/index_calculator
cd index_calculator
pip install -e .
This will install the package but you can still edit it and you don’t need the package in your PYTHONPATH
Requirements
python3.6 or higher
xclim
numpy
pandas
xarray
cf_xarray
cftime
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.