moist_lapse

metpy.calc.moist_lapse(pressure, temperature, ref_pressure=None)[source]

Calculate the temperature at a level assuming liquid saturation processes.

This function lifts a parcel starting at temperature. The starting pressure can be given by ref_pressure. Essentially, this function is calculating moist pseudo-adiabats.

Parameters
  • pressure (pint.Quantity) – The atmospheric pressure level(s) of interest

  • temperature (pint.Quantity) – The starting temperature

  • ref_pressure (pint.Quantity, optional) – The reference pressure. If not given, it defaults to the first element of the pressure array.

Returns

pint.Quantity – The temperature corresponding to the starting temperature and pressure levels.

See also

dry_lapse()

Calculate parcel temperature assuming dry adiabatic processes

parcel_profile()

Calculate complete parcel profile

Notes

This function is implemented by integrating the following differential equation:

\[\frac{dT}{dP} = \frac{1}{P} \frac{R_d T + L_v r_s} {C_{pd} + \frac{L_v^2 r_s \epsilon}{R_d T^2}}\]

This equation comes from [Bakhshaii2013].