Barstow#

exo_skryer.vert_Tp.Barstow(p_lev: Array, params: Dict[str, Array]) Tuple[Array, Array][source]#

Generate a Barstow et al. (2020) temperature profile.

This profile is isothermal at low pressures, follows an adiabat in the middle, and becomes isothermal again at high pressures.

Parameters:
p_levndarray, shape (nlev,)

Pressure at atmospheric levels.

paramsdict[str, ndarray]

Parameter dictionary containing:

  • T_stratfloat

    Upper-atmosphere isothermal temperature in Kelvin.

Returns:
T_levndarray, shape (nlev,)

Temperature at levels in Kelvin.

T_layndarray, shape (nlev-1,)

Temperature at layer midpoints in Kelvin.