ibicus provides a flexible and user-friendly toolkit for the bias correction of climate models and associated evaluation.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ibicus-1.0.4.tar.gz
.
File metadata
- Download URL: ibicus-1.0.4.tar.gz
- Upload date:
- Size: 94.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b208fd10ab78e48bdf5bd0fd42346d51e14f8c266c5706376d8ced6664eaf739 |
|
MD5 | 93ff9a84408a7e7258a98160fd69518e |
|
BLAKE2b-256 | b4ef404fcb6829c9071365a4be395c8aa6d6471cfd54acd3a98286b4288dafd5 |
File details
Details for the file ibicus-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: ibicus-1.0.4-py3-none-any.whl
- Upload date:
- Size: 122.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee71f884b24aa929ff6f8e422501dfc38732a69f9a5eba20a3e74d969e5f2dc6 |
|
MD5 | b4212c9da0c16237caee8964b4d1fc64 |
|
BLAKE2b-256 | bd49f561e880c9952e5b8474a3b24131ebad3d5d8d4b6151111e6db5bccff327 |