qair2rh: qair2rh

View source: R/qair2rh.R

qair2rhR Documentation

qair2rh

Description

Convert specific humidity to relative humidity

Usage

qair2rh(qair, temp, press = 1013.25)

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

Value

rh relative humidity, ratio of actual water mixing ratio to saturation mixing ratio

Author(s)

David LeBauer


andrew-MET/harpPoint documentation built on Feb. 23, 2023, 1:06 a.m.