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
earthkit.meteo.thermo.temperature_on_dry_adiabat(p: earthkit.data.Field, t_def: earthkit.data.Field, p_def: earthkit.data.Field) earthkit.data.Field

Compute the temperature on a dry adiabat.

Parameters:
  • p (array-like | xarray.DataArray | FieldList | Field) – Pressure on the dry adiabat (Pa)

  • t_def (array-like | xarray.DataArray | FieldList | Field) – Temperature defining the dry adiabat (K)

  • p_def (array-like | xarray.DataArray | FieldList | Field) – Pressure defining the dry adiabat (Pa)

Returns:

Temperature on the dry adiabat (K)

Return type:

array-like | xarray.DataArray | 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).

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.