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
earthkit.meteo.wind.w_from_omega(omega: earthkit.data.FieldList, t: earthkit.data.FieldList, p: earthkit.data.FieldList) earthkit.data.FieldList
earthkit.meteo.wind.w_from_omega(omega: earthkit.data.Field, t: earthkit.data.Field, p: earthkit.data.Field) earthkit.data.Field

Compute the hydrostatic vertical velocity from pressure velocity.

Parameters:
  • omega (array-like | xarray.DataArray | FieldList | Field) – Hydrostatic pressure velocity (Pa/s)

  • t (array-like | xarray.DataArray | FieldList | Field) – Temperature (K)

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

Returns:

Hydrostatic vertical velocity (m/s)

Return type:

array-like | xarray.DataArray | FieldList | Field

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.