Function metfor::dew_point_from_p_and_mw[][src]

pub fn dew_point_from_p_and_mw<P>(pressure: P, mw: f64) -> Option<Celsius> where
    P: Pressure,
    HectoPascal: From<P>, 
Expand description

Given a mixing ratio and pressure, calculate the dew point temperature. If saturation is assumed, this is also the temperature.

Returns: The dew point.