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§
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.