Skip to content
Merged
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
5 changes: 2 additions & 3 deletions tests/grib/test_grib_geography.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from earthkit.data import concat
from earthkit.data.utils import projections
from earthkit.data.utils.testing import (
IN_GITHUB,
NO_ECCODES_GRID,
NO_GEO,
check_array,
Expand Down Expand Up @@ -362,9 +363,7 @@ def test_grib_latlon_various_grids_1(fl_type, filename, expected_shape, expected
assert np.allclose(np.asarray(ds[0].geography.area()), np.asarray(expected_area))


# @pytest.mark.skip(
# "This test is currently failing because the GRIB field geography is not correctly handled in ecCodes."
# )
@pytest.mark.skipif(IN_GITHUB, reason="Skipping test on GitHub CI")
@pytest.mark.parametrize(
"filename,expected_shape, expected_lat, expected_lon, expected_area",
[
Expand Down
4 changes: 3 additions & 1 deletion tests/grib/test_grib_gridspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from earthkit.data import FieldList, from_source
from earthkit.data.core.temporary import temp_file
from earthkit.data.utils.testing import earthkit_remote_test_data_file, earthkit_test_data_file
from earthkit.data.utils.testing import IN_GITHUB, earthkit_remote_test_data_file, earthkit_test_data_file


def _make_gridspec_list(grid_types):
Expand Down Expand Up @@ -45,6 +45,7 @@ def gridspec_list(grid_types):
yield (item["metadata"], item["gridspec"], item["file"])


@pytest.mark.skipif(IN_GITHUB, reason="Skipping test on GitHub CI")
def test_grib_gridspec_from_file():
ds = from_source(
"file",
Expand All @@ -64,6 +65,7 @@ def test_grib_gridspec_from_file():
assert gs == ref


@pytest.mark.skipif(IN_GITHUB, reason="Skipping test on GitHub CI")
@pytest.mark.parametrize(
"input_file",
[
Expand Down
4 changes: 3 additions & 1 deletion tests/xr_engine/test_xr_engine_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from earthkit.data import from_source
from earthkit.data.utils import ensure_iterable
from earthkit.data.utils.testing import earthkit_remote_test_data_file, earthkit_test_data_file
from earthkit.data.utils.testing import IN_GITHUB, earthkit_remote_test_data_file, earthkit_test_data_file


def to_tuple(x):
Expand All @@ -35,6 +35,7 @@ def grid_list(files=None):


@pytest.mark.cache
@pytest.mark.skipif(IN_GITHUB, reason="Skipping test on GitHub CI")
# @pytest.mark.parametrize("allow_holes", [False, True])
# @pytest.mark.parametrize("lazy_load", [True, False])
@pytest.mark.parametrize("allow_holes", [False])
Expand Down Expand Up @@ -94,6 +95,7 @@ def test_xr_engine_add_geo_coords(allow_holes, lazy_load, add_geo_coords):


@pytest.mark.cache
@pytest.mark.skipif(IN_GITHUB, reason="Skipping test on GitHub CI")
@pytest.mark.parametrize("allow_holes", [False, True])
@pytest.mark.parametrize("lazy_load", [True, False])
def test_xr_engine_gridspec(allow_holes, lazy_load):
Expand Down
Loading