earthkit.meteo.thermo.fieldlist.temperature_on_dry_adiabat

earthkit.meteo.thermo.fieldlist.temperature_on_dry_adiabat(p, t_def, p_def=None)

Compute the temperature on a dry adiabat.

Parameters:
  • p (FieldList|Field|float) – Pressure on the dry adiabat (Pa).

  • t_def (FieldList|Field) – Temperature defining the dry adiabat (K).

  • p_def (FieldList|Field|Iterable[float]|float|None) – Pressure defining the dry adiabat (Pa). If None, inferred from the field metadata of t_def. Otherwise, if t_def is a FieldList p must be a FieldList or an array-like of the same length as t_def. If t_def is a Field, p must be a single Field or a float.

Returns:

Temperature on the dry adiabat (K). The result has the same type as the input p (FieldList or Field).

Return type:

FieldList|Field

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