Skip to content

Commit fdb9f69

Browse files
Velocity field names are not part of any uxarray convention
Velocity field names in uxarray datasets are determined by the parent models and their post-processing tools
1 parent 6079339 commit fdb9f69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parcels/_core/fieldset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ def _discover_fesom2_U_and_V(ds: ux.UxDataset) -> ux.UxDataset:
430430
if ux_standard_name_U in ds.ux.standard_names:
431431
if ux_standard_name_V not in ds.ux.standard_names:
432432
raise ValueError(
433-
f"Dataset has variable with UXArray standard name {ux_standard_name_U!r}, "
434-
f"but not the matching variable with UXArray standard name {ux_standard_name_V!r}. "
433+
f"Dataset has variable with standard name {ux_standard_name_U!r}, "
434+
f"but not the matching variable with standard name {ux_standard_name_V!r}. "
435435
"Please rename the appropriate variables in your dataset to have both 'U' and 'V' for Parcels simulation."
436436
)
437437
else:

0 commit comments

Comments
 (0)