rh2sh: Relative humidity to specific humidity

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/rh2sh.R

Description

Computes specific humidity from given relative humidity, temperature and pressure.

Usage

1
rh2sh(RH, tempk, Pz, ice)

Arguments

RH

Relative humidity (%).

tempk

Air temperature in K

Pz

Air pressure in hPa

ice

Whether over water or ice surface (0,1).

Value

Specific humidity (kg/kg).

Author(s)

Javier G. Corripio

References

Brutsaert, W.: 1982, Evaporation into the atmosphere : theory, history, and applications, Reidel, Dordrecht. 1984 edition.

See Also

wvapsat

Examples

1
2
3
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')

insol documentation built on Feb. 10, 2021, 5:08 p.m.