The function calculates several properties of humid air described as output variables below. The program is based on equations from List1971;textualTrenchR and code implementation from NicheMapR Kearney2017,Kearney2020TrenchR.
WETAIR must be used in conjunction with VAPPRS. Input variables are shown below. See Details.
cp: numeric specific heat of air at constant pressure (J kg-1 K-1)
wtrpot: numeric water potential (Pa)
rh: numeric relative humidity (%)
Arguments
db
numeric dry bulb temperature (C).
wb
numeric wet bulb temperature (C).
rh
numeric relative humidity (%).
dp
numeric dew point temperature (C).
bp
numeric barometric pressure (Pa).
Details
The user must supply known values for DB and BP (BP at one standard atmosphere is 101,325 pascals). Values for the remaining variables are determined by whether the user has either (1) psychrometric data (WB or RH), or (2) hygrometric data (DP):
Psychrometric data: If WB is known but not RH, then set RH = -1 and DP = 999. If RH is known but not WB then set WB = 0 and DP = 999
Hygrometric data: If DP is known, set WB = 0 and RH = 0