Skip to main content

ibicus provides a flexible and user-friendly toolkit for the bias correction of climate models and associated evaluation.

Project description


ibicus


|pypi_release| |pypi_status| |PyPI license| |pypi_downloads| |docs| |PyPI pyversions| |made-with-python| |made-with-sphinx-doc| |Maintenance yes| |Ask Me Anything !| |GitHub contributors|

Ibicus provides a flexible and user-friendly toolkit for the bias correction of climate models and associated evaluation.

Ibicus implements a variety of methods for bias correction (8 currently) published in peer-reviewed literature, including ISIMIP (Lange 2019) and CDFt (Michelangeli et al. 2009) and provides a unified interface for their usage. The package enables the user to modify and refine their behavior with settings and parameters, and provides an evaluation framework to assess marginal, temporal, spatial, and multivariate properties of the bias corrected climate model.

Given future climate model data to debias (cm_future), climate model data during a reference period (cm_hist) and observational or reanalysis data during the same reference period (obs) running a debiaser is as easy as:

from ibicus import CDFt debiaser = CDFt.from_variable("pr") debiased_cm_future = debiaser.apply(obs, cm_hist, cm_future)

Evaluating dry spell length can be as easy as:

from ibicus.evaluate.metrics import dry_days spell_length = dry_days.calculate_spell_length(minimum_length: 4, obs = obs, raw = cm_future, ISIMIP = debiased_cm_future)

For more information on the usage have a look at our docs <https://ibicus.readthedocs.io/en/latest/>_.

Install

Ibicus releases are available via PyPI. Just write::

pip install ibicus

For more information about installation and requirements see the install documentation <https://ibicus.readthedocs.io/en/latest/getting_started/installing.html>_ in the docs.

Contact

If you have feedback on the package, suggestions for additions, questions you'd like to ask or would like to contribute, please contact us under ibicus.py@gmail.com <mailto:ibicus.py@gmail.com>. Similarly should you encounter bugs or issues using the package please open an issue <https://github.com/ecmwf-projects/ibicus/issues>. or write to us using the email adress above.

.. |pypi_release| image:: https://img.shields.io/pypi/v/ibicus?color=green :target: https://pypi-hypernode.com/project/ibicus

.. |pypi_status| image:: https://img.shields.io/pypi/status/ibicus :target: https://pypi-hypernode.com/project/ibicus

.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/ibicus :target: https://pypi-hypernode.com/project/ibicus

.. |docs| image:: https://readthedocs.org/projects/ibicus/badge/?version=latest :target: https://ibicus.readthedocs.io/en/latest/?badge=latest

.. |Maintenance yes| image:: https://img.shields.io/badge/Maintained%3F-yes-green.svg :target: https://github.com/ecmwf-projects/ibicus/graphs/commit-activity

.. |Website ibicus| image:: https://img.shields.io/website-up-down-green-red/http/monip.org.svg :target: https://readthedocs.org/

.. |Ask Me Anything !| image:: https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg :target: mailto:ibicus.py@gmail.com

.. |made-with-python| image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg :target: https://www.python.org/

.. |made-with-sphinx-doc| image:: https://img.shields.io/badge/Made%20with-Sphinx-1f425f.svg :target: https://www.sphinx-doc.org/

.. |PyPI download month| image:: https://img.shields.io/pypi/dm/ibicus :target: https://pypi-hypernode.com/project/ibicus/

.. |PyPI version shields.io| image:: https://img.shields.io/pypi/v/ibicus :target: https://pypi-hypernode.com/project/ibicus/

.. |PyPI license| image:: https://img.shields.io/pypi/l/ibicus :target: https://pypi-hypernode.com/project/ibicus/

.. |PyPI pyversions| image:: https://img.shields.io/pypi/pyversions/ibicus :target: https://pypi-hypernode.com/project/ibicus/

.. |PyPI status| image:: https://img.shields.io/pypi/status/ibicus :target: https://pypi-hypernode.com/project/ibicus/

.. |GitHub contributors| image:: https://img.shields.io/github/contributors/ecmwf-projects/ibicus :target: https://github.com/ecmwf-projects/ibicus

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibicus-1.0.tar.gz (93.8 kB view details)

Uploaded Source

Built Distribution

ibicus-1.0-py3-none-any.whl (122.4 kB view details)

Uploaded Python 3

File details

Details for the file ibicus-1.0.tar.gz.

File metadata

  • Download URL: ibicus-1.0.tar.gz
  • Upload date:
  • Size: 93.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for ibicus-1.0.tar.gz
Algorithm Hash digest
SHA256 0b618348cf92b0ed011979f964b1ce9af1580c625762b041a0e1c519416bce5c
MD5 ede3a99bdd471f398e57d634090f50cb
BLAKE2b-256 2a0659b9df4db9fa763eaa4b54e1169b730d6305f9a712ec5b834df7a47b3717

See more details on using hashes here.

File details

Details for the file ibicus-1.0-py3-none-any.whl.

File metadata

  • Download URL: ibicus-1.0-py3-none-any.whl
  • Upload date:
  • Size: 122.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for ibicus-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fce9a612c8fb681fee7f6fce7bc0266f5ffaa273970c6758995bcb4e500e8f1
MD5 6eb87c7995f31e178f009eaaf451dc3d
BLAKE2b-256 dcbbd5fd9cbedebe46bb050d864af6703133963fa56c81479be44607ff5198e2

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