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 profiletemperature (
pint.Quantity
) – Atmospheric temperature profiledewpt (
pint.Quantity
) – Atmospheric dewpoint profileparcel_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
– The pressure of the mixed parcelpint.Quantity
– The temperature of the mixed parcelpint.Quantity
– The dewpoint of the mixed parcel