mixed_parcel¶
-
metpy.calc.
mixed_parcel
(p, temperature, dewpt, parcel_start_pressure=None, heights=None, bottom=None, depth=<Quantity(100, 'hectopascal')>, interpolate=True)[source]¶ Calculate the properties of a parcel mixed from a layer.
Determines the properties of an air parcel that is the result of complete mixing of a given atmospheric layer.
Parameters: - p (pint.Quantity) – Atmospheric pressure profile
- temperature (pint.Quantity) – Atmospheric temperature profile
- dewpt (pint.Quantity) – Atmospheric dewpoint profile
- parcel_start_pressure (pint.Quantity, optional) – Pressure at which the mixed parcel should begin (default None)
- heights (pint.Quantity, optional) – Atmospheric heights corresponding to the given pressures (default None)
- bottom (pint.Quantity, optional) – The bottom of the layer as a pressure or height above the surface pressure (default None)
- depth (pint.Quantity, optional) – The thickness of the layer as a pressure or height above the bottom of the layer (default 100 hPa)
- interpolate (bool, optional) – Interpolate the top and bottom points if they are not in the given data
Returns: pint.Quantity, pint.Quantity, pint.Quantity – The pressure, temperature, and dewpoint of the mixed parcel.