parcel_profile_with_lcl

metpy.calc.parcel_profile_with_lcl(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. This function returns a profile that includes the LCL.

Parameters:
  • pressure (pint.Quantity) – The atmospheric pressure level(s) of interest. The first entry should be the starting point pressure.
  • temperature (pint.Quantity) – The atmospheric temperature at the levels in pressure. The first entry should be the starting point temperature.
  • dewpt (pint.Quantity) – The atmospheric dew point at the levels in pressure. The first entry should be the starting dew point.
Returns:

  • pressure (pint.Quantity) – The parcel profile pressures, which includes the specified levels and the LCL
  • ambient_temperature (pint.Quantity) – The atmospheric temperature values, including the value interpolated to the LCL level
  • ambient_dew_point (pint.Quantity) – The atmospheric dew point values, including the value interpolated to the LCL level
  • profile_temperature (pint.Quantity) – The parcel profile temperatures at all of the levels in the returned pressures array, including the LCL.