xclim

A library of derived climate variables, i.e. climate indicators, based on xarray.
https://github.com/ouranosinc/xclim

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

Keywords

anuclim climate-analysis climate-science dask icclim netcdf4 python xarray xclim

Keywords from Contributors

climate wps hydrology ogc indices birdhouse earth-system-model pywps spatial-data-analysis archiving

Last synced: about 7 hours ago
JSON representation

Repository metadata

Library of derived climate variables, ie climate indicators, based on xarray.

README.rst

          ===============================================================
xclim: Climate services library |logo| |logo-dark| |logo-light|
===============================================================

+----------------------------+-----------------------------------------------------+
| Versions                   | |pypi| |conda| |versions|                           |
+----------------------------+-----------------------------------------------------+
| Documentation and Support  | |docs| |discussions|                                |
+----------------------------+-----------------------------------------------------+
| Open Source                | |license| |ossf-score| |zenodo| |pyOpenSci| |joss|  |
+----------------------------+-----------------------------------------------------+
| Coding Standards           | |ruff| |pre-commit-ci| |ossf-bp| |fossa|            |
+----------------------------+-----------------------------------------------------+
| Development Status         | |status| |build| |coveralls|                        |
+----------------------------+-----------------------------------------------------+

`xclim` is an operational Python library for climate services, providing numerous climate-related indicator tools
with an extensible framework for constructing custom climate indicators, statistical downscaling and bias
adjustment of climate model simulations, as well as climate model ensemble analysis tools.

`xclim` is built using `xarray`_ and can seamlessly benefit from the parallelization handling provided by `dask`_.
Its objective is to make it as simple as possible for users to perform typical climate services data treatment workflows.
Leveraging `xarray` and `dask`, users can easily bias-adjust climate simulations over large spatial domains or compute indices from large climate datasets.

For example, the following would compute monthly mean temperature from daily mean temperature:

.. code-block:: python

    import xclim
    import xarray as xr

    ds = xr.open_dataset(filename)
    tg = xclim.atmos.tg_mean(ds.tas, freq="MS")

For applications where metadata and missing values are important to get right, `xclim` provides a class for each index
that validates inputs, checks for missing values, converts units and assigns metadata attributes to the output.
This also provides a mechanism for users to customize the indices to their own specifications and preferences.
`xclim` currently provides over 150 indices related to mean, minimum and maximum daily temperature, daily precipitation,
streamflow and sea ice concentration, numerous bias-adjustment algorithms, as well as a dedicated module for ensemble analysis.

.. _xarray: https://docs.xarray.dev/
.. _dask: https://docs.dask.org/

Quick Install
-------------
`xclim` can be installed from PyPI:

.. code-block:: shell

    $ pip install xclim

or from Anaconda (conda-forge):

.. code-block:: shell

    $ conda install -c conda-forge xclim

Documentation
-------------
The official documentation is at https://xclim.readthedocs.io/

How to make the most of xclim: `Basic Usage Examples`_ and `In-Depth Examples`_.

.. _Basic Usage Examples: https://xclim.readthedocs.io/en/stable/notebooks/usage.html
.. _In-Depth Examples: https://xclim.readthedocs.io/en/stable/notebooks/index.html

Conventions
-----------
In order to provide a coherent interface, `xclim` tries to follow different sets of conventions. In particular, input data should follow the `CF conventions`_ whenever possible for variable attributes. Variable names are usually the ones used in `CMIP6`_, when they exist.

However, `xclim` will *always* assume the temporal coordinate is named "time". If your data uses another name (for example: "T"), you can rename the variable with:

.. code-block:: python

    ds = ds.rename(T="time")

`xclim` employs a `black`_-compatible code formatting style (via a modified `ruff`_ configuration) and (mostly) adheres to the `NumPy docstring`_ style. For more information on coding and development conventions, see the `Contributing Guidelines`_.

.. _black: https://black.readthedocs.io/en/stable/
.. _ruff: https://docs.astral.sh/ruff/
.. _CF Conventions: http://cfconventions.org/
.. _CMIP6: https://clipc-services.ceda.ac.uk/dreq/mipVars.html
.. _NumPy docstring: https://numpydoc.readthedocs.io/en/stable/format.html

Contributing to xclim
---------------------
`xclim` is in active development and is being used in production by climate services specialists around the world.

* If you're interested in participating in the development of `xclim` by suggesting new features, new indices or report bugs, please leave us a message on the `issue tracker`_.
    * If you have a support/usage question or would like to translate `xclim` to a new language, be sure to check out the existing |discussions| first!

