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 Ruff pre-commit.ci status Open Source Security Foundation FOSSA

Development Status

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coveralls

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.6 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.13.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.13.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for index_calculator-0.13.0.tar.gz
Algorithm Hash digest
SHA256 a721f35b15a6795c8c57e83d8a171bd8fcdf2caa8d4764a86891a5a464b6e571
MD5 47a82a41344626fbfb360383f2c7e74d
BLAKE2b-256 77a5fba8767e368be7000c8633b9ef38ff94bd10fcfb9cb59db6dceefc2ca0b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for index_calculator-0.13.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.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for index_calculator-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9392fec30770c83b7171a3e3424ce4fe3d5df3f8d5d4fa26708fedccc8a7127c
MD5 e1150d0b09fc48df099ed59dcb660cd0
BLAKE2b-256 ab22741753c8ca3dc8f9e54699be486ad2192935ecf9525110539a24269583cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for index_calculator-0.13.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