Skip to main content

Python index-calculator is an xclim wrapper

Project description

Versions

Python Package Index Build Supported Python Versions

Documentation and Support

Documentation Status

Open Source

License DOI

Coding Standards

Python Black pre-commit.ci status

Development Status

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

index_calculator-0.14.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

index_calculator-0.14.0-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file index_calculator-0.14.0.tar.gz.

File metadata

  • Download URL: index_calculator-0.14.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for index_calculator-0.14.0.tar.gz
Algorithm Hash digest
SHA256 ca0def878160a8fda8a4d241f30c0a95032bb18b31e7884e1981b5164570a9bf
MD5 031881b0e2cd63d2350cdd4d069da5d4
BLAKE2b-256 1ace1a092bbb1cd60fe2937c290a45a5c865427b0b6f73772e7c3fbb58febaf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for index_calculator-0.14.0.tar.gz:

Publisher: release-pypi.yaml on climate-service-center/index_calculator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file index_calculator-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for index_calculator-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1d20d4bb73bd5958c14b1e136b6344ed204660c0334d39ec8739f0e48854c49
MD5 204864550bd8cc919136205e93e40670
BLAKE2b-256 1b99cf05940ccf007f7696263a753ad14b7277231963cb4be55e2861c2551346

See more details on using hashes here.

Provenance

The following attestation bundles were made for index_calculator-0.14.0-py3-none-any.whl:

Publisher: release-pypi.yaml on climate-service-center/index_calculator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page