* If you would like to contribute code or documentation (which is greatly appreciated!), check out the `Contributing Guidelines`_ before you begin!

.. _issue tracker: https://github.com/Ouranosinc/xclim/issues
.. _Contributing Guidelines: https://github.com/Ouranosinc/xclim/blob/main/CONTRIBUTING.rst

How to cite this library
------------------------
If you wish to cite `xclim` in a research publication, we kindly ask that you refer to our article published in The Journal of Open Source Software (`JOSS`_): https://doi.org/10.21105/joss.05415

To cite a specific version of `xclim`, the bibliographical reference information can be found through `Zenodo`_

.. _JOSS: https://joss.theoj.org/
.. _Zenodo: https://doi.org/10.5281/zenodo.2795043

License
-------
This is free software: you can redistribute it and/or modify it under the terms of the `Apache License 2.0`_. A copy of this license is provided in the code repository (`LICENSE`_).

.. _Apache License 2.0: https://opensource.org/license/apache-2-0/
.. _LICENSE: https://github.com/Ouranosinc/xclim/blob/main/LICENSE

Energy and Carbon Usage
-----------------------
The `xclim` development team is interested in thoroughly testing our software while also reducing the environmental impact of the software we develop.
This repository uses the `ECO-CI`_ tool to estimate and track the energy use and carbon emissions of our continuous integration workflows.

+---------------------------------------------------------------------------------------+
| `ECO-CI`_ Energy Use and Carbon Emissions from CI Workflows (since November 2024)     |
+------------------+------------------+-------------------------------------------------+
| Testing suite    | Energy Usage     | |energy-last| |energy-average| |energy-total|   |
|                  +------------------+-------------------------------------------------+
| (*main* branch)  | Carbon Emissions | |carbon-last| |carbon-average| |carbon-total|   |
+------------------+------------------+-------------------------------------------------+

Credits
-------
`xclim` development is funded through Ouranos_, Environment and Climate Change Canada (ECCC_), the `Fonds vert`_ and the Fonds d'électrification et de changements climatiques (FECC_), the Canadian Foundation for Innovation (CFI_), and the Fonds de recherche du Québec (FRQ_).

.. image:: https://raw.githubusercontent.com/Ouranosinc/.github/refs/heads/main/images/logo-ouranos-horizontal-couleur.svg
        :target: https://www.ouranos.ca/
        :align: center
        :class: ouranos-logo no-theme center

|ouranos-dark| |ouranos-light|

This package was created with Cookiecutter_ and the `audreyfeldroy/cookiecutter-pypackage`_ project template.

.. _audreyfeldroy/cookiecutter-pypackage: https://github.com/audreyfeldroy/cookiecutter-pypackage/
.. _CFI: https://www.innovation.ca/
.. _Cookiecutter: https://github.com/cookiecutter/cookiecutter/
.. _ECCC: https://www.canada.ca/en/environment-climate-change.html
.. _ECO-CI: https://www.green-coding.io/
.. _FECC: https://www.environnement.gouv.qc.ca/ministere/fonds-electrification-changements-climatiques/index.htm
.. _Fonds vert: https://www.environnement.gouv.qc.ca/ministere/fonds-vert/index.htm
.. _FRQ: https://frq.gouv.qc.ca/
.. _Ouranos: https://www.ouranos.ca/

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

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

.. |discussions| image:: https://img.shields.io/badge/GitHub-Discussions-blue
        :target: https://github.com/Ouranosinc/xclim/discussions
        :alt: Static Badge

.. |build| image:: https://github.com/Ouranosinc/xclim/actions/workflows/main.yml/badge.svg
        :target: https://github.com/Ouranosinc/xclim/actions/workflows/main.yml
        :alt: Build Status

.. |coveralls| image:: https://coveralls.io/repos/github/Ouranosinc/xclim/badge.svg
        :target: https://coveralls.io/github/Ouranosinc/xclim
        :alt: Coveralls

.. |docs| image:: https://readthedocs.org/projects/xclim/badge
        :target: https://xclim.readthedocs.io/en/latest
        :alt: Documentation Status

.. |zenodo| image:: https://zenodo.org/badge/142608764.svg
        :target: https://zenodo.org/badge/latestdoi/142608764
        :alt: DOI

.. |pyOpenSci| image:: https://tinyurl.com/y22nb8up
        :target: https://github.com/pyOpenSci/software-review/issues/73
        :alt: pyOpenSci

.. |joss| image:: https://joss.theoj.org/papers/10.21105/joss.05415/status.svg
        :target: https://doi.org/10.21105/joss.05415
        :alt: JOSS

