Skip to content

Release v1.0.0 🎉

Compare
Choose a tag to compare
@btschwertfeger btschwertfeger released this 10 Apr 18:51
· 109 commits to master since this release
ec505e1

⚠️ This release contains breaking changes. Please read the release notes carefully.

What is included in python-cmethods v1.0.0?

The following bias correction methods are available:

Scaling-based techniques:

  • Linear Scaling cmethods.CMethods.linear_scaling (additive and multiplicative)
  • Variance Scaling cmethods.CMethods.variance_scaling (additive)
  • Delta (change) Method cmethods.CMethods.delta_method (additive and multiplicative)

Distribution-based techniques:

  • Quantile Mapping cmethods.CMethods.quantile_mapping (additive and multiplicative)
  • Quantile Delta Mapping cmethods.CMethods.quantile_delta_mapping (additive and multiplicative)

A new documentation at: https://python-cmethods.readthedocs.io/en/stable
PyPI: https://pypi.org/project/python-cmethods/


What's Changed

  • All bias correction techniques that are applied on 1-dimensional time-series now return the data type np.array. Only the adjust_3d function still returns the data type xarray.core.dataarray.DataArray.
  • Moved the content of CMethods.py to __init__.py and adjusted the imports in #14
  • Create the documentation in #13
  • Move from setup.py to pyproject.toml in #11
  • Improved workflows - adding release workflow in #12
  • fixed the zero-dimension bug in Variance Scaling
  • Extended the examples and added an executable script named biasadjust.py that accepts command-line arguments to bias-adjust time-series climate data based on the passed inputs in #15

Full Changelog: v0.6.3...v1.0.0