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. This array must be from high to low pressure.temperature (
pint.Quantity
) – The atmospheric temperature at the levels in pressure. The first entry should be at the same level as the first pressure data point.dewpt (
pint.Quantity
) – The atmospheric dewpoint at the levels in pressure. The first entry should be at the same level as the first pressure data point.
- Returns
pressure (
pint.Quantity
) – The parcel profile pressures, which includes the specified levels and the LCLambient_temperature (
pint.Quantity
) – The atmospheric temperature values, including the value interpolated to the LCL levelambient_dew_point (
pint.Quantity
) – The atmospheric dewpoint values, including the value interpolated to the LCL levelprofile_temperature (
pint.Quantity
) – The parcel profile temperatures at all of the levels in the returned pressures array, including the LCL.
See also