diff --git a/tests/api_test.py b/tests/api_test.py index 63e1dfd..0515a5f 100644 --- a/tests/api_test.py +++ b/tests/api_test.py @@ -9,13 +9,13 @@ from thalassa import normalization ADCIRC_NC = DATA_DIR / "fort.63.nc" -SELAFIN = DATA_DIR / "r3d_tidal_flats.slf" +SELAFIN = DATA_DIR / "iceland.slf" @pytest.mark.parametrize( "file,variable", [ pytest.param(ADCIRC_NC, "zeta"), - pytest.param(SELAFIN, "U"), + pytest.param(SELAFIN, "S"), ], ) diff --git a/tests/data/iceland.slf b/tests/data/iceland.slf new file mode 100644 index 0000000..caefc23 Binary files /dev/null and b/tests/data/iceland.slf differ diff --git a/tests/normalization_test.py b/tests/normalization_test.py index 0bb30cb..ca13b7e 100644 --- a/tests/normalization_test.py +++ b/tests/normalization_test.py @@ -12,7 +12,7 @@ "ds,expected_fmt", [ pytest.param(api.open_dataset(DATA_DIR / "fort.63.nc", normalize=False), THALASSA_FORMATS.ADCIRC, id="ADCIRC"), - pytest.param(api.open_dataset(DATA_DIR / "r3d_tidal_flats.slf", normalize=False), THALASSA_FORMATS.TELEMAC, id="TELEMAC"), + pytest.param(api.open_dataset(DATA_DIR / "iceland.slf", normalize=False), THALASSA_FORMATS.TELEMAC, id="TELEMAC"), pytest.param(xr.Dataset(), THALASSA_FORMATS.UNKNOWN, id="Unknown"), ], ) @@ -25,7 +25,7 @@ def test_infer_format(ds, expected_fmt): "path,expected", [ pytest.param(DATA_DIR / "fort.63.nc", True, id="ADCIRC"), - pytest.param(DATA_DIR / "r3d_tidal_flats.slf", True, id="TELEMAC"), + pytest.param(DATA_DIR / "iceland.slf", True, id="TELEMAC"), pytest.param(__file__, False, id="Unknown"), ], )