earthkit.meteo.wind.xarray.w_from_omega¶
- earthkit.meteo.wind.xarray.w_from_omega(omega, t, p)¶
Compute the hydrostatic vertical velocity from pressure velocity, temperature and pressure.
- Parameters:
omega (
xarray.DataArray) – Hydrostatic pressure velocity (Pa/s)t (
xarray.DataArray) – Temperature (K)p (
xarray.DataArray) – Pressure (Pa)
- Returns:
Hydrostatic vertical velocity (m/s)
- Return type:
xarray.DataArray
Notes
The computation is based on the following hydrostatic formula:
\[w = - \frac{\omega t R_{d}}{p g}\]where
\(R_{d}\) is the specific gas constant for dry air (see
earthkit.meteo.constants.Rd).\(g\) is the gravitational acceleration (see
earthkit.meteo.constants.g)