parcel_profile_with_lcl_as_dataset(pressure, temperature, dewpoint)¶
Calculate the profile a parcel takes through the atmosphere, returning a Dataset.
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. This function returns a profile that includes the LCL.
pint.Quantity) – The atmospheric pressure level(s) of interest. This array must be from high to low pressure.
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.
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.
xarray.Dataset) – The interpolated profile with three data variables: ambient_temperature, ambient_dew_point, and profile_temperature, all of which are on an isobaric coordinate.
Only functions on 1D profiles (not higher-dimension vertical cross sections or grids).