Function metfor::mixing_ratio[][src]

pub fn mixing_ratio<T, P>(dew_point: T, pressure: P) -> Option<f64> where
    T: Temperature,
    Celsius: From<T>,
    P: Pressure,
    HectoPascal: From<P>, 
Expand description

Calculate the mixing ratio of water.

Eq 5.9 from “Weather Analysis” by Dušan Dujrić

Returns: The mixing ratio as a unitless value. Note this is often reported as g/kg, but this function returns kg/kg.