wvapsat: Saturation pressure of water vapor

Description Usage Arguments Value Author(s) References Examples

View source: R/wvapsat.R

Description

Computes the saturation pressure of water vapour in air over water or ice.

Usage

1
wvapsat(tempk, ice)

Arguments

tempk

Air temperature [K].

ice

Over water or ice [0,1].

Value

Partial pressure of water vapour [hPa].

Author(s)

Javier G. Corripio

References

Lowe, P. R.: 1977, An approximating polynomial for the computation of saturation vapor pressure, Journal of Applied Meteorology 16, 100-103.

Examples

1
2
3
4
5
6
7
8
9
## Plot the differences saturation pressure over water and over ice
plot(wvapsat(250:300), xlab='Temperature', ylab='saturation vapour pressure [hPa]')

Tair = 223:273
plot(Tair,wvapsat(Tair),ty='l',lwd=2,col=4,xlab='Temperature', 
	ylab='saturation vapour pressure [hPa]')
lines(Tair,wvapsat(Tair,ice=1),col=8)
legend('topleft',c('saturation pressure over water','saturation pressure over ice'),
col=c(4,8),lwd=2)

insol documentation built on Jan. 16, 2019, 5:04 p.m.