lcl

metpy.calc.lcl(pressure, temperature, dewpt, max_iters=50, eps=1e-05)[source]

Calculate the lifted condensation level (LCL) using from the starting point.

The starting state for the parcel is defined by temperature, dewpt, and pressure.

Parameters:
  • pressure (pint.Quantity) – The starting atmospheric pressure
  • temperature (pint.Quantity) – The starting temperature
  • dewpt (pint.Quantity) – The starting dew point
Returns:

(pint.Quantity, pint.Quantity) – The LCL pressure and temperature

Other Parameters:
 
  • max_iters (int, optional) – The maximum number of iterations to use in calculation, defaults to 50.
  • eps (float, optional) – The desired relative error in the calculated value, defaults to 1e-5.

See also

parcel_profile()

Notes

This function is implemented using an iterative approach to solve for the LCL. The basic algorithm is:

  1. Find the dew point from the LCL pressure and starting mixing ratio
  2. Find the LCL pressure from the starting temperature and dewpoint
  3. Iterate until convergence

The function is guaranteed to finish by virtue of the max_iters counter.

Examples using metpy.calc.lcl