parcel_profile

metpy.calc.parcel_profile(pressure, temperature, dewpoint)[source]

Calculate the profile a parcel takes through the atmosphere.

The parcel starts at temperature, and dewpoint, 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) – Atmospheric pressure level(s) of interest. This array must be from high to low pressure.

  • temperature (pint.Quantity) – Starting temperature

  • dewpoint (pint.Quantity) – Starting dewpoint

Returns

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

Notes

Only functions on 1D profiles (not higher-dimension vertical cross sections or grids).

Changed in version 1.0: Renamed dewpt parameter to dewpoint

Examples using metpy.calc.parcel_profile