xoa.dyn.get_v#
- xoa.dyn.get_v(ds, variant=None, errors='ignore')[source]#
Search for a northward or along-Y velocity variable in a dataset
See
get_u()for the details.- Parameters:
ds (xarray.Dataset)
variant ({None, 'generic', 'geo', 'grid', 'geos', 'bt', 'bc', 'surf'}) –
Restrict checking to a given variant(s)
None: Currents, i.e. all but the geostrophic and baroclinic ones'generic': velocity of unknown orientation'geo': eastward and northward velocity'grid': velocity along the grid axes'geos': geostrophic velocity'bt': barotropic velocity'bc': baroclinic velocity'surf': surface velocity
errors (str) – Error handling:
"ignore","warn"or"raise".
- Returns:
xarray.DataArray, None – The velocity array, or None if not found.
See also