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:
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).