Recent Releases of python-cmethods
python-cmethods - v2.3.1
What's Changed
Fixed Bugs 🪲
- Update
cmethods.adjust
's type annotations by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/155
Other Changes
- Update project settings by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/124
- Add CITATION file by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/125
- Move CITATION file to top-level by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/126
- Update and apply Pre-Commit hooks by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/134
- Do not rely on trusted publishing for PyPI upload by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/145
- Add
release.yaml
by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/151 - Update copyright headers by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/160
- Fix the documentation build by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/163
- Resolve "Parts of the pyproject.toml are deprecated" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/165
👒 Dependencies
- Bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/110
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/113
- Bump actions/setup-python from 5.1.0 to 5.1.1 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/114
- Bump ossf/scorecard-action from 2.3.3 to 2.4.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/115
- Bump github/codeql-action from 2.2.4 to 3.25.15 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/116
- Bump github/codeql-action from 3.25.15 to 3.26.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/117
- Bump github/codeql-action from 3.26.0 to 3.26.2 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/118
- Bump github/codeql-action from 3.26.2 to 3.26.5 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/119
- Bump github/codeql-action from 3.26.5 to 3.26.6 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/120
- Bump github/codeql-action from 3.26.6 to 3.26.7 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/122
- Bump actions/setup-python from 5.1.1 to 5.2.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/121
- Bump github/codeql-action from 3.26.7 to 3.26.8 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/123
- Bump github/codeql-action from 3.26.8 to 3.26.11 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/129
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/130
- Bump actions/checkout from 4.1.7 to 4.2.1 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/132
- Bump github/codeql-action from 3.26.11 to 3.26.13 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/131
- Bump actions/checkout from 4.2.1 to 4.2.2 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/138
- Bump actions/setup-python from 5.2.0 to 5.3.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/137
- Bump github/codeql-action from 3.26.13 to 3.27.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/136
- Bump github/codeql-action from 3.27.0 to 3.27.1 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/140
- Bump github/codeql-action from 3.27.1 to 3.27.4 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/141
- Bump github/codeql-action from 3.27.4 to 3.27.6 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/146
- Bump github/codeql-action from 3.27.6 to 3.27.9 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/148
- Bump github/codeql-action from 3.27.9 to 3.28.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/149
- Bump codecov/codecov-action from 4.6.0 to 5.1.1 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/147
- Bump codecov/codecov-action from 5.1.1 to 5.1.2 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/150
- Bump github/codeql-action from 3.28.0 to 3.28.1 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/152
- Bump actions/setup-python from 5.3.0 to 5.4.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/156
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/159
- Bump github/codeql-action from 3.28.1 to 3.28.8 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/157
- Bump codecov/codecov-action from 5.1.2 to 5.3.1 by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/158
- Bump github/codeql-action from 3.28.8 to 3.28.9 in the all group by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/161
- Bump the all group with 3 updates by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/162
- Bump the all group with 2 updates by @dependabot in https://github.com/btschwertfeger/python-cmethods/pull/166
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.3.0...v2.3.1
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger 25 days ago

python-cmethods - v2.3.0
What's Changed
- Resolve "Drop Python 3.8 support" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/112
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.2.5...v2.3.0
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger 10 months ago

python-cmethods - v2.2.5
What's Changed
- Fix the --version flag by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/106
- Adjust the DQM formula by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/107
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.2.4...v2.2.5
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger 11 months ago

python-cmethods - v2.2.4
What's Changed
- Resolve "QDM not working with longer simp length" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/102
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.2.3...v2.2.4
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger 11 months ago

python-cmethods - v2.2.3
What's Changed
- Extend the documentation by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/96
- Resolve "The behavior for data sets with different temporal resolution are not uniform" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/100
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.2.2...v2.2.3
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger 12 months ago

python-cmethods - v2.2.2
This release mainly features uploading the source distribution to PyPI as preparation of adding the distribution channel conda-forge.
What's Changed
- Fix CI - Failing due to missing hdf5 and netcdf headers by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/92
- Update the publishing process by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/94
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.2.1...v2.2.2
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger 12 months ago

python-cmethods - v2.2.1
What's Changed
- Fix missing function documentation by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/85
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.2.0...v2.2.1
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 1 year ago

python-cmethods - v2.2.0
What's Changed
- Update the documentation + project maintenance by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/70
- Resolve "Add a command-line interface" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/83
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.1.0...v2.2.0
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 1 year ago

python-cmethods - v2.1.0
What's Changed
- Fix typos and update pre-commit hooks by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/64
- Resolve "Adjustments using
adjust
require the input data of the control period to have the same size for the time dimension" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/67
Acknowledgment to @Pan-Yuxian for bringing attention to the matter discussed in https://github.com/btschwertfeger/python-cmethods/discussions/65. Much appreciated!
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.0.2...v2.1.0
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 1 year ago

python-cmethods - v2.0.2
What's Changed
- Bump GitHub action versions by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/59
- Update documentation -- QM and QDM formulas by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/62
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.0.1...v2.0.2
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 1 year ago

