w_from_omega
- w_from_omega(omega, t[, p])
Computes the hydrostatic vertical velocity from pressure velocity (
omega) for a given temperature (t) and pressure (p).- Parameters
- Return type
same type as
omegaor None
The result is the vertical velocity in m/s units. On error None is returned. The following rules are applied when
omegais aFieldset:if
omegais a pressure levelFieldsetnopis neededif
omegais defined on ECMWF model levels (hybrid/eta)pmust be either a single LNSP (logarithm of surface pressure, identified by paramId=152) field or aFieldsetdefining the pressure on the same levels asomegafor other level types
pmust be aFieldsetdefining the pressure on the same levels asomega.
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 (287.058 J/(kg K)).
g is the gravitational acceleration (9.81 m/s2)