You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What kind of change does this PR introduce?
* Prepares the next minor release (v0.58.0)
### Does this PR introduce a breaking change?
This release includes some breaking changes, which are detailed in the
changelog. Documentation is up-to-date to reflect the new indices and
indicator structure introduced in #2224 and the significant changes to
agroclimate indicators introduced in #2207.
### Other information:
The milestone goals were achieved a day early, so why not release it
today.
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
Changelog
3
3
=========
4
4
5
-
v0.58.0 (unreleased)
5
+
v0.58.0 (2025-08-27)
6
6
--------------------
7
7
Contributors to this version: Sebastian Lehner (:user:`seblehner`), Trevor James Smith (:user:`Zeitsperre`), Pascal Bourgault (:user:`aulemahal`), Éric Dupuis (:user:`coxipi`), Baptiste Hamon (:user:`baptistehamon`).
8
8
@@ -12,12 +12,12 @@ New indicators and features
12
12
* Argument ``indexer`` added to indicators ``max_n_day_precipitation_amount``, ``max_pr_intensity``, and ``blowing_snow``. (:issue:`2187`, :pull:`2190`).
13
13
* Argument ``window`` added to indicator ``rain_on_frozen_ground_days``. (:pull:`2190`).
14
14
* New helper ``xclim.indices.generic.season_length_from_boundaries`` takes ``season_start`` and ``season_end`` as input and gives ``season_length``. This is used when starts and ends are computed with different resampling frequencies: ``days_since`` are used to compute temporal lengths in this case. (:pull:`2189`).
15
-
* Allow ``invalid_values`` as argument for ``relative_humidity_from_dewpoint``. (:pull:`2203`, :issue:`2202`)
16
-
* New thermodynamic conversion indicators:
15
+
* Allow ``invalid_values`` as argument for ``relative_humidity_from_dewpoint``. (:issue:`2202`, :pull:`2203`).
16
+
* New thermodynamic conversion indicators (:issue:`2165`, :pull:`2206`):
17
17
+ ``xclim.convert.vapor_pressure`` to compute the partial pressure of water vapor from specific humidity and total pressure.
18
18
+ ``xclim.convert.dewpoint_from_specific_humidity`` to compute the dewpoint temperature from specific humidity and total pressure.
19
19
* All functions using saturation vapour pressure can now compute it with a smooth transition between saturation over ice and saturation over water. The transition is controlled by the ``interp_power`` , ``ice_thresh`` and ``water_thresh`` parameters. (:issue:`2165`, :pull:`2206`).
20
-
+ New methods ``"buck81"`` and `"aerk96"` and new method ``"ECMWF"`` which is ``"buck81"`` on water and ``"aerk96"`` on ice.
20
+
+ New methods ``"buck81"`` and ``"aerk96"`` and new method ``"ECMWF"`` which is ``"buck81"`` on water and ``"aerk96"`` on ice.
21
21
+ Saturation vapor pressure calculations were reorganized. ``xclim.indices.converters.ESAT_FORMULAS_COEFFICIENTS`` now stores the August-Roche-Magnus formula's coefficients.
22
22
* New indicator ``xclim.atmos.hot_days`` as counterpart to ``xclim.atmos.frost_days``. (:issue:`2194`, :pull:`2213`).
23
23
* New helper indices for computing the day-length coefficient for viticulture growing seasons based on several approaches:
@@ -31,7 +31,7 @@ New indicators and features
31
31
32
32
Breaking changes
33
33
^^^^^^^^^^^^^^^^
34
-
* The ``"jones"`` method for calculating `'k'` in ``xclim.indices.huglin_index`` and ``xclim.indices.biologically_effective_degree_days`` now require daily data computed at annual frequencies (`freq="YS"|"YS-JAN"|"YS-JUL"`). The previous behaviour for non-annual frequencies was undefined. (:issue:`2201`, :pull:`2207`).
34
+
* The ``"jones"`` method for calculating `'k'` in ``xclim.indices.huglin_index`` and ``xclim.indices.biologically_effective_degree_days`` now require daily data computed at annual frequencies (``freq="YS"|"YS-JAN"|"YS-JUL"``). The previous behaviour for non-annual frequencies was undefined. (:issue:`2201`, :pull:`2207`).
35
35
* The ``"jones"`` method now sets a floor value for ``"k"`` where it is not allowed to be less than ``1.0``. This is to avoid values below ``1.0`` for ``"k"`` which were previously allowed in `xclim` but not supported by the source literature.
36
36
* Incomplete growing seasons (where the values of ``"k"`` for all latitudes during the growing season are all below ``1.0``) will now raise `ValueError`. This is to ensure that the expected output is consistent with the literature.
37
37
* The ``"gladstones"`` method for calculating `'k'` in ``xclim.indices.biologically_effective_degree_days`` now uses a dedicated function based on a dynamic day_length compared to a reference latitude (40 degrees). The previous implementation of the ``"gladstones"`` method was based off an approximation found in Hall and Jones (2010). (:issue:`2201`, :pull:`2207`).
@@ -51,6 +51,7 @@ Internal changes
51
51
* ``xclim.testing.utils.show_versions`` now uses the `importlib.metadata` library to more accurately gather dependency information. (:pull:`2229`).
52
52
* Replaced the deprecated ``"time.week"`` grouping strings with ``da.time.dt.isocalendar().week`` in ``xclim.indices.stats.standardized_index`` functions. (:pull:`2230`).
53
53
* ``xclim.indices.run_length.lazy_indexing`` moved to utils. (:issue:`2107`, :pull:`2231`).
54
+
* Updated the command-line configuration to address ``DeprecationWarning`` messages introduced in `click` v8.2.0 (changes remain compatible with `click` v8.1.0). (:issue:`2212`, :pull:`2233`).
54
55
55
56
Bug fixes
56
57
^^^^^^^^^
@@ -59,7 +60,7 @@ Bug fixes
59
60
* Indices relying on ``units.to_agg_units(src, out, 'count')`` will not raise on a non-inferrable frequency and instead use the common default of "D", as their docstring implies. (:issue:`2215`, :pull:`2217`).
60
61
* Fix ``spell_length_statistics`` and related functions for cases where ``thresh`` is a DataArray. (:issue:`2216`, :pull:`2218`).
61
62
* Addressed a noisy warning emitted by `numpy` in the ``xclim.indices.stats`` when performing a fit over data with missing values. (:pull:`2224`).
62
-
* In the Canadian Forest Fire Weather Index System, values of 0 for both the Duff-Moisture code (DMC) and the Drought code (DC) will yield a 0 Build-Up index (BUI) instead of failing with division by zero error (:issue:`2145`, :pull:`2225`).
63
+
* In the Canadian Forest Fire Weather Index System, values of 0 for both the Duff-Moisture code (DMC) and the Drought code (DC) will yield a 0 Build-Up index (BUI) instead of failing with division by zero error. (:issue:`2145`, :pull:`2225`).
63
64
* ``xclim.indices.generic.{doymax|doymin}`` now work with dask arrays. (:issue:`2107`, :pull:`2231`).
0 commit comments