oceanspy.compute.horizontal_velocity_magnitude

oceanspy.compute.horizontal_velocity_magnitude(od)[source]

Compute magnitude of horizontal velocity.

\[||\mathbf{u}_H||= \left(u^2+v^2\right)^{1/2}\]
Parameters
od: OceanDataset

oceandataset used to compute.

Returns
ds: xarray.Dataset
hor_vel: magnitude of horizontal velocity