.. |license| image:: https://img.shields.io/github/license/Ouranosinc/xclim.svg
        :target: https://github.com/Ouranosinc/xclim/blob/main/LICENSE
        :alt: License

.. |ossf-bp| image:: https://bestpractices.coreinfrastructure.org/projects/6041/badge
        :target: https://bestpractices.coreinfrastructure.org/projects/6041
        :alt: Open Source Security Foundation Best Practices

.. |ossf-score| image:: https://api.securityscorecards.dev/projects/github.com/Ouranosinc/xclim/badge
        :target: https://securityscorecards.dev/viewer/?uri=github.com/Ouranosinc/xclim
        :alt: Open Source Security Foundation Scorecard

.. |fossa| image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2FOuranosinc%2Fxclim.svg?type=shield
        :target: https://app.fossa.com/projects/git%2Bgithub.com%2FOuranosinc%2Fxclim?ref=badge_shield
        :alt: FOSSA

.. |logo| image:: https://raw.githubusercontent.com/Ouranosinc/xclim/main/docs/logos/xclim-logo-small-light.png
        :target: https://github.com/Ouranosinc/xclim
        :alt: xclim
        :class: xclim-logo-small no-theme

.. |logo-light| image:: https://raw.githubusercontent.com/Ouranosinc/xclim/main/docs/logos/empty.png
        :target: https://github.com/Ouranosinc/xclim
        :alt:
        :class: xclim-logo-small only-light-inline

.. |logo-dark| image:: https://raw.githubusercontent.com/Ouranosinc/xclim/main/docs/logos/empty.png
        :target: https://github.com/Ouranosinc/xclim
        :alt:
        :class: xclim-logo-small only-dark-inline

.. |pre-commit-ci| image:: https://results.pre-commit.ci/badge/github/Ouranosinc/xclim/main.svg
        :target: https://results.pre-commit.ci/latest/github/Ouranosinc/xclim/main
        :alt: pre-commit.ci status

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

.. |status| image:: https://www.repostatus.org/badges/latest/active.svg
        :target: https://www.repostatus.org/#active
        :alt: Project Status: Active - The project has reached a stable, usable state and is being actively developed.

.. |versions| image:: https://img.shields.io/pypi/pyversions/xclim.svg
        :target: https://pypi.python.org/pypi/xclim
        :alt: Supported Python Versions

.. Ouranos Logos

.. |ouranos-light| image:: https://raw.githubusercontent.com/Ouranosinc/xclim/main/docs/logos/empty.png
        :target: https://www.ouranos.ca/
        :alt:
        :class: ouranos-logo only-light center

.. |ouranos-dark| image:: https://raw.githubusercontent.com/Ouranosinc/xclim/main/docs/logos/empty.png
        :target: https://www.ouranos.ca/
        :alt:
        :class: ouranos-logo only-dark center

.. Energy Metrics by https://github.com/green-coding-solutions/eco-ci-energy-estimation

.. |energy-total| image:: https://api.green-coding.io/v1/ci/badge/get?repo=Ouranosinc/xclim&branch=main&workflow=5828641&mode=totals
        :target: https://metrics.green-coding.io/ci.html?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :alt: Energy Consumption (Total)

.. |energy-last| image:: https://api.green-coding.io/v1/ci/badge/get?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :target: https://metrics.green-coding.io/ci.html?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :alt: Energy Consumption (Last run)

.. |energy-average| image:: https://api.green-coding.io/v1/ci/badge/get?repo=Ouranosinc/xclim&branch=main&workflow=5828641&mode=avg&duration_days=90
        :target: https://metrics.green-coding.io/ci.html?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :alt: Energy Consumption (Last 90 days moving average)

.. |carbon-total| image:: https://api.green-coding.io/v1/ci/badge/get?repo=Ouranosinc/xclim&branch=main&workflow=5828641&mode=totals&metric=carbon
        :target: https://metrics.green-coding.io/ci.html?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :alt: Carbon Emissions (Total)

.. |carbon-last| image:: https://api.green-coding.io/v1/ci/badge/get?repo=Ouranosinc/xclim&branch=main&workflow=5828641&metric=carbon
        :target: https://metrics.green-coding.io/ci.html?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :alt: Carbon Emissions (Last run)

.. |carbon-average| image:: https://api.green-coding.io/v1/ci/badge/get?repo=Ouranosinc/xclim&branch=main&workflow=5828641&mode=avg&duration_days=90&metric=carbon
        :target: https://metrics.green-coding.io/ci.html?repo=Ouranosinc/xclim&branch=main&workflow=5828641
        :alt: Carbon Emissions (Last 90 days moving average)

        

