qair2rh | R Documentation |
Convert specific humidity to relative humidity
qair2rh(qair, temp, press = 1013.25)
qair |
specific humidity, dimensionless (e.g. kg/kg) ratio of water mass / total air mass |
temp |
degrees C |
press |
pressure in mb |
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
rh relative humidity, ratio of actual water mixing ratio to saturation mixing ratio
David LeBauer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.