Skip to main content

Python library for climate indices calculation

Project description

Build Status Python Package Index Build Python Black Documentation Status Conda-forge Build Version Code coverage

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

Installation

From pypi: pip install icclim.

From conda-forge: conda install -c conda-forge icclim.

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

  • Install icclim python -m setup install

How to use icclim

Let’s count the number of days above 25ºC, 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 glob
import icclim
summer_days = icclim.index(
    index_name="SU",
    in_files=glob.glob(f"netcdf_files/tasmax*.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 some 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)

  • EUDAT2020 (2015-2018)

  • H2020-IS-ENES3 (2019-2022)

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-5.2.0.tar.gz (299.3 kB view details)

Uploaded Source

Built Distribution

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

icclim-5.2.0-py3-none-any.whl (67.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: icclim-5.2.0.tar.gz
  • Upload date:
  • Size: 299.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for icclim-5.2.0.tar.gz
Algorithm Hash digest
SHA256 56799bd9c7ab9ef80aaf3cc969428edf81e67a1d367a4ea2ec0621e6de19c830
MD5 a62adb1df6e5c3552ddd6e40be586a2a
BLAKE2b-256 3044eaf56796759b67fb5c8e867fe475a8f474966977d3051a56c82ae4bad13b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icclim-5.2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for icclim-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09cc34172558b9ddcb1e2ec9f60177444eae45766c4acf8c8eb71e0c22cba4af
MD5 8f721519a9fe3886e6ba369fb59c8e59
BLAKE2b-256 86bf8ffae7046847a6ffdf13e0d899fc61ef9b28bc7a49b4f096c58e1d8204c9

See more details on using hashes here.

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