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 profile

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

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

  • parcel_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 EL to return. Options are ‘top’, ‘bottom’, and ‘all’. Default is the ‘top’ (lowest pressure) EL.

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

parcel_profile()