Citation (CITATION.cff)

cff-version: "1.2.0"
authors:
- family-names: Bourgault
  given-names: Pascal
  orcid: "https://orcid.org/0000-0003-1192-0403"
- family-names: Huard
  given-names: David
  orcid: "https://orcid.org/0000-0003-0311-5498"
- family-names: Smith
  given-names: Trevor James
  orcid: "https://orcid.org/0000-0001-5393-8359"
- family-names: Logan
  given-names: Travis
  orcid: "https://orcid.org/0000-0002-2212-9580"
- family-names: Aoun
  given-names: Abel
  orcid: "https://orcid.org/0000-0003-2289-2890"
- family-names: Lavoie
  given-names: Juliette
  orcid: "https://orcid.org/0000-0002-4708-5182"
- family-names: Dupuis
  given-names: Éric
  orcid: "https://orcid.org/0000-0001-7976-4596"
- family-names: Rondeau-Genesse
  given-names: Gabriel
  orcid: "https://orcid.org/0000-0003-3389-9406"
- family-names: Alegre
  given-names: Raquel
  orcid: "https://orcid.org/0000-0002-6081-0721"
- family-names: Barnes
  given-names: Clair
  orcid: "https://orcid.org/0000-0002-7806-7913"
- family-names: Laperrière
  given-names: Alexis Beaupré
- family-names: Biner
  given-names: Sébastien
  orcid: "https://orcid.org/0000-0001-7515-490X"
- family-names: Caron
  given-names: David
- family-names: Ehbrecht
  given-names: Carsten
- family-names: Fyke
  given-names: Jeremy
  orcid: "https://orcid.org/0000-0002-4522-3019"
- family-names: Keel
  given-names: Tom
  orcid: "https://orcid.org/0000-0001-9193-5271"
- family-names: Labonté
  given-names: Marie-Pier
  orcid: "https://orcid.org/0000-0003-0738-3940"
- family-names: "Larose"
  given-names: "Ève"
  orcid: "https://orcid.org/0009-0005-0832-4047"
- family-names: Lierhammer
  given-names: Ludwig
  orcid: "https://orcid.org/0000-0002-7207-0003"
- family-names: Low
  given-names: Jwen-Fai
  orcid: "https://orcid.org/0000-0001-6618-7443"
- family-names: Quinn
  given-names: Jamie
- family-names: Roy
  given-names: Philippe
  orcid: "https://orcid.org/0000-0003-1239-7589"
- family-names: Squire
  given-names: Dougie
  orcid: "https://orcid.org/0000-0003-3271-6874"
- family-names: Stephens
  given-names: Ag
  orcid: "https://orcid.org/0000-0002-1038-7988"
- family-names: Tanguy
  given-names: Maliko
  orcid: "https://orcid.org/0000-0002-1516-6834"
- family-names: Whelan
  given-names: Christopher
contact:
- family-names: Logan
  given-names: Travis
  orcid: "https://orcid.org/0000-0002-2212-9580"
doi: 10.5281/zenodo.7916446
message: If you use this software, please cite our article in the
  Journal of Open Source Software.
