jonatanmoreno777 / ibicus

Flexible and user-friendly toolkit for the bias correction of climate models and associated evaluation.

Home Page:https://ibicus.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Install

Ibicus releases are available via PyPI. Just write:

pip install ibicus

For more information about installation and requirements see the install documentation 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. Similarly should you encounter bugs or issues using the package please open an issue. or write to us using the email adress above.

About

Flexible and user-friendly toolkit for the bias correction of climate models and associated evaluation.

https://ibicus.readthedocs.io/en/latest/

License:Apache License 2.0


Languages

Language:Jupyter Notebook 79.1%Language:Python 20.8%Language:Makefile 0.0%Language:Dockerfile 0.0%