Function metfor::vapor_pressure_water [] [src]

pub fn vapor_pressure_water(dew_point_c: f64) -> Result<f64>

Get the vapor pressure of water using the liquid equation above freezing and the ice equation below freezing.

Uses a combination of the vapor_pressure_ice and vapor_pressure_liquid_water functions above and chooses the most appropriate value.

  • dew_point_c - the dew point in Celsius of the parcel. If saturation is assumed this is also the temperature of the parcel.

Returns: The vapor pressure of water vapor in hPa.