preferred-citation:
  authors:
  - family-names: Bourgault
    given-names: Pascal
    orcid: "https://orcid.org/0000-0003-1192-0403"
  - family-names: Huard
    given-names: David
    orcid: "https://orcid.org/0000-0003-0311-5498"
  - family-names: Smith
    given-names: Trevor James
    orcid: "https://orcid.org/0000-0001-5393-8359"
  - family-names: Logan
    given-names: Travis
    orcid: "https://orcid.org/0000-0002-2212-9580"
  - family-names: Aoun
    given-names: Abel
    orcid: "https://orcid.org/0000-0003-2289-2890"
  - family-names: Lavoie
    given-names: Juliette
    orcid: "https://orcid.org/0000-0002-4708-5182"
  - family-names: Dupuis
    given-names: Éric
    orcid: "https://orcid.org/0000-0001-7976-4596"
  - family-names: Rondeau-Genesse
    given-names: Gabriel
    orcid: "https://orcid.org/0000-0003-3389-9406"
  - family-names: Alegre
    given-names: Raquel
    orcid: "https://orcid.org/0000-0002-6081-0721"
  - family-names: Barnes
    given-names: Clair
    orcid: "https://orcid.org/0000-0002-7806-7913"
  - family-names: Laperrière
    given-names: Alexis Beaupré
  - family-names: Biner
    given-names: Sébastien
    orcid: "https://orcid.org/0000-0001-7515-490X"
  - family-names: Caron
    given-names: David
  - family-names: Ehbrecht
    given-names: Carsten
  - family-names: Fyke
    given-names: Jeremy
    orcid: "https://orcid.org/0000-0002-4522-3019"
  - family-names: Keel
    given-names: Tom
    orcid: "https://orcid.org/0000-0001-9193-5271"
  - family-names: Labonté
    given-names: Marie-Pier
    orcid: "https://orcid.org/0000-0003-0738-3940"
  - family-names: Lierhammer
    given-names: Ludwig
    orcid: "https://orcid.org/0000-0002-7207-0003"
  - family-names: Low
    given-names: Jwen-Fai
    orcid: "https://orcid.org/0000-0001-6618-7443"
  - family-names: Quinn
    given-names: Jamie
  - family-names: Roy
    given-names: Philippe
    orcid: "https://orcid.org/0000-0003-1239-7589"
  - family-names: Squire
    given-names: Dougie
    orcid: "https://orcid.org/0000-0003-3271-6874"
  - family-names: Stephens
    given-names: Ag
    orcid: "https://orcid.org/0000-0002-1038-7988"
  - family-names: Tanguy
    given-names: Maliko
    orcid: "https://orcid.org/0000-0002-1516-6834"
  - family-names: Whelan
    given-names: Christopher
  date-published: 2023-05-18
  doi: 10.21105/joss.05415
  issn: 2475-9066
  issue: 85
  journal: Journal of Open Source Software
  publisher:
    name: Open Journals
  start: 5415
  title: "xclim: xarray-based climate data analytics"
  type: article
  url: "https://joss.theoj.org/papers/10.21105/joss.05415"
  volume: 8
title: "xclim: xarray-based climate data analytics"

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 8,633
Total Committers: 60
Avg Commits per committer: 143.883
Development Distribution Score (DDS): 0.612

Commits in past year: 611
Committers in past year: 12
Avg Commits per committer in past year: 50.917
Development Distribution Score (DDS) in past year: 0.596

Name Email Commits
Trevor James Smith 1****e 3349
Pascal Bourgault b****l@o****a 1487
Éric Dupuis e****1@u****a 915
David Huard h****d@o****a 676
pre-commit-ci[bot] 6****] 285
bumpversion[bot] b****]@o****a 244
dependabot[bot] 4****] 214
juliettelavoie j****e@h****a 210
Ludwig.Lierhammer l****r@h****e 163
abel a****n@c****r 149
Travis Logan l****s@o****a 146
Adrien Lamarche a****e@p****m 99
e-larose e****r@g****m 91
saschahofmann s****a@g****m 69
marielabonte m****3@g****m 65
seblehner s****r@g****t 63
Raquel Alegre r****e@u****k 58
Thomasjkeel t****l@g****m 51
RondeauG r****l@o****a 40
Sébastien Biner s****r@g****m 30
dougiesquire d****e@g****m 25
SarahG-579462 g****h@o****a 22
abel a****n@c****r 21
Hem-W h****g@o****m 17
Baptiste Hamon b****n@p****z 13
Sarah G 9****2 11
abeaupre b****s@o****a 8
Raquel Alegre r****l 8
Jeremy Fyke j****e@c****a 8
Faisal Mahmood f****7@g****m 7
and 30 more...

Committer domains:


Issue and Pull Request metadata

Last synced: about 20 hours ago

Total issues: 813
Total pull requests: 1,865
Average time to close issues: 3 months
Average time to close pull requests: 10 days
Total issue authors: 115
Total pull request authors: 49
Average comments per issue: 2.6
Average comments per pull request: 2.38
Merged pull request: 1,630
Bot issues: 20
Bot pull requests: 477

Past year issues: 28
Past year pull requests: 79
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 22 days
Past year issue authors: 14
Past year pull request authors: 13
Past year average comments per issue: 2.21
Past year average comments per pull request: 1.99
Past year merged pull request: 59
Past year bot issues: 3
Past year bot pull requests: 24

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ouranosinc/xclim

Top Issue Authors

  • Zeitsperre (170)
  • huard (154)
  • aulemahal (123)
  • tlogan2000 (54)
  • bzah (21)
  • coxipi (19)
  • github-actions[bot] (19)
  • saschahofmann (17)
  • SarahG-579462 (17)
  • juliettelavoie (14)
  • RondeauG (12)
  • CGL5230 (10)
  • raquelalegre (9)
  • bweeding (7)
  • sbiner (6)

