earthkit.meteo.thermo.xarray.pressure_on_dry_adiabat¶
- earthkit.meteo.thermo.xarray.pressure_on_dry_adiabat(t, t_def, p_def)¶
Compute the pressure on a dry adiabat.
- Parameters:
t (
xarray.DataArray) – Temperature on the dry adiabat (K)t_def (
xarray.DataArray) – Temperature defining the dry adiabat (K)p_def (
xarray.DataArray) – Pressure defining the dry adiabat (Pa)
- Returns:
Pressure on the dry adiabat (Pa)
- Return type:
xarray.DataArray
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).