earthkit.meteo.thermo.lcl

earthkit.meteo.thermo.lcl(t: ArrayLike, td: ArrayLike, p: ArrayLike, method: str = 'davies') tuple[ArrayLike, ArrayLike]
earthkit.meteo.thermo.lcl(t: xarray.DataArray, td: xarray.DataArray, p: xarray.DataArray, method: str = 'davies') tuple[xarray.DataArray, xarray.DataArray]
earthkit.meteo.thermo.lcl(t: earthkit.data.FieldList, td: earthkit.data.FieldList, p: earthkit.data.FieldList, method: str = 'davies') tuple[earthkit.data.FieldList, earthkit.data.FieldList]

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

Parameters:
  • t (number or array-like) – Temperature at the start level (K)

  • td (number or array-like) – Dewpoint at the start level (K)

  • p (number or array-like) – Pressure at the start level (Pa) method: str

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

Returns:

  • number or array-like – Temperature of the LCL (K)

  • number or array-like – Pressure of the LCL (Pa)

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().

Implementations

lcl() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.