We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20bdc6b commit 6e2d0e4Copy full SHA for 6e2d0e4
src/parcels/_core/fieldset.py
@@ -217,9 +217,8 @@ def from_copernicusmarine(ds: xr.Dataset):
217
218
ds = _rename_coords_copernicusmarine(ds)
219
if "W" in ds.data_vars:
220
- ds["W"] -= ds[
221
- "W"
222
- ] # Negate W to convert from up positive to down positive (as that's the direction of positive z)
+ # Negate W to convert from up positive to down positive (as that's the direction of positive z)
+ ds["W"] -= ds["W"]
223
224
if "grid" in ds.cf.cf_roles:
225
raise ValueError(
0 commit comments