easyclimate.physics.lcl#

Lifting Condensation Level (LCL)

Functions#

calc_lifting_condensation_level_bolton1980(...)

Calculate lifting condensation level using Bolton (1980) approximation.

calc_lifting_condensation_level_Bohren_Albrecht2023(...)

Calculate lifting condensation level using Bohren & Albrecht (2023) approximation.

Module Contents#

easyclimate.physics.lcl.calc_lifting_condensation_level_bolton1980(temperature_data: xarray.DataArray, relative_humidity_data: xarray.DataArray, temperature_data_units: Literal['celsius', 'kelvin', 'fahrenheit'], relative_humidity_data_units: Literal['%', 'dimensionless']) xarray.DataArray#

Calculate lifting condensation level using Bolton (1980) approximation.

\[T_L = \frac{1}{\frac{1}{T_K - 55} - \frac{\ln (U/100)}{2840}} + 55\]

Parameters#

temperature_data: xarray.DataArray.

Atmospheric temperature.

relative_humidity_data: xarray.DataArray.

The relative humidity.

temperature_data_units: str.

The unit corresponding to temperature_data value. Optional values are celsius, kelvin, fahrenheit.

relative_humidity_data_units: str.

The unit corresponding to vapor_pressure_data value. Optional values are %, dimensionless.

Returns#

The lifting condensation level (xarray.DataArray).

See also

easyclimate.physics.lcl.calc_lifting_condensation_level_Bohren_Albrecht2023(pressure_data: xarray.DataArray, temperature_data: xarray.DataArray, dewpoint_data: xarray.DataArray, pressure_data_units: Literal['hPa', 'Pa', 'mbar'], temperature_data_units: Literal['celsius', 'kelvin', 'fahrenheit'], dewpoint_data_units: Literal['celsius', 'kelvin', 'fahrenheit']) xarray.Dataset#

Calculate lifting condensation level using Bohren & Albrecht (2023) approximation.

According to formulation (6.32) in Bohren & Albrecht (2023),

\[T_{LCL}=\frac{1-AT_d}{1/T_d + B\ln(T/T_d)-A}\]

Where

\[A=-\left(\frac{c_{pv}-c_{pw}}{l_r}-\frac{c_{pd}}{\epsilon l_v}\right),\quad B=\frac{c_{pd}}{\epsilon l_v}\]

and

\[l_v=l_{vr} - (c_{pv}-c_{pw})T_r, \quad l_v(T_d)=l_r+(c_{pd} - c_{pw}) T_d\]

Parameters#

pressure_data: xarray.DataArray.

The pressure data set.

temperature_data: xarray.DataArray.

Atmospheric temperature.

dewpoint_data: xarray.DataArray.

The dewpoint temperature.

pressure_data_units: str.

The unit corresponding to pressure_data value. Optional values are hPa, Pa, mbar.

temperature_data_units: str.

The unit corresponding to temperature_data value. Optional values are celsius, kelvin, fahrenheit.

dewpoint_data_units: str.

The unit corresponding to dewpoint_data value. Optional values are celsius, kelvin, fahrenheit.

Returns#

The lifting condensation level (xarray.DataArray).

See also

Bohren, C. F., and B. A. Albrecht, 2023: Atmospheric Thermodynamics Second Edition. Oxford University Press, 579 pp. Website: http://gen.lib.rus.ec/book/index.php?md5=AA3B25841BE3AEBA2628EF9961F58C52