-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Description
Introduced by #6773 (but will soon need to be updated in the conda feedstock also)
Relevant issue links:
- broke at lockfile update : [CI Bot] environment lockfiles auto-update #6752
It may well be that we actually need a fix in Iris for this, but we're not pursuing that immediately.
The actual issue that occurs is a single test failure, visible in this fragment from the log:
___________________ TestDatasetAndPathLoads.test_basic_load ____________________
[gw0] linux -- Python 3.13.9 /home/runner/work/iris/iris/.nox/tests/bin/python3.13
self = <iris.tests.integration.netcdf.test_general.TestDatasetAndPathLoads testMethod=test_basic_load>
def test_basic_load(self):
# test loading from an open Dataset, in place of a filepath spec.
ds = nc.Dataset(self.filepath)
> result = iris.load_cube(ds, self.phenom_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/iris/tests/integration/netcdf/test_general.py:384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/iris/loading.py:201: in load_cube
cubes = _load_collection(uris, constraints, callback).combined().cubes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/iris/loading.py:137: in _load_collection
result = _CubeFilterCollection.from_cubes(cubes, constraints)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/iris/loading.py:93: in from_cubes
for c in cubes:
^^^^^
lib/iris/loading.py:28: in _generate_cubes
uri_tuples = sorted(iris.io.decode_uri(uri) for uri in uris)
^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E TypeError: Dataset is not iterable. Consider iterating on Dataset.variables.
src/netCDF4/_netCDF4.pyx:2569: TypeError
Metadata
Metadata
Assignees
Labels
No labels