earthkit.meteo.thermo.xarray.temperature_on_dry_adiabat¶
- earthkit.meteo.thermo.xarray.temperature_on_dry_adiabat(p, t_def, p_def)¶
Compute the temperature on a dry adiabat.
- Parameters:
p (
xarray.DataArray) – Pressure on the dry adiabat (Pa)t_def (
xarray.DataArray) – Temperature defining the dry adiabat (K)p_def (
xarray.DataArray) – Pressure defining the dry adiabat (Pa)
- Returns:
Temperature on the dry adiabat (K)
- Return type:
xarray.DataArray
The computation is based on the following formula:
\[t = t_{def} (\frac{p}{p_{def}})^{\kappa}\]with \(\kappa = R_{d}/c_{pd}\) (see
earthkit.meteo.constants.kappa).