oceanspy.utils.Coriolis_parameter

oceanspy.utils.Coriolis_parameter(Y, omega=7.2921e-05)[source]

Compute Coriolis parameter (both vertical and horizontal components).

\[(f, e) = (\hat{\mathbf{z}}\cdot \left(2\mathbf{\Omega}\right), \hat{\mathbf{y}}\cdot\left(2\mathbf{\Omega}\right)) = (2|\mathbf{\Omega}|\sin{\theta}, 2|\mathbf{\Omega}|\cos{\theta})\]
Parameters
Y: _xr.DataArray or array_like

Y coordinate (latitude)

omega: scalar

Rotation rate of Earth (rad/s)

Returns
f: _xr.DataArray or array_like

Vertical component of the Earth’s rotation vector

e: _xr.DataArray or array_like

Horizontal component of the Earth’s rotation vector