Function metfor::virtual_temperature_c[][src]

pub fn virtual_temperature_c(
    temperature_c: f64,
    dew_point_c: f64,
    pressure_hpa: f64
) -> Result<f64>

Virtual temperature in Celsius

From the Glossary of Meteorology. http://glossary.ametsoc.org/wiki/Virtual_temperature

  • temperature_c - the temperature of the parcel in Celsius.
  • dew_point_c - the dew point of the parcel in Celsius.
  • pressure_hpa - the pressure of the parcel in hPa

Returns the virtual temperature in Celsius.