From 2b93e2e72a8844308e84abccd83236a8e3b8c4ae Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:04:30 -0400 Subject: [PATCH 1/4] update CHANGES.rst --- CHANGES.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 13039c828..9a806dfd5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,18 +2,19 @@ Changelog ========= -v0.50.0 (unreleased) +v0.50.0 (2024-06-17) -------------------- Contributors to this version: Trevor James Smith (:user:`Zeitsperre`), Éric Dupuis (:user:`coxipi`). New features and enhancements ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -* New properties: Bivariate Spell Length (``xclim.sdba.properties.bivariate_spell_length``), generalized spell lengths with an argument for `window`, and specific spell lengths with `window` fixed to 1 (``xclim.sdba.propertiies.threshold_count``, ``xclim.sdba.propertiies.bivariate_threshold_count``). (:pull:`1758`). -* New option `normalize` in ``sdba.measures.taylordiagram`` to obtain normalized Taylor diagrams (divide standard deviations by standard deviation of the reference). (:pull:`1764`). +* New properties: Bivariate Spell Length (``xclim.sdba.properties.bivariate_spell_length``), Generalized Spell Lengths with an argument for `window`, and Specific Spell Lengths with `window` fixed to '1' (``xclim.sdba.propertiies.threshold_count``, ``xclim.sdba.propertiies.bivariate_threshold_count``). (:pull:`1758`). +* New option `normalize` in ``sdba.measures.taylordiagram`` to obtain normalized Taylor Diagrams (divide standard deviations by standard deviation of the reference). (:pull:`1764`). Breaking changes ^^^^^^^^^^^^^^^^ * `pint` has been pinned below v0.24 until `xclim` can be updated to support the latest version. (:issue:`1771`, :pull:`1772`). +* `numpy` has been pinned below v2.0.0 until `xclim` can be updated to support the latest version. (:pull:`1783`). * Calendar utilities that have an equivalent in `xarray` have been deprecated and will be removed in `xclim` v0.51.0. (:issue:`1010`, :pull:`1761`). This concerns the following members of ``xclim.core.calendar``: - ``convert_calendar`` : Use ``Dataset.convert_calendar``, ``DataArray.convert_calendar`` or ``xr.coding.calendar_ops.convert_calendar`` instead. + If your code passes ``target`` as an array, first convert the source to the target's calendar and then reindex the result to ``target``. @@ -24,7 +25,6 @@ Breaking changes - ``interp_calendar`` : Use ``Dataset.interp_calendar`` or ``xarray.coding.calendar_ops.interp_calendar`` instead. - ``days_in_year`` : Use ``xarray.coding.calendar_ops._days_in_year`` instead. - ``datetime_to_decimal_year`` : Use ``xarray.coding.calendar_ops._datetime_to_decimal_year`` instead. -* `numpy` has been pinned below v2.0.0 until `xclim` can be updated to support the latest version. (:pull:`1783`). Internal changes ^^^^^^^^^^^^^^^^ From 907a7b25b402e70c9f8e61c579c5e0bf3173f0d9 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:06:08 -0400 Subject: [PATCH 2/4] fix typo --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9a806dfd5..c3aebc195 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,7 +8,7 @@ Contributors to this version: Trevor James Smith (:user:`Zeitsperre`), Éric Dup New features and enhancements ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -* New properties: Bivariate Spell Length (``xclim.sdba.properties.bivariate_spell_length``), Generalized Spell Lengths with an argument for `window`, and Specific Spell Lengths with `window` fixed to '1' (``xclim.sdba.propertiies.threshold_count``, ``xclim.sdba.propertiies.bivariate_threshold_count``). (:pull:`1758`). +* New properties: Bivariate Spell Length (``xclim.sdba.properties.bivariate_spell_length``), Generalized Spell Lengths with an argument for `window`, and Specific Spell Lengths with `window` fixed to '1' (``xclim.sdba.properties.threshold_count``, ``xclim.sdba.properties.bivariate_threshold_count``). (:pull:`1758`). * New option `normalize` in ``sdba.measures.taylordiagram`` to obtain normalized Taylor Diagrams (divide standard deviations by standard deviation of the reference). (:pull:`1764`). Breaking changes From 1a1a60167abc49a36ed4591dbabbe696f4216867 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:07:16 -0400 Subject: [PATCH 3/4] =?UTF-8?q?Bump=20version:=200.49.1-dev.6=20=E2=86=92?= =?UTF-8?q?=200.50.0-dev.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- xclim/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b5e99efe8..12b1b6540 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,7 +128,7 @@ target-version = [ ] [tool.bumpversion] -current_version = "0.49.1-dev.6" +current_version = "0.50.0-dev.0" commit = true commit_args = "--no-verify" tag = false diff --git a/xclim/__init__.py b/xclim/__init__.py index 7320539d3..1d31f3685 100644 --- a/xclim/__init__.py +++ b/xclim/__init__.py @@ -13,7 +13,7 @@ __author__ = """Travis Logan""" __email__ = "logan.travis@ouranos.ca" -__version__ = "0.49.1-dev.6" +__version__ = "0.50.0-dev.0" with _resources.as_file(_resources.files("xclim.data")) as _module_data: From 7039757e0793b4ac9317c6f34c334754b92f647d Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:07:23 -0400 Subject: [PATCH 4/4] =?UTF-8?q?Bump=20version:=200.50.0-dev.0=20=E2=86=92?= =?UTF-8?q?=200.50.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- xclim/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 12b1b6540..eaa750164 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,7 +128,7 @@ target-version = [ ] [tool.bumpversion] -current_version = "0.50.0-dev.0" +current_version = "0.50.0" commit = true commit_args = "--no-verify" tag = false diff --git a/xclim/__init__.py b/xclim/__init__.py index 1d31f3685..c36d17c15 100644 --- a/xclim/__init__.py +++ b/xclim/__init__.py @@ -13,7 +13,7 @@ __author__ = """Travis Logan""" __email__ = "logan.travis@ouranos.ca" -__version__ = "0.50.0-dev.0" +__version__ = "0.50.0" with _resources.as_file(_resources.files("xclim.data")) as _module_data: