SH2RH {humidity} | R Documentation |
Climate models usually provide specific humidity only; however, relative humidity is used to compute heat index that is really useful for health impacts studies. This function converts specific humidity q
into relative humidity \psi
at temperature t
and under atmospheric pressure q
.
SH2RH(q, t, p = 101325, isK = TRUE)
q |
specific humidity |
t |
temperature in Kelvin (K) or in degree Celsius (°C) |
p |
atmospheric pressure in Pascal (Pa). The default is standard atmospheric pressure of 101325Pa. |
isK |
logical indicator whether temperature is in Kelvin (K). The default value is TRUE. |
numeric relative humidity in
Jun Cai (cai-j12@mails.tsinghua.edu.cn), PhD candidate from Department of Earth System Science, Tsinghua University
SH2RH(0.005867353, 22.25, p = 101325, isK = FALSE)