From 7643b9b3073608134590ff3f93cf0d5990fba293 Mon Sep 17 00:00:00 2001 From: "Keith F. Prussing" Date: Thu, 6 Mar 2025 14:55:47 -0500 Subject: [PATCH 01/18] Remove np.float_ as a fill option Running with NumPy 2.2.2 produces the following error: AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. This removes the unsupported type. --- src/wrf/constants.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wrf/constants.py b/src/wrf/constants.py index d660c62..1d400af 100644 --- a/src/wrf/constants.py +++ b/src/wrf/constants.py @@ -59,7 +59,6 @@ class ProjectionTypes(object): np.dtype(np.uint32): 4294967295, np.dtype(np.int64): Constants.DEFAULT_FILL_INT64, np.dtype(np.uint64): 18446744073709551614, - np.dtype(np.float_): Constants.DEFAULT_FILL_DOUBLE, np.dtype(np.float32): Constants.DEFAULT_FILL_FLOAT, np.dtype(np.float64): Constants.DEFAULT_FILL_DOUBLE } From 7f6dc9986b990782e56c9169b8ef7c1f15a71b9e Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:40:04 -0600 Subject: [PATCH 02/18] adjust tolerance to allow for precision level diffs introduced by upstream changes --- test/ci_tests/utests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ci_tests/utests.py b/test/ci_tests/utests.py index 5ae40e1..133afb0 100644 --- a/test/ci_tests/utests.py +++ b/test/ci_tests/utests.py @@ -107,7 +107,7 @@ def test(self): # print (hts_850) hts_850 = interplevel(hts, p, 850) - nt.assert_allclose(to_np(hts_850), ref_ht_850) + nt.assert_allclose(to_np(hts_850), ref_ht_850, rtol=1e-06) elif (varname == "vertcross"): ref_ht_cross = _get_refvals(referent, "vertcross", repeat, multi) From f87adf8958640beaf4228bfd37a53cc4123e781f Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:52:55 -0600 Subject: [PATCH 03/18] add NumPy version conditional for default fill mapping --- src/wrf/constants.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wrf/constants.py b/src/wrf/constants.py index 1d400af..5243705 100644 --- a/src/wrf/constants.py +++ b/src/wrf/constants.py @@ -7,6 +7,9 @@ from .py3compat import viewitems from ._wrffortran import wrf_constants, omp_constants +from packaging.version import Version +np_version = Version(np.__version__) + #: Indicates that all times should be used in a diagnostic routine. ALL_TIMES = None @@ -63,6 +66,9 @@ class ProjectionTypes(object): np.dtype(np.float64): Constants.DEFAULT_FILL_DOUBLE } +if np_version < Version('2.0'): + _DEFAULT_FILL_MAP[np.float_] = Constants.Constants.DEFAULT_FILL_DOUBLE + if version_info >= (3, ): _DEFAULT_FILL_MAP[np.int_] = Constants.DEFAULT_FILL_INT64 else: From acd95e15737702fce32f6c4b4307070813f1d3c0 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 16 Jul 2025 16:04:11 -0600 Subject: [PATCH 04/18] Update environment.yml --- build_envs/environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/build_envs/environment.yml b/build_envs/environment.yml index 4c646a3..6a6e7c9 100644 --- a/build_envs/environment.yml +++ b/build_envs/environment.yml @@ -11,6 +11,7 @@ dependencies: - matplotlib - netcdf4 - numpy + - packaging - pycodestyle - setuptools - sphinx From a2197270c10399bd910d62cedd8877a3bdb4d805 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 16 Jul 2025 18:24:39 -0600 Subject: [PATCH 05/18] Update constants.py --- src/wrf/constants.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wrf/constants.py b/src/wrf/constants.py index 5243705..827fed3 100644 --- a/src/wrf/constants.py +++ b/src/wrf/constants.py @@ -7,9 +7,6 @@ from .py3compat import viewitems from ._wrffortran import wrf_constants, omp_constants -from packaging.version import Version -np_version = Version(np.__version__) - #: Indicates that all times should be used in a diagnostic routine. ALL_TIMES = None @@ -66,8 +63,10 @@ class ProjectionTypes(object): np.dtype(np.float64): Constants.DEFAULT_FILL_DOUBLE } -if np_version < Version('2.0'): - _DEFAULT_FILL_MAP[np.float_] = Constants.Constants.DEFAULT_FILL_DOUBLE +try: + _DEFAULT_FILL_MAP[np.dtype(np.float_)] = Constants.DEFAULT_FILL_DOUBLE +except AttributeError: + pass if version_info >= (3, ): _DEFAULT_FILL_MAP[np.int_] = Constants.DEFAULT_FILL_INT64 From 683a5ecb321f4b58cad09ddd0f4883b6a94d5a81 Mon Sep 17 00:00:00 2001 From: Subrota Halder Date: Sat, 24 May 2025 19:55:59 +0400 Subject: [PATCH 06/18] Update subproducts.txt --- doc/source/_templates/subproducts.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/_templates/subproducts.txt b/doc/source/_templates/subproducts.txt index a13b2db..8a66605 100644 --- a/doc/source/_templates/subproducts.txt +++ b/doc/source/_templates/subproducts.txt @@ -5,9 +5,9 @@ +--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | mcin | cape_2d | 2D Max CIN | J kg-1 | **missing** (float): Fill value for output only | +--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ -| lcl | cape_2d | 2D Lifted Condensation Level | J kg-1 | **missing** (float): Fill value for output only | +| lcl | cape_2d | 2D Lifted Condensation Level | m | **missing** (float): Fill value for output only | +--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ -| lfc | cape_2d | 2D Level of Free Convection | J kg-1 | **missing** (float): Fill value for output only | +| lfc | cape_2d | 2D Level of Free Convection | m | **missing** (float): Fill value for output only | +--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | cape3d_only | cape_3d | 3D CAPE | J kg-1 | **missing** (float): Fill value for output only | +--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -116,4 +116,4 @@ | | | | kt | | | | | | | | | | | | ft s-1 | | -+--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ \ No newline at end of file ++--------------------+----------------------+---------------------------------------------------------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ From bb3d983a8c95b946be5e608c41cb174bbdbaa3e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Jul 2025 00:53:27 +0000 Subject: [PATCH 07/18] Bump conda-incubator/setup-miniconda from 3.1.1 to 3.2.0 Bumps [conda-incubator/setup-miniconda](https://github.com/conda-incubator/setup-miniconda) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/conda-incubator/setup-miniconda/releases) - [Changelog](https://github.com/conda-incubator/setup-miniconda/blob/main/CHANGELOG.md) - [Commits](https://github.com/conda-incubator/setup-miniconda/compare/505e6394dae86d6a5c7fbb6e3fb8938e3e863830...835234971496cad1653abb28a638a281cf32541f) --- updated-dependencies: - dependency-name: conda-incubator/setup-miniconda dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aca255d..686e41f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: checkout uses: actions/checkout@v4 - name: environment setup - uses: conda-incubator/setup-miniconda@505e6394dae86d6a5c7fbb6e3fb8938e3e863830 # v3.1.1 + uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0 with: python-version: ${{ matrix.python-version }} channels: conda-forge From 0940ff0f76c62b1433c30116d7d1a778ec6fe5ac Mon Sep 17 00:00:00 2001 From: akrherz Date: Sat, 14 Jun 2025 07:54:51 -0500 Subject: [PATCH 08/18] Add python 3.13 to CI and metadata --- .github/workflows/ci.yml | 2 +- build_envs/environment.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 686e41f..c487231 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu-latest", "macos-latest", "macos-14" ] - python-version: [ "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - name: checkout uses: actions/checkout@v4 diff --git a/build_envs/environment.yml b/build_envs/environment.yml index 6a6e7c9..a540f57 100644 --- a/build_envs/environment.yml +++ b/build_envs/environment.yml @@ -3,7 +3,7 @@ name: wrf_python_build channels: - conda-forge dependencies: - - python>=3.9, <3.13 + - python>=3.9, <3.14 - compilers - basemap - cartopy diff --git a/pyproject.toml b/pyproject.toml index 5047e19..2a882c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ maintainers = [ ] description = "Diagnostic and interpolation routines for WRF-ARW data." readme = "README.md" -requires-python = ">=3.9, <3.13" +requires-python = ">=3.9, <3.14" keywords = [ "python", "wrf-python", "wrf", "forecast", "model", "weather research and forecasting", "interpolation", From b9dbdd3e1a1661a81c1005be0d869a1d7e766385 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:18:28 -0600 Subject: [PATCH 09/18] remove deprecated use of pkg_resources --- build_envs/environment.yml | 2 -- src/wrf/__init__.py | 20 ++------------------ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/build_envs/environment.yml b/build_envs/environment.yml index a540f57..e889284 100644 --- a/build_envs/environment.yml +++ b/build_envs/environment.yml @@ -11,9 +11,7 @@ dependencies: - matplotlib - netcdf4 - numpy - - packaging - pycodestyle - - setuptools - sphinx - sphinx_rtd_theme - sphinxcontrib-googleanalytics diff --git a/src/wrf/__init__.py b/src/wrf/__init__.py index 39cd608..d848dd0 100644 --- a/src/wrf/__init__.py +++ b/src/wrf/__init__.py @@ -2,24 +2,8 @@ import os import pkg_resources -try: - from . import api - from .api import * -except ImportError: - # For gfortran+msvc combination, extra shared libraries may exist - # (stored by numpy.distutils) - if os.name == "nt": - req = pkg_resources.Requirement.parse("wrf-python") - extra_dll_dir = pkg_resources.resource_filename(req, - "wrf-python/.libs") - if os.path.isdir(extra_dll_dir): - os.environ["PATH"] += os.pathsep + extra_dll_dir - - from . import api - from .api import * - else: - raise - +from . import api +from .api import * __all__ = [] __all__.extend(api.__all__) From 4c2e3560cba2c9b21966543342bb31e884e2ed2c Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:22:19 -0600 Subject: [PATCH 10/18] remove import as well --- src/wrf/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wrf/__init__.py b/src/wrf/__init__.py index d848dd0..99334d9 100644 --- a/src/wrf/__init__.py +++ b/src/wrf/__init__.py @@ -1,6 +1,5 @@ from __future__ import (absolute_import, division, print_function) import os -import pkg_resources from . import api from .api import * From 24b40372e4facf02e18053450f35b184f88273f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 05:14:23 +0000 Subject: [PATCH 11/18] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/pypi.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c487231..e16ac08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: environment setup uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0 with: diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index b79509f..ef01061 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -8,7 +8,7 @@ jobs: if: github.repository == 'NCAR/wrf-python' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python uses: actions/setup-python@v5 with: @@ -28,7 +28,7 @@ jobs: if: startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python uses: actions/setup-python@v5 with: From c4563d324d409a1d1e91ed16a8454b55698e6ae5 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Fri, 22 Aug 2025 12:56:05 -0600 Subject: [PATCH 12/18] Update docs to show lat lon labels and remove outdated note --- doc/source/plot.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/plot.rst b/doc/source/plot.rst index fb69a7f..19b7392 100644 --- a/doc/source/plot.rst +++ b/doc/source/plot.rst @@ -23,9 +23,6 @@ should be aware of a few shortcomings when working with WRF data. - The rotated pole projection requires the x and y limits to be set manually using set_xlim and set_ylim. -- You can't place latitude and longitude labels on the axes when using - any projection other than Mercator or LatLon. - Plotting a Two-dimensional Field ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -89,7 +86,10 @@ Plotting a Two-dimensional Field ax.set_ylim(cartopy_ylim(smooth_slp)) # Add the gridlines - ax.gridlines(color="black", linestyle="dotted") + gl = ax.gridlines(draw_labels=True, color="black", linestyle="dotted") + gl.right_labels = False + gl.x_inline = False + gl.top_labels = False plt.title("Sea Level Pressure (hPa)") From 5d7ad252b56dee8d32804de6d826fec029fd40d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:01:59 +0000 Subject: [PATCH 13/18] Bump actions/setup-python from 5 to 6 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/pypi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index ef01061..2089a56 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install dependencies @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' - name: Install dependencies From 9313e05d27297b0be9cf5ccbd31be4f63851ff24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:01:09 +0000 Subject: [PATCH 14/18] Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.4 to 1.13.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/76f52bc884231f62b9a034ebfe128415bbaabdfc...ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 2089a56..cc57f0b 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -44,7 +44,7 @@ jobs: run: | python -m twine check dist/* - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 + uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_WRF_PYTHON }} From 3616f0f27a656e18588ed204c8cb6f4764e933c8 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Tue, 21 Oct 2025 14:44:13 -0700 Subject: [PATCH 15/18] fix for netCDF4 v1.7.3 iterator changes --- src/wrf/util.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/wrf/util.py b/src/wrf/util.py index 40229c7..03cb7a1 100644 --- a/src/wrf/util.py +++ b/src/wrf/util.py @@ -134,7 +134,13 @@ def is_multi_file(wrfin): is a single NetCDF file object. """ - return (isinstance(wrfin, Iterable) and not isstr(wrfin)) + try: + iter(wrfin) + is_iterable = True + except Exception: + is_iterable = False + + return (is_iterable and not isstr(wrfin)) def has_time_coord(wrfnc): From 72017e526068b75d5a009ded04c535c576faf118 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 22 Oct 2025 07:01:35 -0700 Subject: [PATCH 16/18] oops update the check to work for the older version of netcdf4 --- src/wrf/util.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wrf/util.py b/src/wrf/util.py index 03cb7a1..99ef9ae 100644 --- a/src/wrf/util.py +++ b/src/wrf/util.py @@ -9,6 +9,7 @@ from types import GeneratorType import datetime as dt from inspect import getmodule +from netCDF4 import Dataset try: from inspect import signature @@ -134,10 +135,11 @@ def is_multi_file(wrfin): is a single NetCDF file object. """ - try: - iter(wrfin) + if isinstance(wrfin, Dataset): + is_iterable = False + elif isinstance(wrfin, Iterable): is_iterable = True - except Exception: + else: is_iterable = False return (is_iterable and not isstr(wrfin)) From 6542224d6eecb64c12badfde1c19d1dfbe759658 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Fri, 31 Oct 2025 14:47:13 -0600 Subject: [PATCH 17/18] Update Python version metadata to reflect support for 3.13 (#292) * update Python version info in pyproject.toml * remove Python version pin in macos-arm env * remove Python version pin * remove version pin for python --- build_envs/platform-specific/macos_arm64.yml | 2 +- build_envs/platform-specific/macos_x64.yml | 2 +- build_envs/platform-specific/windows.yml | 2 +- pyproject.toml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build_envs/platform-specific/macos_arm64.yml b/build_envs/platform-specific/macos_arm64.yml index 2e475f0..d6483dd 100644 --- a/build_envs/platform-specific/macos_arm64.yml +++ b/build_envs/platform-specific/macos_arm64.yml @@ -3,7 +3,7 @@ name: wrf_python_build channels: - conda-forge dependencies: - - python<3.12 + - python - basemap - cartopy - clang_osx-arm64 diff --git a/build_envs/platform-specific/macos_x64.yml b/build_envs/platform-specific/macos_x64.yml index 2415ebe..ba798c2 100644 --- a/build_envs/platform-specific/macos_x64.yml +++ b/build_envs/platform-specific/macos_x64.yml @@ -3,7 +3,7 @@ name: wrf_python_build channels: - conda-forge dependencies: - - python<3.12 + - python - basemap - cartopy - clang_osx-64 diff --git a/build_envs/platform-specific/windows.yml b/build_envs/platform-specific/windows.yml index 1053db0..46d53b2 100644 --- a/build_envs/platform-specific/windows.yml +++ b/build_envs/platform-specific/windows.yml @@ -4,7 +4,7 @@ channels: - conda-forge - msys2 dependencies: - - python<3.12 + - python - basemap - cartopy - jupyter diff --git a/pyproject.toml b/pyproject.toml index 2a882c8..0f00bb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Atmospheric Science", "Topic :: Software Development", "Operating System :: POSIX", From 30b2e49468d33f49c2682335d2a6e101f5c97fcb Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 5 Nov 2025 13:49:16 -0700 Subject: [PATCH 18/18] Release notes and version bump for v1.4.1 (#293) * Add release notes for version 1.4.1 * Bump version to 1.4.1 --- doc/source/new.rst | 9 +++++++++ src/wrf/version.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/source/new.rst b/doc/source/new.rst index 364af0b..1035cae 100644 --- a/doc/source/new.rst +++ b/doc/source/new.rst @@ -4,6 +4,15 @@ What's New Releases ------------- +v1.4.1 (November 2025) +^^^^^^^^^^^^^^^^^^^^^^^^^ + +- Release 1.4.1 +- Support for Python 3.13 +- Fix to accommodate recent netCDF4 changes +- Remove pkg_resources +- Correct units for LCL and LFC in the subproduct diagnostics documentation + v1.4.0 (May 2025) ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/wrf/version.py b/src/wrf/version.py index 3e8d9f9..bf25615 100644 --- a/src/wrf/version.py +++ b/src/wrf/version.py @@ -1 +1 @@ -__version__ = "1.4.0" +__version__ = "1.4.1"