Top Pull Request Authors

  • Zeitsperre (542)
  • dependabot[bot] (405)
  • aulemahal (351)
  • huard (151)
  • coxipi (91)
  • pre-commit-ci[bot] (72)
  • tlogan2000 (50)
  • juliettelavoie (29)
  • bzah (27)
  • saschahofmann (21)
  • RondeauG (14)
  • davidcaron (9)
  • raquelalegre (9)
  • sbiner (8)
  • Hem-W (7)

Top Issue Labels

  • enhancement (277)
  • bug (192)
  • standards / conventions (130)
  • priority (71)
  • support (49)
  • information (33)
  • help wanted (29)
  • DACCS (28)
  • docs (24)
  • CI (23)
  • invalid (23)
  • sdba (21)
  • indicators (12)
  • API (10)
  • wontfix (10)
  • Raven (6)
  • xclim-v1 (5)
  • dependencies (4)
  • CCCS (3)
  • low hanging fruit (2)
  • InfoCrue (2)
  • CCDP (1)
  • aspirational (1)
  • github_actions (1)

Top Pull Request Labels

  • approved (976)
  • CI (490)
  • dependencies (423)
  • docs (265)
  • github_actions (233)
  • indicators (221)
  • standards / conventions (183)
  • enhancement (172)
  • python (172)
  • sdba (157)
  • priority (103)
  • bug (102)
  • information (57)
  • API (35)
  • invalid (13)
  • help wanted (12)
  • support (8)
  • xclim-v1 (8)
  • wontfix (2)
  • low hanging fruit (2)
  • CCDP (1)
  • DACCS (1)

Package metadata

nixpkgs-unstable: python313Packages.xclim

Operational Python library supporting climate services, based on xarray

pypi.org: xclim

Climate indices computation package based on Xarray.

  • Homepage: https://xclim.readthedocs.io/
  • Documentation: https://xclim.readthedocs.io/
  • Licenses: Apache-2.0
  • Latest release: 0.62.0 (published 7 days ago)
  • Last Synced: 2026-08-24T05:44:43.611Z (about 20 hours ago)
  • Versions: 89
  • Dependent Packages: 11
  • Dependent Repositories: 28
  • Downloads: 54,568 Last month
  • Docker Downloads: 88
  • Rankings:
    • Dependent packages count: 1.047%
    • Downloads: 1.937%
    • Dependent repos count: 2.742%
    • Average: 3.299%
    • Stargazers count: 3.837%
    • Docker downloads count: 4.137%
    • Forks count: 6.092%
  • Maintainers (3)
proxy.golang.org: github.com/ouranosinc/xclim

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ouranosinc/xclim#section-documentation
  • Licenses: apache-2.0
  • Latest release: v0.62.0 (published 5 days ago)
  • Last Synced: 2026-08-23T18:33:58.094Z (1 day ago)
  • Versions: 90
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 1.622%
    • Average: 4.057%
    • Dependent packages count: 6.492%
proxy.golang.org: github.com/Ouranosinc/xclim

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/Ouranosinc/xclim#section-documentation
  • Licenses: apache-2.0
  • Latest release: v0.62.0 (published 5 days ago)
  • Last Synced: 2026-08-23T18:34:18.756Z (1 day ago)
  • Versions: 90
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.999%
    • Average: 8.173%
    • Dependent repos count: 9.346%
conda-forge.org: xclim

xclim is an operational Python library for climate services, providing numerous climate-related indicator tools with an extensible framework for constructing custom climate indicators, statistical downscaling and bias adjustment of climate model simulations, as well as climate model ensemble analysis tools.

  • Homepage: https://github.com/Ouranosinc/xclim
  • Licenses: Apache-2.0
  • Latest release: 0.39.0 (published almost 4 years ago)
  • Last Synced: 2026-04-01T13:32:03.143Z (5 months ago)
  • Versions: 46
  • Dependent Packages: 4
  • Dependent Repositories: 17
  • Downloads: 417,960 Total
  • Rankings:
    • Dependent repos count: 8.643%
    • Dependent packages count: 12.501%
    • Average: 17.894%
    • Stargazers count: 24.308%
    • Forks count: 26.124%
nixpkgs-unstable: python314Packages.xclim

Operational Python library supporting climate services, based on xarray


Dependencies

.github/workflows/add-to-project.yml actions
  • actions/add-to-project v0.5.0 composite
.github/workflows/bump-version.yml actions
  • actions/checkout v3.6.0 composite
  • actions/setup-python v4.7.0 composite
  • ad-m/github-push-action v0.6.0 composite
.github/workflows/cache-cleaner.yml actions
  • actions/checkout v3.6.0 composite
.github/workflows/dependency-review.yml actions
  • actions/checkout v3.6.0 composite
  • actions/dependency-review-action v3.0.8 composite
.github/workflows/label.yml actions
  • actions/labeler v4.3.0 composite
.github/workflows/main.yml actions
  • actions/checkout v3.6.0 composite
  • actions/setup-python v4.7.0 composite
  • mamba-org/setup-micromamba v1.4.3 composite
  • styfle/cancel-workflow-action 0.11.0 composite
.github/workflows/publish-mastodon.yml actions
  • actions/checkout v3.6.0 composite
  • cbrgm/mastodon-github-action v1.0.3 composite
.github/workflows/publish-pypi.yml actions
  • actions/checkout v3.6.0 composite
  • actions/setup-python v4.7.0 composite
  • pypa/gh-action-pypi-publish v1.8.10 composite
.github/workflows/tag-testpypi.yml actions
  • actions/checkout v3.6.0 composite
  • actions/setup-python v4.7.0 composite
  • pypa/gh-action-pypi-publish v1.8.10 composite
.github/workflows/upstream.yml actions
  • actions/checkout v3.6.0 composite
  • mamba-org/setup-micromamba v1.4.3 composite
  • xarray-contrib/issue-from-pytest-log v1.2.6 composite
pyproject.toml pypi
  • Click >=8.1
  • boltons >=20.1
  • bottleneck >=1.3.1
  • cf-xarray >=0.6.1
  • cftime >=1.4.1
  • dask [array]>=2.6
  • jsonpickle *
  • lmoments3 >=1.0.5
  • numba *
  • numpy >=1.16
  • pandas >=0.23,<2.0; python_version == '3.8'
  • pandas >=0.23; python_version >= '3.9'
  • pint >=0.10
  • pyyaml *
  • scikit-learn >=0.21.3
  • scipy >=1.2
  • statsmodels *
  • xarray >=2022.06.0
.github/workflows/auto-accept-ci-changes.yml actions
  • actions/checkout 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 composite
  • actions/create-github-app-token bcd2ba49218906704ab6c1aa796996da409d3eb1 composite
  • dependabot/fetch-metadata 25dd0e34f4fe68f24cc83900b1fe3fe149efef98 composite
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
.github/workflows/scorecard.yml actions
  • actions/checkout 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 composite
  • actions/upload-artifact 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a composite
  • github/codeql-action/upload-sarif 8aad20d150bbac5944a9f9d289da16a4b0d87c1e composite
  • ossf/scorecard-action 4eaacf0543bb3f2c246792bd56e8cdeffafb205a composite
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
.github/workflows/codeql.yml actions
  • actions/checkout 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 composite
  • github/codeql-action/analyze 8aad20d150bbac5944a9f9d289da16a4b0d87c1e composite
  • github/codeql-action/autobuild 8aad20d150bbac5944a9f9d289da16a4b0d87c1e composite
  • github/codeql-action/init 8aad20d150bbac5944a9f9d289da16a4b0d87c1e composite
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
.github/workflows/first-pull-request.yml actions
  • actions/github-script 3a2844b7e9c422d3c10d287c895573f7108da1b3 composite
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
.github/workflows/label-on-approval.yml actions
  • actions/github-script 3a2844b7e9c422d3c10d287c895573f7108da1b3 composite
  • peter-evans/create-or-update-comment e8674b075228eee787fea43ef493e45ece1004c9 composite
  • peter-evans/find-comment b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad composite
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
CI/requirements_ci.txt pypi
  • annotated-types ==0.7.0
  • anyio ==4.8.0
  • astroid ==4.0.3
  • bracex ==2.4
  • bump-my-version ==1.4.1
  • cachetools ==7.1.4
  • certifi ==2024.7.4
  • charset-normalizer ==3.3.2
  • click ==8.1.8
  • colorama ==0.4.6
  • deptry ==0.25.1
  • dill ==0.3.8
  • distlib ==0.3.8
  • docutils ==0.21.2
  • exceptiongroup ==1.3.1
  • filelock ==3.29.4
  • flit ==3.12.0
  • flit-core ==3.12.0
  • h11 ==0.16.0
  • httpcore2 ==2.5.0
  • httpx2 ==2.5.0
  • idna ==3.18
  • isort ==5.13.2
  • markdown-it-py ==3.0.0
  • mccabe ==0.7.0
  • mdurl ==0.1.2
  • packaging ==26.2
  • platformdirs ==4.10.0
  • pluggy ==1.6.0
  • prompt-toolkit ==3.0.36
  • pydantic ==2.12.5
  • pydantic-core ==2.41.5
  • pydantic-settings ==2.3.4
  • pygments ==2.20.0
  • pylint ==4.0.6
  • pyproject-api ==1.10.0
  • python-discovery ==1.4.2
  • python-dotenv ==1.2.2
  • questionary ==2.0.1
  • requests ==2.33.0
  • requirements-parser ==0.11.0
  • rich ==13.7.1
  • rich-click ==1.8.3
  • sniffio ==1.3.1
  • tomli ==2.4.1
  • tomli-w ==1.2.0
  • tomlkit ==0.13.0
  • tox ==4.56.0
  • tox-gh ==1.7.1
  • truststore ==0.10.4
  • types-setuptools ==75.6.0.20241126
  • typing-extensions ==4.15.0
  • typing-inspection ==0.4.2
  • urllib3 ==2.7.0
  • virtualenv ==21.5.1
  • wcmatch ==8.5.2
  • wcwidth ==0.2.13
