Skip to content

Commit 25fa2d3

Browse files
Remove sign change on vertical velocity
1 parent 582656d commit 25fa2d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/parcels/_core/fieldset.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,6 @@ def from_fesom2(ds: ux.UxDataset):
284284
fields["V"].units = Geographic()
285285

286286
if "W" in ds.data_vars:
287-
ds["W"] -= ds[
288-
"W"
289-
] # Negate W to convert from up positive to down positive (as that's the direction of positive z)
290287
fields["W"] = Field("W", ds["W"], grid)
291288
fields["UVW"] = VectorField("UVW", fields["U"], fields["V"], fields["W"])
292289
else:

0 commit comments

Comments
 (0)