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. The first entry should be the starting point pressure.
  • temperature (pint.Quantity) – The starting temperature
  • dewpt (pint.Quantity) – The starting dew point
Returns:

pint.Quantity – The parcel temperatures at the specified pressure levels.

Examples using metpy.calc.parcel_profile