Skip to content

Commit 9f7d78f

Browse files
Update src/parcels/_datasets/remote.py
Co-authored-by: Erik van Sebille <e.vansebille@uu.nl>
1 parent 472930d commit 9f7d78f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parcels/_datasets/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def open_dataset(self) -> xr.Dataset:
164164

165165

166166
def _preprocess_drop_time_from_mesh1(ds: xr.Dataset) -> xr.Dataset:
167-
# For some reason on the mesh "NemoNorthSeaORCA025-N006_data/coordinates.nc" there are time dimensions. These dimension also has broken cf-time metadata
167+
# For some reason on the mesh "NemoNorthSeaORCA025-N006_data/coordinates.nc" there are two time dimensions (of length 1). These dimension also has broken cf-time metadata
168168
# this fixes that
169169
return ds.isel(time=0).drop(["time", "time_steps"])
170170

0 commit comments

Comments
 (0)