SH2RH {humidity} | R Documentation |
convert specific humidity into relative humidity
Description
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
.
Usage
SH2RH(q, t, p = 101325, isK = TRUE)
Arguments
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. |
Value
numeric relative humidity in
Author(s)
Jun Cai (cai-j12@mails.tsinghua.edu.cn), PhD candidate from Department of Earth System Science, Tsinghua University
See Also
Examples
SH2RH(0.005867353, 22.25, p = 101325, isK = FALSE)
[Package humidity version 0.1.5 Index]