Skip to main content

Python library for climate indices calculation.

Project description

Build Status Python Package Index Build Ruff Documentation Status Conda-forge Build Version Code coverage D.O.I link

icclim is a Python library to compute climate indices. icclim name stands for index, calculation, climate.

Installation

From conda-forge (recommended): conda install -c conda-forge icclim.

From pypi: pip install icclim.

From sources:
  • Clone the repository git clone https://github.com/cerfacs-globc/icclim.git

  • Install icclim pip install .

Compatibility

icclim is designed to be highly compatible across the Python scientific ecosystem:

  • Python: Supports Python 3.10 and above.

  • Backward Compatibility: Supports older stable versions (e.g., numpy>=1.21, xarray>=2022.6, xclim>=0.45).

  • Bleeding Edge: Fully verified and recommended to run on the latest major versions, including Zarr 3.x, Pandas 3.x, and Xarray 2026.x.

For production environments, we recommend keeping your dependencies updated to their latest stable releases to benefit from the latest optimizations and features.

How to use icclim

Let’s count the number of days above 25°C for each year, which corresponds to the index SU, from a tasmax variable scattered in multiple netcdf files.

SU is one of the many index that can be computed with icclim. See the documentation to explore what other index you can compute with icclim.

import icclim

summer_days = icclim.su(
    "netcdf_files/tasmax_1990-2100.nc", out_file="summer_days.nc"
)

For more examples on how to use icclim, see icclim’s How to … documentation or our notebooks.

Who use icclim

icclim is part of C4I platform backend and is integrated in CLIPC Portal. icclim is also used by independent researchers.

Who made icclim

icclim has always been an open source project and was successfully made thanks to the joint effort of all its contributors. The lead development is made at CERFACS, a research institution located in Toulouse, France.

Grants

This open-source project has been possible thanks to funding by the European Commission projects:

  • FP7 CLIPC (2013-2016)

  • FP7 IS-ENES2 (2013-2017)

  • H2020 EUDAT2020 (2015-2018)

  • H2020 IS-ENES3 (2019-2023)

This project also receives funding from Agence Nationale de la Recherche - France 2030 as part of the PEPR TRACCS programme under grant number ANR-22-EXTR-0003 (PC2-INVEST 2024-2032).

The beautiful icclim logo is a creation of Carole Petetin and has been funded by the H2020 IS-ENES3 project grant agreement No 824084 (2019-2023).

Indices

For a detailed description of each ECA&D index, please visit: https://www.ecad.eu/documents/atbd.pdf

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

icclim-7.1.1.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

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

icclim-7.1.1-py3-none-any.whl (134.2 kB view details)

Uploaded Python 3

File details

Details for the file icclim-7.1.1.tar.gz.

File metadata

  • Download URL: icclim-7.1.1.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for icclim-7.1.1.tar.gz
Algorithm Hash digest
SHA256 52e5c708e5198eae5f7b19dc15dff068c8bfa8cb4ab2d06ab98cc24b8beea2b3
MD5 a1e30c70f9b623656dc5434ba8e22101
BLAKE2b-256 9b96f34b6da5b0f7e30718f0e935f845b706cc091eb6407f6efd7a0899c7846a

See more details on using hashes here.

Provenance

The following attestation bundles were made for icclim-7.1.1.tar.gz:

Publisher: publish-to-pipy.yml on cerfacs-globc/icclim

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

File details

Details for the file icclim-7.1.1-py3-none-any.whl.

File metadata

  • Download URL: icclim-7.1.1-py3-none-any.whl
  • Upload date:
  • Size: 134.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for icclim-7.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f76a366c33b3424f3125a22b5d116e07a337864a989928d14668708ec5c92d0d
MD5 faba057400ded959e1215130f979f1bd
BLAKE2b-256 b368594e9eee9334cf2aed8f853e7c23b597a0d44f0811fb5c8cac98aa9ee64f

See more details on using hashes here.

Provenance

The following attestation bundles were made for icclim-7.1.1-py3-none-any.whl:

Publisher: publish-to-pipy.yml on cerfacs-globc/icclim

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