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 (
numberorarray-like) – Temperature at the start level (K)td (
numberorarray-like) – Dewpoint at the start level (K)p (
numberorarray-like) – Pressure at the start level (Pa) method: strmethod (
str, optional) – The computation method: “davies” or “bolton”.
- Returns:
numberorarray-like– Temperature of the LCL (K)numberorarray-like– Pressure of the LCL (Pa)
The LCL temperature is determined by
lcl_temperature()with the givenmethodand the pressure is computed with \(t_{LCL}\) usingpressure_on_dry_adiabat().Implementations¶
lcl()calls one of the following implementations depending on the type of the input arguments:earthkit.meteo.thermo.array.lcl()for array-likeearthkit.meteo.thermo.xarray.lcl()for xarray.DataArrayearthkit.meteo.thermo.fieldlist.lcl()for FieldList
The function returns an object of the same type as the input arguments.