konrad.lapserate.get_moist_adiabat

konrad.lapserate.get_moist_adiabat(p, p_s=None, T_s=300.0, T_min=155.0, lapserate=None)[source]

Create a moist-adiabat from a given surface T up to the cold point.

Warning

For very high surface temperatures (>320 K) the pressure grid needs a high resolution, otherwise the integration becomes unstable due to the large lapse-rate at low pressures.

Parameters
  • p (ndarray) – Pressure levels [Pa].

  • p_s (float) – Surface pressure [Pa].

  • T_s (float) – Surface temperautre [K].

  • T_min (float) – Cold-point temperature (constant temperature above).

  • lapserate (konrad.lapserate.LapseRate) – Lapse-rate component.

Returns

ndarray – Moist-adiabativ temperature profile.