parcel_profile¶
-
metpy.calc.
parcel_profile
(pressure, temperature, dewpt)[source]¶ Calculate the profile a parcel takes through the atmosphere.
The parcel starts at temperature, and dewpt, lifted up dry adiabatically to the LCL, and then moist adiabatically from there. pressure specifies the pressure levels for the profile.
- Parameters
pressure (
pint.Quantity
) – The atmospheric pressure level(s) of interest. This array must be from high to low pressure.temperature (
pint.Quantity
) – The starting temperaturedewpt (
pint.Quantity
) – The starting dewpoint
- Returns
pint.Quantity
– The parcel temperatures at the specified pressure levels.
See also