Skip to content

Commit 582656d

Browse files
Add grid parameters to V field creation
Co-authored-by: Erik van Sebille <[email protected]>
1 parent 2f5aa56 commit 582656d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parcels/_core/fieldset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def from_fesom2(ds: ux.UxDataset):
279279
fields = {}
280280
if "U" in ds.data_vars and "V" in ds.data_vars:
281281
fields["U"] = Field("U", ds["U"], grid)
282-
fields["V"] = Field("V", ds["V"])
282+
fields["V"] = Field("V", ds["V"], grid)
283283
fields["U"].units = GeographicPolar()
284284
fields["V"].units = Geographic()
285285

0 commit comments

Comments
 (0)