A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

icclim

Python library for climate indices and climate indicators calculation.
https://github.com/cerfacs-globc/icclim

Category: Climate Change
Sub Category: Climate Data Processing and Analysis

Keywords

calculation-climate climate-indicators climate-indices climate-simulations icclim netcdf python python-library python-package xarray xclim

Keywords from Contributors

climate-science climate climate-analysis meteorology oceanography netcdf4 spatial-data-analysis anuclim climate-model energy-system

Last synced: about 12 hours ago
JSON representation

Repository metadata

icclim: Python library for climate indices and climate indicators calculation.

README.rst

          |logo|
======

|build| |pypi| |ruff| |docs| |conda| |coverage| |doi|

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 ``pip install .``

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.

.. code-block:: python

    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 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-2023)

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

..
  Pytest Coverage Comment:Begin

.. |coverage| image:: https://img.shields.io/badge/Coverage-84%25-green.svg
        :target: https://github.com/cerfacs-globc/icclim/blob/master/README.rst#code-coverage
        :alt: Code coverage

..
  Pytest Coverage Comment:End


.. |docs| image:: https://readthedocs.org/projects/icclim/badge/?version=latest
        :target: https://icclim.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. |pypi| image:: https://img.shields.io/pypi/v/icclim.svg
        :target: https://pypi.python.org/pypi/icclim
        :alt: Python Package Index Build

.. |build| image:: https://github.com/cerfacs-globc/icclim/actions/workflows/ci.yml/badge.svg?branch=master
        :target: https://github.com/cerfacs-globc/icclim/actions/workflows/ci.yml
        :alt: Build Status

.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/icclim.svg
        :target: https://anaconda.org/conda-forge/icclim
        :alt: Conda-forge Build Version

.. |doi| image:: https://zenodo.org/badge/15936714.svg
        :target: https://zenodo.org/badge/latestdoi/15936714
        :alt: D.O.I link

.. |logo| image:: https://github.com/cerfacs-globc/icclim/raw/master/doc/source/_static/logo_icclim_colored__displayed.svg
        :target: https://github.com/cerfacs-globc/icclim
        :alt: icclim
        :width: 200px

.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
        :target: https://github.com/astral-sh/ruff
        :alt: Ruff

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 1,322
Total Committers: 17
Avg Commits per committer: 77.765
Development Distribution Score (DDS): 0.545

Commits in past year: 115
Committers in past year: 5
Avg Commits per committer in past year: 23.0
Development Distribution Score (DDS) in past year: 0.252

Name Email Commits
abel a****n@c****r 602
Natalia Tatatrinova n****a@c****r 274
Christian Page c****e@c****r 117
Abel Aoun a****l@o****m 95
pre-commit-ci[bot] 6****] 63
GitHub Actions Bot 42
Natalia Tatarinova s****a@g****m 39
Xpiv x****s@g****m 28
Martin.Evaldsson M****n@s****e 24
Abel Aoun a****n@e****t 16
Natalia t****a@c****r 6
Lars Barring l****g@s****e 5
bekozi b****l@g****m 5
Pascal Bourgault b****l@o****a 2
Petros Gasteratos p****t 2
Damien Irving i****n@g****m 1
bascrezee b****e@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 114
Total pull requests: 211
Average time to close issues: about 1 year
Average time to close pull requests: 6 days
Total issue authors: 28
Total pull request authors: 11
Average comments per issue: 2.7
Average comments per pull request: 0.99
Merged pull request: 200
Bot issues: 0
Bot pull requests: 47

Past year issues: 7
Past year pull requests: 5
Past year average time to close issues: N/A
Past year average time to close pull requests: about 5 hours
Past year issue authors: 6
Past year pull request authors: 2
Past year average comments per issue: 1.14
Past year average comments per pull request: 1.2
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 3

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/cerfacs-globc/icclim

Top Issue Authors

  • bzah (43)
  • pagecp (10)
  • MilkaRadojevic (7)
  • marev711 (7)
  • bekozi (5)
  • thebaptiste (5)
  • DamienIrving (5)
  • jackaranda (4)
  • pauliscuss (3)
  • maartenplieger (3)
  • igryski (2)
  • ritviksahajpal (2)
  • larsbarring (2)
  • armellereca (2)
  • larsbuntemeyer (1)

Top Pull Request Authors

  • bzah (128)
  • pre-commit-ci[bot] (47)
  • xpivan (18)
  • bekozi (6)
  • pagecp (5)
  • ptrgast (2)
  • mauromussin (1)
  • bascrezee (1)
  • aulemahal (1)
  • jackaranda (1)
  • DamienIrving (1)

Top Issue Labels

  • bug (4)
  • enhancement (4)
  • priority (3)
  • good first issue (2)
  • roadmap-5.3 (2)
  • roadmap-5.2.0 (2)

Top Pull Request Labels

  • enhancement (2)

Package metadata

pypi.org: icclim

Python library for climate indices calculation.

  • Homepage:
  • Documentation: https://icclim.readthedocs.io/en/latest/how_to/index.html
  • Licenses: Apache Software License
  • Latest release: 7.0.0 (published 12 months ago)
  • Last Synced: 2025-04-25T14:04:02.107Z (1 day ago)
  • Versions: 21
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 53,650 Last month
  • Rankings:
    • Downloads: 2.696%
    • Forks count: 6.928%
    • Dependent packages count: 7.306%
    • Stargazers count: 8.187%
    • Average: 9.439%
    • Dependent repos count: 22.077%
  • Maintainers (2)
conda-forge.org: icclim

icclim (Index Calculation CLIMate) is a python library for climate indices calculation. It wraps xclim, xarray and dask in a staight forward API. It is first meant to compute the ECA&D indices but also provide an API to create customized indices based on a few operators.

  • Homepage: https://github.com/cerfacs-globc/icclim
  • Licenses: Apache-2.0
  • Latest release: 6.0.0 (published over 2 years ago)
  • Last Synced: 2025-04-01T02:10:33.340Z (26 days ago)
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Rankings:
    • Dependent repos count: 24.103%
    • Forks count: 30.616%
    • Average: 35.898%
    • Stargazers count: 37.335%
    • Dependent packages count: 51.54%

Dependencies

requirements.txt pypi
  • cftime *
  • dask *
  • dateparser *
  • distributed *
  • fsspec *
  • netCDF4 *
  • numpy *
  • pandas *
  • pandas >=1.3
  • pytest *
  • pyyaml *
  • rechunker >=0.3.3
  • setuptools *
  • xarray *
  • xclim *
  • zarr *
requirements_dev.txt pypi
  • black * development
  • cftime * development
  • dask * development
  • dateparser * development
  • flake8 * development
  • flake8-rst-docstrings * development
  • isort * development
  • netCDF4 * development
  • numpy * development
  • pandas * development
  • pandas >=1.3 development
  • pip * development
  • pre-commit >=2.9 development
  • psutil * development
  • pydata-sphinx-theme * development
  • pylint * development
  • pytest * development
  • pytest-cov * development
  • rechunker >=0.3.3 development
  • setuptools >=49.6.0 development
  • sphinx * development
  • twine * development
  • xarray * development
  • xclim * development
  • zarr * development
.github/workflows/ci.yml actions
  • MishaKav/pytest-coverage-comment main composite
  • actions/checkout v3 composite
  • actions/setup-python v2 composite
environment.yml pypi
setup.py pypi

Score: 18.414891166646587