Skip to content

Commit aef8bfd

Browse files
committed
Fix tests
1 parent 4c98007 commit aef8bfd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_intertidal.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ def satellite_ds():
2626
"""
2727
Loads a pre-generated timeseries of satellite data from NetCDF.
2828
"""
29-
return xr.open_dataset("tests/data/satellite_ds.nc")
29+
satellite_ds = xr.open_dataset("tests/data/satellite_ds.nc")
30+
31+
# Hack to fix malformed CRS
32+
del satellite_ds["spatial_ref"]
33+
satellite_ds = satellite_ds.odc.assign_crs("EPSG:3577")
34+
35+
return satellite_ds
3036

3137

3238
@pytest.mark.dependency()

0 commit comments

Comments
 (0)