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_lev
ndarray, shape (nlev,) Pressure at atmospheric levels.
- paramsdict[str,
ndarray] Parameter dictionary containing:
T_stratfloatUpper-atmosphere isothermal temperature in Kelvin.
- Returns:
- T_lev
ndarray, shape (nlev,) Temperature at levels in Kelvin.
- T_lay
ndarray, shape (nlev-1,) Temperature at layer midpoints in Kelvin.