DPfromE: DPfromE

DPfromER Documentation

DPfromE

Description

Finds the dew point given the water vapor pressure

Usage

DPfromE(.E)

Arguments

.E

A numeric representing the water vapor pressure in hPa (vector OK)

Details

The Murphy-Koop equation for water vapor pressure is inverted to find the dew point (in deg. C) from the water vapor pressure (in hPa). The inversion uses the R routine nleqslv. This gives the temperature where the equilibrium vapor pressure matches the supplied vapor pressure, but without consideration of the "enhancement factor" that changes the equilibrium pressure in the presence of air or another gas.

Value

A numeric vector representing the dewpoint in deg. C corresponding to the input vapor pressure.

Author(s)

William Cooper"

Examples

DP <- DPfromE (0.01)
DPa <- DPfromE (RAFdata$EWX)

NCAR/Ranadu documentation built on Jan. 27, 2023, 1:09 a.m.