Convert specific humidity to relative humidity
Arguments
- qair
specific humidity, dimensionless (e.g. kg/kg) ratio of water mass / total air mass
- temp
degrees C
- press
pressure in mb
Details
converting specific humidity into relative humidity NCEP surface flux data does not have RH from Bolton 1980 The computation of Equivalent Potential Temperature http://www.eol.ucar.edu/projects/ceop/dm/documents/refdata_report/eqns.html
This function is lifetd from the data.atmosphere package https://github.com/PecanProject/pecan/blob/master/modules/data.atmosphere/R/metutils.R