wetbulb {heatindex}R Documentation

Wet-bulb temperature

Description

wetbulb calculates the thermodynamic (or psychrometric) wet-bulb (or ice-bulb) temperature using the Rankine-Kirchhoff approximations.

Usage

wetbulb(
  p,
  T,
  rh,
  psychrometric = FALSE,
  icebulb = FALSE,
  verbose = TRUE,
  lewis = 0.85
)

Arguments

p

The total air pressuire in Pa. This can be a single number, a vector, a matrix, or an array.

T

The absolute air temperature in Kelvin. This can be a single number, a vector, a matrix, or an array.

rh

The relative humidity of the air, with values in the range of 0 to 1, with respect to saturation over liquid water for air temperatures over 273.16 K and with respect to saturation over ice for air temperatures lower than 273.16 K. This can be a single number, a vector, a matrix, or an array.

psychrometric

A logical indicating whether to calculate the thermodynamic wet-bulb temperature (if FALSE) or the psychometric (a.k.a., ventilated or aspirated) wet-bulb temperature (if TRUE). Default is FALSE.

icebulb

A logical indicating whether to calculate the temperature of an ice-bulb (if TRUE) or wet-bulb (if FALSE). Default is FALSE.

verbose

A logical indicating whether or not to print warning messages. Default is TRUE.

lewis

The Lewis number for moist air. Default is 0.85.

Value

The values of the wet-bulb temperature, in Kelvin, in the same shape as p, T, and rh.

Author(s)

David M. Romps romps@berkeley.edu

References

Romps, D. M. (2025). Wet-bulb temperature from pressure, relative humidity, and air temperature. In review.

Examples

wetbulb(1e5,300,0)
wetbulb(1e5,301:310,0)
wetbulb(1e5,301:310,1:10/10)
wetbulb(1:10*1e4,301:310,1:10/10)

[Package heatindex version 0.0.2 Index]