Skip to content

Some tests use sample data #1598

@pelson

Description

@pelson

All are using GloSea4/ensemble_001.pp:

e.g.

======================================================================
ERROR: test_4d_cube_2_dims (iris.tests.analysis.test_stats.Test_corr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "iris/tests/analysis/test_stats.py", line 38, in setUp
    'ensemble_001.pp'))
  File "/iris/__init__.py", line 327, in load_cube
    cubes = _load_collection(uris, constraints, callback).merged().cubes()
  File "lib/iris/__init__.py", line 267, in _load_collection
    result = iris.cube._CubeFilterCollection.from_cubes(cubes, constraints)
  File "lib/iris/cube.py", line 139, in from_cubes
    for cube in cubes:
  File "lib/iris/__init__.py", line 254, in _generate_cubes
    for cube in iris.io.load_files(part_names, callback, constraints):
  File "lib/iris/io/__init__.py", line 183, in load_files
    all_file_paths = expand_filespecs(filenames)
  File "lib/iris/io/__init__.py", line 166, in expand_filespecs
    for pattern, expanded in glob_expanded.iteritems()])
IOError: One or more of the files specified did not exist ['iris/sample_data/GloSea4/ensemble_001.pp expanded to empty'].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions