moist_lapse¶
-
metpy.calc.
moist_lapse
(pressure, temperature)[source]¶ Calculate the temperature at a level assuming liquid saturation processes.
This function lifts a parcel starting at temperature. The starting pressure should be the first item in the pressure array. 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
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].