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 |
icebulb |
A logical indicating whether to calculate the temperature of an ice-bulb (if |
verbose |
A logical indicating whether or not to print warning messages. Default is |
lewis |
The Lewis number for moist air. Default is |
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)