el#

metpy.calc.el(pressure, temperature, dewpoint, parcel_temperature_profile=None, which='top')#

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) – Atmospheric pressure profile

  • temperature (pint.Quantity) – Temperature at the levels given by pressure

  • dewpoint (pint.Quantity) – Dewpoint at the levels given by pressure

  • parcel_temperature_profile (pint.Quantity, optional) – The parcel’s 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 – EL pressure, or array of same if which=’all’

  • pint.Quantity – EL temperature, or array of same if which=’all’

See also

parcel_profile

Notes

Only functions on 1D profiles (not higher-dimension vertical cross sections or grids). Since this function returns scalar values when given a profile, this will return Pint Quantities even when given xarray DataArray profiles.

Changed in version 1.0: Renamed dewpt parameter to dewpoint