powered by
Computes specific humidity from given relative humidity, temperature and pressure.
rh2sh(RH, tempk, Pz, ice)
Relative humidity (%).
Air temperature in K
Air pressure in hPa
Whether over water or ice surface (0,1).
Specific humidity (kg/kg).
Brutsaert, W.: 1982, Evaporation into the atmosphere : theory, history, and applications, Reidel, Dordrecht. 1984 edition.
wvapsat
# NOT RUN { plot(250:300-273.15,rh2sh(50, 250:300, 1013, 0),xlab='Temperature [C]', ylab='specific humidity', main='Specific humidity for RH=0.5 and varying temperature') # }
Run the code above in your browser using DataLab