dry_lapse¶
-
metpy.calc.dry_lapse(pressure, temperature, ref_pressure=None)[source]¶ Calculate the temperature at a level assuming only dry processes.
This function lifts a parcel starting at temperature, conserving potential temperature. The starting pressure can be given by ref_pressure.
- Parameters
pressure (
pint.Quantity) – The atmospheric pressure level(s) of interesttemperature (
pint.Quantity) – The starting temperatureref_pressure (
pint.Quantity, optional) – The reference pressure. If not given, it defaults to the first element of the pressure array.
- Returns
pint.Quantity– The resulting parcel temperature at levels given by pressure
See also
moist_lapse()Calculate parcel temperature assuming liquid saturation processes
parcel_profile()Calculate complete parcel profile