CI/requirements_ci.in pypi
  • bump-my-version ==1.4.1
  • deptry ==0.25.1
  • exceptiongroup ==1.3.1
  • flit ==3.12.0
  • pip ==26.1.2
  • pydantic ==2.12.5
  • pylint ==4.0.6
  • tomli ==2.4.1
  • tox ==4.56.0
  • tox-gh ==1.7.1
.github/workflows/testdata-version.yml actions
  • actions/checkout 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 composite
  • actions/github-script 3a2844b7e9c422d3c10d287c895573f7108da1b3 composite
  • peter-evans/create-or-update-comment e8674b075228eee787fea43ef493e45ece1004c9 composite
  • peter-evans/find-comment b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad composite
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
environment.yml conda
  • boltons >=20.1
  • bottleneck >=1.3.1
  • bump-my-version >=1.2.3
  • cairosvg >=2.6.0
  • cf_xarray >=0.9.3
  • cftime >=1.4.1
  • click >=8.1
  • codespell >=2.4.1
  • coverage >=7.5.0
  • dask >=2024.8.1
  • deptry >=0.23.0
  • distributed >=2.0
  • filelock >=3.14.0
  • flake8 >=7.3.0
  • flake8-rst-docstrings >=0.4.0
  • flit >=3.11.0,<4.0
  • flox >=0.9
  • furo >=2023.9.10
  • h5netcdf >=1.5.0
  • h5py >=3.12.1
  • importlib-metadata <8.7.0
  • ipykernel
  • ipython >=8.10.0
  • lmoments3 >=1.0.7
  • matplotlib >=3.7.0
  • mypy >=1.14.1
  • nbconvert >=7.16.4
  • nbsphinx >=0.9.5
  • nbval >=0.11.0
  • nc-time-axis >=1.4.1
  • netcdf4 <1.7.3
  • notebook
  • numba >=0.57.0
  • numbagg >= 0.8
  • numpy >=1.25.0
  • numpydoc >=1.9.0
  • packaging >=24.0
  • pandas >=2.2.0
  • pandas-stubs >=2.2
  • pint >=0.24.4
  • pip >=25.0
  • pooch >=1.8.0
  • pre-commit >=3.7
  • pyarrow >=15.0.0
  • pybtex >=0.24.0
  • pylint >=3.3.1
  • pytest >=9.0.0
  • pytest-cov >=5.0.0
  • pytest-socket >=0.6.0
  • pytest-timeout >=2.4.0
  • pytest-xdist >=3.2
  • python >=3.11,<3.15
  • pyyaml >=6.0.1
  • ruff >=0.13.3
  • scikit-learn >=1.2.0
  • scipy >=1.11.0
  • sphinx >=8.2.0
  • sphinx-autobuild >=2024.4.16
  • sphinx-autodoc-typehints >=3.5.0,!=3.10
  • sphinx-codeautolink >=0.16.2
  • sphinx-copybutton
  • sphinx-mdinclude
  • sphinxcontrib-bibtex
  • sphinxcontrib-svg2pdfconverter
  • tokenize-rt >=5.2.0
  • tox >=4.31.0
  • tox-gh >=1.5.0
  • vulture
  • xarray >=2023.11.0,!=2024.10.0
  • xsdba >=0.4.0
  • yamale >=5.0.0
  • yamllint >=1.35.1
.github/workflows/workflow-warning.yml actions
  • step-security/harden-runner 9af89fc71515a100421586dfdb3dc9c984fbf411 composite
CI/requirements_upstream.txt pypi

Score: 23.2786198971998