oceanspy.compute.survey_aligned_velocities

oceanspy.compute.survey_aligned_velocities(od)[source]

Compute horizontal velocities orthogonal and tangential to a survey.

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

oceandataset used to compute

Returns
ds: xarray.Dataset
rot_ang_Vel: Angle to rotate geographical to survey aligned velocities
tan_Vel: Velocity component tangential to survey
ort_Vel: Velocity component orthogonal to survey

See also

subsample.survey_stations