earthkit.meteo.thermo.xarray.lcl

earthkit.meteo.thermo.xarray.lcl(t, td, p, method='davies')

Compute the temperature and pressure of the Lifting Condensation Level (LCL) from dewpoint.

Parameters:
  • t (xarray.DataArray) – Temperature at the start level (K)

  • td (xarray.DataArray) – Dewpoint at the start level (K)

  • p (xarray.DataArray) – Pressure at the start level (Pa) method: str

  • method (str, optional) – The computation method: “davies” or “bolton”.

Returns:

  • xarray.DataArray – Temperature of the LCL (K)

  • xarray.DataArray – Pressure of the LCL (Pa)

Return type:

tuple[xarray.DataArray, xarray.DataArray]

The LCL temperature is determined by lcl_temperature() with the given method and the pressure is computed with \(t_{LCL}\) using pressure_on_dry_adiabat().