earthkit.meteo.thermo.pressure_on_dry_adiabat

earthkit.meteo.thermo.pressure_on_dry_adiabat(t: ArrayLike, t_def: ArrayLike, p_def: ArrayLike) ArrayLike
earthkit.meteo.thermo.pressure_on_dry_adiabat(t: xarray.DataArray, t_def: xarray.DataArray, p_def: xarray.DataArray) xarray.DataArray
earthkit.meteo.thermo.pressure_on_dry_adiabat(t: earthkit.data.FieldList, t_def: earthkit.data.FieldList, p_def: earthkit.data.FieldList) earthkit.data.FieldList

Compute the pressure on a dry adiabat.

Parameters:
  • t (number or array-like) – Temperature on the dry adiabat (K)

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

Pressure on the dry adiabat (Pa)

Return type:

number or array-like

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

Implementations

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