Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Sep 23, 2024
1 parent 4c98007 commit aef8bfd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_intertidal.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ def satellite_ds():
"""
Loads a pre-generated timeseries of satellite data from NetCDF.
"""
return xr.open_dataset("tests/data/satellite_ds.nc")
satellite_ds = xr.open_dataset("tests/data/satellite_ds.nc")

# Hack to fix malformed CRS
del satellite_ds["spatial_ref"]
satellite_ds = satellite_ds.odc.assign_crs("EPSG:3577")

return satellite_ds


@pytest.mark.dependency()
Expand Down

0 comments on commit aef8bfd

Please sign in to comment.