Contributors to this version: Pascal Bourgault (@aulemahal).
Bug fixes
Fixed decimal_year import, fixed functions rate2amount, amount2rate, time_bnds and stack_periods for xarray version 2024.09.0. Removed datetime_to_decimal_year as the mirrored xarray function was replaced by ds.time.dt.decimal_year. (PR/1920).
Contributors to this version: Pascal Bourgault (:user:aulemahal).
Bug fixes
^^^^^^^^^
Fixed decimal_year import, fixed functions rate2amount, amount2rate, time_bnds and stack_periods for xarray version 2024.09.0. Removed datetime_to_decimal_year as the mirrored xarray function was replaced by ds.time.dt.decimal_year. (:pull:1920).
v0.52.1 (2024-09-11)
Contributors to this version: Trevor James Smith (:user:Zeitsperre).
Bug fixes
^^^^^^^^^
Adjusted the required base version of pyarrow to be v10.0.1 to address an environment resolution error on conda-forge. (:pull:1918).
v0.52.0 (2024-08-08)
Contributors to this version: David Huard (:user:huard), Trevor James Smith (:user:Zeitsperre), Hui-Min Wang (:user:Hem-W), Éric Dupuis (:user:coxipi), Sarah Gammon (:user:SarahG-579462), Pascal Bourgault (:user:aulemahal), Juliette Lavoie (:user:juliettelavoie), Adrien Lamarche (:user:LamAdr).
Announcements
^^^^^^^^^^^^^
xclim now supports both numpy versions >=1.20 and >=2.0. (:issue:1785, :pull:1814, :pull:1870).
xclim now needs cf_xarray>=0.9.3 but continues to support older versions of pint (<0.24) for compatibility reasons. (:pull:1870).
New features and enhancements
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xclim.sdba.nbutils.quantile and its child functions are now faster. If the fastnanquantile library is installed, it is used as the backend for the computation of quantiles and yields even faster results. This dependency is now listed in the xclim[extras] recipe. (:issue:1255, :pull:1513).
New multivariate bias adjustment class MBCn, giving a faster and more accurate implementation of the MBCn algorithm. (:issue:1551, :pull:1580).
New multivariate bias adjustment classes OTC and dOTC. Requires the POT library which can be installed via the xclim[extras] recipe. (:pull:1787).
xclim is now compatible with pytest versions >=8.0.0. (:pull:1632).
Breaking changes
^^^^^^^^^^^^^^^^
As of cf_xarray>=0.9.3, dimensionless quantities now use the "1" units attribute as specified by the CF conventions, previously an empty string was returned. (:pull:1814).
The definitions of the frost_free_season_start and frost_free_season_end have been slightly changed to be coherent with the frost_free_season_length and xclim's notion of season in general. Indicator and indices signature have been adapted to the new conventions. (:pull:1845).
Season length indicators have been modified to return 0 for all cases where a proper season was not found, but the data is valid. Previously, a nan was given if neither a start nor an end were found, even if the data was valid, and a 0 was given if an end was found but without a valid start. (:pull:1845).
Bug fixes
^^^^^^^^^
Fixed the indexer bug in the xclim.indices.standardized_index_fit_params when multiple or non-array indexers are specified and fitted parameters are reloaded from netCDF. (:issue:1842, :pull:1843).
Addressed a bug found in wet_spell_* indicators that was contributing to erroneous results. A new generic spell length statistic function (xclim.indices.generic.spell_length_statistics) is now used in wet and dry spells indicators. (:issue:1834, :pull:1838).
Syntax for nan and inf was adapted to support numpy>=2.0. (:pull:1814, :issue:1785).
The type in jitter now works with modern version of dask (>=2024.8.0). (:pull:1864).
Internal changes
^^^^^^^^^^^^^^^^
Changed the French translation of "wet days" from "jours mouillés" to "jours pluvieux". (:issue:1825, :pull:1826).
In order to adapt to changes in pytest, the doctest fixtures have been split from the main testing suite and doctests are now run using $ python -c 'from xclim.testing.utils import run_doctests; run_doctests()'. (:pull:1632).
tox has been reconfigured to run doctests in a separate environment (tox -e doctests). (:pull:1632).
Fixed missing new version info in some hook environments. 24a9bdc
Introduce the new_version_env function and update existing functions (get_setup_hook_env and get_pre_commit_hook_env) to include new version environment variables. Added new tests for verifying the inclusion of OS, SCM, current, and new version information in hook environments.
New
Add current and previous version outputs to the GHA. 0650ca8
Add environment variable to README example. 88c9790
Add GitHub action with support for commit/tag push workflow trigger. 2cdb742
Fixed missing new version info in some hook environments. 24a9bdc
Introduce the new_version_env function and update existing functions (get_setup_hook_env and get_pre_commit_hook_env) to include new version environment variables. Added new tests for verifying the inclusion of OS, SCM, current, and new version information in hook environments.
New
Add current and previous version outputs to the GHA. 0650ca8
Add environment variable to README example. 88c9790
Add GitHub action with support for commit/tag push workflow trigger. 2cdb742
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Updates the requirements on xclim, bump-my-version, tox, tox-gh and setuptools to permit the latest version. Updates
xclim
to 0.52.2Release notes
Sourced from xclim's releases.
Changelog
Sourced from xclim's changelog.
... (truncated)
Commits
2bb20af
Bump version: 0.52.2-dev.0 → 0.52.236665e6
Bump version: 0.52.1 → 0.52.2-dev.0e9c7b93
update CHANGELOG.rst1456127
Fix for xarray 2024.09.0 (#1920)9fc081d
update CHANGELOG.rst153dbce
Bump version: 0.52.1-dev.0 → 0.52.14e326ab
Bump version: 0.52.0 → 0.52.1-dev.0b389a46
fix pyarrow pin, update CHANGELOG.rst9f4d9bd
Prepare v0.52.0 (#1876)fe6f709
update CHANGELOG.rstUpdates
bump-my-version
from 0.26.0 to 0.26.1Release notes
Sourced from bump-my-version's releases.
Changelog
Sourced from bump-my-version's changelog.
Commits
683904a
Version updated from 0.26.0 to 0.26.1dd9a403
Merge pull request #235 from callowayproject/234-fix-new_version-and-new_tag-...24a9bdc
Fixed missing new version info in some hook environments6f5d56b
Updated pre-commit versions0796a53
Merge pull request #233 from callowayproject/pre-commit-ci-update-configd21d6df
[pre-commit.ci] pre-commit autoupdatee440895
Merge pull request #232 from rgryta/action3e3ff9a1
Update example to better showcase the GHA capabilities0650ca8
Add current and previous version outputs to the GHA88c9790
Add environment variable to README exampleUpdates
tox
from 4.18.0 to 4.19.0Release notes
Sourced from tox's releases.
Changelog
Sourced from tox's changelog.
Commits
2f83624
release 4.19.0ed6b0dc
Add pypy-major.minor environment name support (#3346)8127c7f
[pre-commit.ci] pre-commit autoupdate (#3345)8cadfa2
[pre-commit.ci] pre-commit autoupdate (#3341)df34192
release 4.18.19c6f835
Add 3.13 to CI and bump deps (#3339)9138e15
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#3338)3f004fc
[pre-commit.ci] pre-commit autoupdate (#3329)fab358e
Properly document thetox_env_teardown
hook (#3333)8d0a47c
Fix issue link in changelog (#3332)Updates
tox-gh
from 1.3.2 to 1.4.1Release notes
Sourced from tox-gh's releases.
Commits
de15416
Update README.mde6f1895
Improve the CI and allow to set major.minor upfront (#134)0bad991
Bump astral-sh/setup-uv from 2 to 3 (#133)640ccde
[pre-commit.ci] pre-commit autoupdate (#131)10f6e58
Fix the CI (#132)17a914f
[pre-commit.ci] pre-commit autoupdate (#129)fa10e6f
Declare 3.13 support (#128)4735375
[pre-commit.ci] pre-commit autoupdate (#125)09a8699
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#127)6f46324
[pre-commit.ci] pre-commit autoupdate (#123)Updates
setuptools
from 74.1.2 to 75.1.0Changelog
Sourced from setuptools's changelog.
Commits
3106af0
Bump version: 75.0.0 → 75.1.037c3d27
Removed reference to upload_docs module in entry points.9fb53fd
Merge pull request #4617 from abravalheri/issue-4612cd3ba7d
Merge pull request #4644 from DimitriPapadopoulos/codespell5e27b2a
Bump version: 74.1.3 → 75.0.0af9e245
Merge pull request #4649 from pypa/feature/distutils-7283751f15861e
Add news fragment.ce01828
Merge https://github.com/pypa/distutils into feature/distutils-7283751378984e
Remove news fragments, not useful here.ffdf0bd
Merge tag 'v74.1.3'Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show