earthkit.meteo.thermo.temperature_on_dry_adiabat

earthkit.meteo.thermo.temperature_on_dry_adiabat(p: ArrayLike, t_def: ArrayLike, p_def: ArrayLike) ArrayLike
earthkit.meteo.thermo.temperature_on_dry_adiabat(p: xarray.DataArray, t_def: xarray.DataArray, p_def: xarray.DataArray) xarray.DataArray
earthkit.meteo.thermo.temperature_on_dry_adiabat(p: earthkit.data.FieldList, t_def: earthkit.data.FieldList, p_def: earthkit.data.FieldList) earthkit.data.FieldList

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

Implementations

temperature_on_dry_adiabat() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.