oceanspy.compute.geographical_aligned_velocities

oceanspy.compute.geographical_aligned_velocities(od)[source]

Compute zonal and meridional velocities from U and V on orthogonal curvilinear grid.

\[(u_{zonal}, v_{merid}) = (u\cos{\phi} - v\sin{\phi}, u\sin{\phi} + v\cos{\phi})\]
Parameters
od: OceanDataset

oceandataset used to compute

Returns
ds: xarray.Dataset
U_zonal: zonal velocity
V_merid: meridional velocity