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 temperaturedewpoint (
pint.Quantity
) – Starting dewpoint
- Returns
pint.Quantity
– The parcel’s temperatures at the specified pressure levels
See also
Notes
Only functions on 1D profiles (not higher-dimension vertical cross sections or grids).
Changed in version 1.0: Renamed
dewpt
parameter todewpoint