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 oft_def. Otherwise, ift_defis a FieldListpmust be a FieldList or an array-like of the same length ast_def. Ift_defis a Field,pmust 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).