 NCL Home > Documentation > Functions > Meteorology

# tlcl_rh_bolton

Compute the lifting condensation level temperature using relative humidity. Available in version 6.5.0 and later.

## Prototype

```load "\$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"  ; This library is automatically loaded
; from NCL V6.2.0 onward.
; No need for user to explicitly load.

function tlcl_rh_bolton (
t          : numeric,  ; float, double, integer only
rh         : numeric,
iounit  : integer
)

return_val [dimsizes(t)] :  float or double
```

## Arguments

t

A scalar or array containing temperature (units: degC, degK, degF). If t and rh are arrays they must be the same size and shape.

rh

A scalar or array containing relative humidity (%). If rh and t are arrays they must be the same size and shape.

iounit

An integer array of length 2 which specifies the units of the input t and the units of the returned variable.

• iounit(0)=0 input t in degrees Celcius (degC)
• iounit(0)=1 input t in degrees Kelvin (degK)
• iounit(0)=2 input t in degrees Farenheit (degF)

• iounit(1)=0 output tlcl are degrees Celcius (degC)
• iounit(1)=1 output tlcl are degrees Kelvin (degK)
• iounit(1)=2 output tlcl are degrees Farenheit (degF)

## Return value

A variable of the same size and shape as t.

## Description

The lifted condensation level or lifting condensation level (LCL) is formally defined as the height or pressure at which the relative humidity (RH) of an air parcel will reach 100% with respect to liquid water when it is cooled by dry adiabatic lifting. The temperature at the LCL is denoted as the 'lifted condensation level temperature' (tlcl). In theory, the lifting condensation level (LCL) is for a parcel of air lifted from the surface.

This function is based on Equation 22 in Bolton (1980).

An interactive lifting condensation level calculator is available here.

```References:

Bolton, D. (1980): The Computation of Equivalent Potential Temperature
Monthly Weather Review, vol. 108, no. 7 (july),  p. 1047

Wikipedia: Lifted Condensation Level
```

## Examples

Example 1: Calculate the temperature at the lifted condensation level (tlcl) using tlcl_rh_bolton. Table 2 (Bolton, 1980) shows the result as 14.383 C.

```
t    = 20         ; C   ==>  iounit(0)=0
rh   = 75         ; %
tlcl = tlcl_rh_bolton(t, rh, (/0,0/))  ; C ==>  iounit(1)=0
printVarSummary(tlcl)

```
The output variable with meta data is:
```   Variable: tlcl
Type: float
Total Size: 4 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes:	
Coordinates:
Number Of Attributes: 4
long_name :	temperature: LCL
units :	degC
source :	Bolton (1980): Eq. 22: Relative Humidity
NCL :	tlcl_rh_bolton

14.39023

```

Example 2: Read temperature (T [degK; iounit(0)=1]) and relative humidity (RELHUM [%]); calculate the temperatures (degC; iounit(1)=0) at the lifted condensation level.

```
t  = a->T                  ; K   ==> iounit(0)=1
rh = a->RELHUM             ; %

tlcl = tlcl_rh_bolton(t, rh, (/1,0/)) ; C   ==> iounit(1)=0
printVarSummary(tlcl)
printMinMax(tlcl,0)

```
The edited output is:
```
Variable: tlcl
Type: float
Total Size: 1437696 bytes
359424 values
Number of Dimensions: 4
Dimensions and sizes:	[time | 1] x [lev | 26] x [lat | 96] x [lon | 144]
Coordinates:
time: [3132..3132]
lev: [3.54463800000001..992.5560999999998]
lat: [ -90..89.99999999999999]
lon: [   0..357.5]
Number Of Attributes: 4
long_name :	temperature: LCL
units :	degC
source :	Bolton (1980): Eq. 22: Relative Humidity
NCL :	tlcl_rh_bolton

temperature: LCL (degC) : min=-108.178   max= 25.114
```