Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/src/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ v3.14.1 (Date TBD)
#. Fixed compatibility with NumPy v2 for :meth:`~iris.coords.Coord.guess_bounds`
:ref:`See the full entry for more<3_14_1_guess_bounds>`.

#. Removed netCDF4<1.7.3 temporary pin.

✨ Features
===========

Expand Down Expand Up @@ -174,10 +176,13 @@ v3.14.1 (Date TBD)
handles additional shapefile types and projections. (:issue:`6126`, :pull:`6129`)

#. `@pp-mo`_ added a temporary dependency pins for Python<3.14, dask<2025.10.0 and
netCDF4<1.7.3. All of these introduce problems that won't necessarily be fixed soon,
so we anticipate that these pins will be wanted for the v3.14 release.
netCDF4<1.7.3. Edit 2025-11-25: the netCDF4 pin has now been removed in
:pull:`6826`.
(:issue:`6775`, :issue:`6776`, :issue:`6777`, :pull:`6773`)

#. `@trexfeathers`_ fixed an incompatibility with the netCDF4 package (relating
to dataset iterability). (:issue:`6777`, :pull:`6826`)


📚 Documentation
================
Expand Down
4 changes: 3 additions & 1 deletion lib/iris/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ def context(self, load_real=True):


def _generate_cubes(uris, callback, constraints):
from netCDF4 import Dataset

import iris.io

"""Return a generator of cubes given the URIs and a callback."""
if isinstance(uris, str) or not isinstance(uris, Iterable):
if isinstance(uris, (str, Dataset)) or not isinstance(uris, Iterable):
# Make a string, or other single item, into an iterable.
uris = [uris]

Expand Down
2 changes: 1 addition & 1 deletion requirements/py311.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- dask-core >=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
- libnetcdf !=4.9.1
- matplotlib-base >=3.5, !=3.9.1
- netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
- netcdf4
- numpy >=1.24, !=1.24.3
- python-xxhash
- pyproj
Expand Down
2 changes: 1 addition & 1 deletion requirements/py312.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- dask-core >=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
- libnetcdf !=4.9.1
- matplotlib-base >=3.5, !=3.9.1
- netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
- netcdf4
- numpy >=1.24, !=1.24.3
- python-xxhash
- pyproj
Expand Down
2 changes: 1 addition & 1 deletion requirements/py313.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- dask-core >=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
- libnetcdf !=4.9.1
- matplotlib-base >=3.5, !=3.9.1
- netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
- netcdf4
- numpy >=1.24, !=1.24.3
- python-xxhash
- pyproj
Expand Down
2 changes: 1 addition & 1 deletion requirements/pypi-core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cftime>=1.5.0
dask[array]>=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
# libnetcdf!=4.9.1 (not available on PyPI)
matplotlib>=3.5
netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
netcdf4
numpy>=1.24,!=1.24.3
pyproj
scipy
Expand Down
Loading