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