earthkit.meteo.thermo.array.potential_temperature¶
- earthkit.meteo.thermo.array.potential_temperature(t, p)¶
Compute the potential temperature.
- Parameters:
t (
numberorarray-like) – Temperature (K)p (
numberorarray-like) – Pressure (Pa)
- Returns:
Potential temperature (K)
- Return type:
numberorarray-like
The computation is based on the following formula [Wallace2006]:
\[\theta = t \left(\frac{10^{5}}{p}\right)^{\kappa}\]with \(\kappa = R_{d}/c_{pd}\) (see
earthkit.meteo.constants.kappa).