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/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

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.12.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

index_calculator-0.12.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for index_calculator-0.12.0.tar.gz
Algorithm Hash digest
SHA256 44dd3770b2005f0207d7220a499abcfd9b5c2a3bfb9c3af61adecdcb079d1595
MD5 16b0a40aed801469cccd529078ca6715
BLAKE2b-256 e1efc230aee61d1eff35c9b1f6d9730cf730fdd5a1fad2f36b466f5710caef9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for index_calculator-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c35e65ac081f77955f5f4261922980df5f615c62771c6239662cd607798ce933
MD5 06d492183d88a746ef10f61a62bf7d35
BLAKE2b-256 58304d8d1b5602863212882186bc7eb32dd987dcd5629e99ce23acc27f5e1fb6

See more details on using hashes here.

Supported by

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