earthkit.meteo.wind.w_from_omega

earthkit.meteo.wind.w_from_omega(omega: ArrayLike, t: ArrayLike, p: ArrayLike) ArrayLike
earthkit.meteo.wind.w_from_omega(omega: xarray.DataArray, t: xarray.DataArray, p: xarray.DataArray) xarray.DataArray

Compute the hydrostatic vertical velocity from pressure velocity.

Parameters:
  • omega (array-like) – Hydrostatic pressure velocity (Pa/s)

  • t (array-like) – Temperature (K)

  • p (array-like | xarray.DataArray) – Pressure (Pa)

Returns:

Hydrostatic vertical velocity (m/s)

Return type:

array-like | xarray.DataArray

Notes

The computation is based on the following hydrostatic formula:

\[w = - \frac{\omega t R_{d}}{p g}\]

where

Implementations

w_from_omega() 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.