Function metfor::rh
[−]
[src]
pub fn rh(temperature_c: f64, dew_point_c: f64) -> Result<f64>
Calculate the relative humidity.
temperature_c
- The temperature of the parcel in Celsius.dew_point_c
- The dew point of the parcel in Celsius.
Returns: The relative humidity as a decimal, i.e. 0.95 instead of 95%.