earthkit.meteo.wind.fieldlist.w_from_omega

earthkit.meteo.wind.fieldlist.w_from_omega(omega, t, p=None)

Compute the hydrostatic vertical velocity from pressure velocity, temperature and pressure.

Parameters:
  • omega (FieldList|Field) – Hydrostatic pressure velocity (Pa/s).

  • t (FieldList|Field) – Temperature (K). Must have the same number of fields as omega and be of the same type (FieldList or Field).

  • p (FieldList|Field|Iterable[float]|float|None) – Pressure (Pa). If None, inferred from the field metadata of omega. Otherwise, if omega is a FieldList p must be a FieldList or an array-like of the same length as omega. If omega is a Field, p must be a single Field or a float.

Returns:

Hydrostatic vertical velocity (m/s). The result has the same type as the input (FieldList or Field).

Return type:

FieldList|Field

Notes

The computation is based on the following hydrostatic formula:

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

where