el¶
-
metpy.calc.
el
(pressure, temperature, dewpt, parcel_temperature_profile=None, which='top')[source]¶ Calculate the equilibrium level.
This works by finding the last intersection of the ideal parcel path and the measured environmental temperature. If there is one or fewer intersections, there is no equilibrium level.
- Parameters
pressure (
pint.Quantity
) – The atmospheric pressure profiletemperature (
pint.Quantity
) – The temperature at the levels given by pressuredewpt (
pint.Quantity
) – The dewpoint at the levels given by pressureparcel_temperature_profile (
pint.Quantity
, optional) – The parcel temperature profile from which to calculate the EL. Defaults to the surface parcel profile.which (str, optional) – Pick which LFC to return. Options are ‘top’, ‘bottom’, ‘wide’, ‘most_cape’, and ‘all’. ‘top’ returns the lowest-pressure EL, default. ‘bottom’ returns the highest-pressure EL. ‘wide’ returns the EL whose corresponding LFC is farthest away. ‘most_cape’ returns the EL that results in the most CAPE in the profile.
- Returns
pint.Quantity
– The EL pressure, or array of same if which=’all’pint.Quantity
– The EL temperature, or array of same if which=’all’
See also