oceanspy.compute.velocity_magnitude

oceanspy.compute.velocity_magnitude(od)[source]

Compute velocity magnitude.

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

oceandataset used to compute.

Returns
ds: xarray.Dataset
hor_vel: velocity magnitude