python-cmethods - v2.0.1
What's Changed
- adjust CI workflows by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/58
- Resolve "The latest documentation still describes the legacy max scaling factor" by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/61
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v2.0.0...v2.0.1
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 1 year ago

python-cmethods - v2.0.0
General
- Special thanks to @riley-brady for supporting me improving the package.
- The python-cmethods package has changed in many ways. Please have a look at the updated README.md and documentation. Please pin version v1.0.3 as long as your code is not v2.0.0 ready.
Breaking changes
- Rework python-cmethods: replace the
CMethods
class by the newadjust
function #48 (@btschwertfeger)
Implemented enhancements
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 1 year ago

python-cmethods - v1.0.3
What's Changed
- Fix error when time series includes nan values by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/40
- Merge
.pylintrc
and.coveragerc
intopyproject.toml
by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/44 - Add type checking for parameters of bias correction techniques by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/43
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v1.0.2...v1.0.3
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 1 year ago

python-cmethods - v1.0.2
What's Changed
- Clarified difference between stochastic and non-stochastic climate variables in doc and readme by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/36
- Fix typos by @btschwertfeger in https://github.com/btschwertfeger/python-cmethods/pull/38
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v1.0.1...v1.0.2
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger almost 2 years ago

python-cmethods - Release v1.0.1
⚠️ This release contains breaking changes. Please read the release notes carefully.
What is included in python-cmethods v1.0.1?
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) - Detrended Quantile Mapping
cmethods.CMethods.detrended_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
- Fixed PyPI repository URL in https://github.com/btschwertfeger/python-cmethods/pull/16
- Extended the description of quantile mapping with text and images in https://github.com/btschwertfeger/python-cmethods/pull/20
- Create a Changelog by in https://github.com/btschwertfeger/python-cmethods/pull/21
- Fixed bug where division lead to nan or inf values by in https://github.com/btschwertfeger/python-cmethods/pull/33
- Split Quantile Mapping into Quantile Mapping and Detrended Quantile Mapping in https://github.com/btschwertfeger/python-cmethods/pull/34
- Prepare release by in https://github.com/btschwertfeger/python-cmethods/pull/35
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v1.0.0...v1.0.1
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 2 years ago

python-cmethods - Release v1.0.0 🎉
⚠️ 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 theadjust_3d
function still returns the data typexarray.core.dataarray.DataArray
. - Moved the content of
CMethods.py
to__init__.py
and adjusted the imports in https://github.com/btschwertfeger/python-cmethods/pull/14 - Create the documentation in https://github.com/btschwertfeger/python-cmethods/pull/13
- Move from
setup.py
topyproject.toml
in https://github.com/btschwertfeger/python-cmethods/pull/11 - Improved workflows - adding release workflow in https://github.com/btschwertfeger/python-cmethods/pull/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 https://github.com/btschwertfeger/python-cmethods/pull/15
Full Changelog: https://github.com/btschwertfeger/python-cmethods/compare/v0.6.3...v1.0.0
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 2 years ago

python-cmethods - Release v0.6.3
Removed the forced grouping to time.month
on adjust_3d
when no group is specified (i.e., group=None
).
This enables the correction of 3-dimensional data sets without a grouping.
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 2 years ago

python-cmethods - Release v0.6.2
Removed the group
parameter from quantile_mapping
and quantile_delta_mapping
since this grouping leads to unrealistic transitions between the selected windows. This, for example leads to high deviations in the mean of monthly transitions if: group="time.mean"
.
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger about 2 years ago

python-cmethods - Release v0.6.1
- Fixed zero division error in QDM that occurred when testing with fake precipitation data
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - Release v0.6
- fixed error when custom exception was raised
- adjusted pyint hints
- extended testing
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - Release v0.5.4.2
- limitation to additive for variance scaling
- adjusted required dependency versions
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - Release v0.5.4.1
- Fixed adjust_3d "cannot pickle '_thread.lock' object"-Error for newer xarray versions
- changed license on PyPI
- adjusted input filenames in the examples and readme
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - Release v0.5.4
- added max_scaling_factor for linear_scaling () and delta_method ()
--> To avoid unrealistic scaling factors for example when the model does not include heavy rainfalls in the deserts as it is the case in the observational data. So an unrealistic scaling factor like 1000+ can be avoided. The default value is set to 10 and can be changed by the max_scaling_factor
parameter.
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - Release v0.5.3
-fixed inconsistent return types
- fixed unknown variable error
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - v0.5.2
- Fixed detrended quantile mapping for ratio based variables.
- Fixed README.md examples.
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago

python-cmethods - v0.5.1
Initial publish - Bias adjustment/correction procedures for climate data
Available methods
- Linear Scaling
- Variance Scaling
- Delta (Change) Method
- Quantile Mapping
- Quantile Delta Mapping
Climate Change - Climate Data Processing and Analysis
- Python
Published by btschwertfeger over 2 years ago
