earthkit.meteo.thermo.fieldlist.pressure_on_dry_adiabat

earthkit.meteo.thermo.fieldlist.pressure_on_dry_adiabat(t, t_def, p_def=None)

Compute the pressure on a dry adiabat.

Parameters:
  • t (FieldList|Field) – Temperature on the dry adiabat (K).

  • 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:

Pressure on the dry adiabat (Pa). The result has the same type as the input t (FieldList or Field).

Return type:

FieldList|Field

The computation is based on the following formula:

\[p = p_{def} (\frac{t}{t_{def}})^{\frac{1}{\kappa}}\]

with \(\kappa = R_{d}/c_{pd}\) (see earthkit.meteo.constants.kappa).