earthkit.meteo.thermo.array.temperature_on_dry_adiabat

earthkit.meteo.thermo.array.temperature_on_dry_adiabat(p, t_def, p_def)

Compute the temperature on a dry adiabat.

Parameters:
  • p (number or array-like) – Pressure on the dry adiabat (Pa)

  • t_def (number or array-like) – Temperature defining the dry adiabat (K)

  • p_def (number or array-like) – Pressure defining the dry adiabat (Pa)

Returns:

Temperature on the dry adiabat (K)

Return type:

number or array-like

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