earthkit.meteo.wind.coriolis

earthkit.meteo.wind.coriolis(lat: ArrayLike) ArrayLike
earthkit.meteo.wind.coriolis(lat: xarray.DataArray) xarray.DataArray

Compute the Coriolis parameter.

Parameters:

lat (array-like | xarray.DataArray) – Latitude (degrees)

Returns:

The Coriolis parameter (\(s^{-1}\))

Return type:

array-like | xarray.DataArray

Notes

The Coriolis parameter is defined by the following formula:

\[f = 2 \Omega sin(\phi)\]

where \(\Omega\) is the rotation rate of Earth (see earthkit.meteo.constants.omega) and \(\phi\) is the latitude.

Implementations

coriolis() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.