powered by
Return Vapor pressure deficit given dry-bulb temperature, humidity ratio, and pressure.
GetVaporPressureDeficit(TDryBulb, HumRatio, Pressure)
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]
A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]
A numeric vector of atmospheric pressure in Psi [IP] or Pa [SI]
A numeric vector of vapor pressure deficit in Psi [IP] or Pa [SI]
Oke (1987) eqn 2.13a
# NOT RUN { SetUnitSystem("IP") GetVaporPressureDeficit(80:100, 0.01, 14.175) SetUnitSystem("SI") GetVaporPressureDeficit(20:30, 0.01, 95461.0) # }
Run the code above in your browser using DataLab