You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Note that it is unclear which vertical velocity ('w' or 'omega') to use in 3D CROCO fields.\nSee https://docs.oceanparcels.org/en/latest/examples/tutorial_croco_3D.html for more information",
745
-
FieldSetWarning,
746
-
stacklevel=2,
747
-
)
745
+
if"W"invariablesandvariables["W"] =="omega":
746
+
warnings.warn(
747
+
"Note that Parcels expects 'w' for vertical velicites in 3D CROCO fields.\nSee https://docs.oceanparcels.org/en/latest/examples/tutorial_croco_3D.html for more information",
748
+
FieldSetWarning,
749
+
stacklevel=2,
750
+
)
748
751
if"H"notinvariables:
749
752
raiseValueError("FieldSet.from_croco() requires a field 'H' for the bathymetry")
753
+
if"Zeta"notinvariables:
754
+
raiseValueError("FieldSet.from_croco() requires a field 'Zeta' for the free_surface")
0 commit comments