Crate meteo_tools

Source
Expand description

§meteo_tools

A crate for counting and converting meteorological units.

This crate can convert and count meteorological values from measurements. Like conversion from C to F and Kelvin and vice versa. Counting dew point, heat index, humidex, mixing ratio, absolute humidity, and others will be added soon. See the docs for all functionality.

Re-exports§

pub use self::conversions::temperature::celsius_to_fahrenheit;
pub use self::conversions::temperature::celsius_to_kelvin;
pub use self::conversions::temperature::fahrenheit_to_celsius;
pub use self::conversions::temperature::fahrenheit_to_kelvin;
pub use self::conversions::temperature::kelvin_to_celsius;
pub use self::conversions::temperature::kelvin_to_fahrenheit;
pub use self::conversions::pressure::hpa_to_inhg;
pub use self::conversions::pressure::hpa_to_mmhg;
pub use self::conversions::pressure::inhg_to_hpa;
pub use self::conversions::pressure::mmhg_to_hpa;
pub use self::conversions::wind_speed::kmph_to_knots;
pub use self::conversions::wind_speed::kmph_to_mph;
pub use self::conversions::wind_speed::kmph_to_mps;
pub use self::conversions::wind_speed::knots_to_kmph;
pub use self::conversions::wind_speed::knots_to_mph;
pub use self::conversions::wind_speed::knots_to_mps;
pub use self::conversions::wind_speed::mph_to_kmph;
pub use self::conversions::wind_speed::mph_to_knots;
pub use self::conversions::wind_speed::mph_to_mps;
pub use self::conversions::wind_speed::mps_to_kmph;
pub use self::conversions::wind_speed::mps_to_knots;
pub use self::conversions::wind_speed::mps_to_mph;

Modules§

conversions

Functions§

celsius_absolute_humidity
Calculates absolute humidity using Magnus-Tetens formula using Celsius with common atmospheric pressure using constant.
celsius_dew_point
Calculates dew point using Magnus-Tetens formula using Celsius with given atmospheric pressure correction in hPa. Needs atmospheric pressure measurement in hPa in f64.
celsius_heat_index
Calculates heat index based on Rothfusz regression equation for Celsius.
celsius_humidex
Counts humidex for Celsius from given values. Uses Celsius with given atmospheric pressure correction in hPa. Needs atmospheric pressure measurement in hPa in f64.
celsius_mixing_ratio
Calculates mixing ratio using Magnus-Tetens formula using Celsius with precise atm. pressure given.
common_celsius_dew_point
Calculates dew point using Magnus-Tetens formula using Celsius with common atmospheric pressure using constant.
common_celsius_humidex
Counts humidex for Celsius from given values. Uses common dew point algorithm.
common_celsius_mixing_ratio
Calculates mixing ratio using Magnus-Tetens formula using Celsius with common atmospheric pressure using constant.
common_fahrenheit_dew_point
Calculates common dew point using Magnus-Tetens formula using Fahrenheit with common atmospheric pressure using constant.
common_fahrenheit_humidex
Counts humidex for Fahrenheit from given values. Uses common dew point algorithm.
common_fahrenheit_mixing_ratio
Calculates mixing ratio using Magnus-Tetens formula using Celsius with common atmospheric pressure using constant.
fahrenheit_absolute_humidity
Calculates absolute humidity using Magnus-Tetens formula using Fahrenheit with common atmospheric pressure using constant.
fahrenheit_dew_point
Calculates dew point using Magnus-Tetens formula using Fahrenheit with given atmospheric pressure correction in hPa. Needs atmospheric pressure measurement in hPa in f64.
fahrenheit_heat_index
Calculates heat index based on Rothfusz regression equation for Fahrenheits.
fahrenheit_humidex
Counts humidex for Fahrenheit from given values. Uses Fahrenheit with given atmospheric pressure correction in hPa.
fahrenheit_mixing_ratio
Calculates mixing ratio using Magnus-Tetens formula using Celsius with with precise atm. pressure given.