Skip to main content

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

Project description

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.

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

Uploaded Source

Built Distribution

ibicus-1.0.2-py3-none-any.whl (122.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ibicus-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0727c798012da53e19a99c7318fe99d01cb5b01515100ee76237a1ec55f95df4
MD5 2498674be0a089ea978dc1a54e08769b
BLAKE2b-256 f0672fdf4093eb6acab6f34fe996a5eb89b9c7264ba4b1f82628d41576ae25a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ibicus-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb637630972c49bc3421c1752472a03c0d25016e480b3b7c920192bda46d4c22
MD5 f2f752831ae6879801a7b59b6d153261
BLAKE2b-256 ab2fed9b16c5da355c79bd0e4957028489ce644e32de93a44d19e79edfdd82bf

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