Crate weather_utils
source ·Expand description
§weather-utils
This crate includes a set of common and useful weather-related computations, such as the temperature unit conversions, computations of humidity/temperature related values (absolute humidity, dew point, heat index), computations of barometric pressure related values (altitude)…
If a computation you need is not present, please feel free to ask for it, or even better contribute it ;-)
§Features
- Conversion from °C to °F.
- Conversion from °F to °C.
- Computation of absolute humidity from temperature and relative humidity.
- Computation of altitude from barometric pressure and temperature.
- Computation of dew point.
- Computation of heat index.
§Documentation:
§License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Modules§
- The units for the measures.
Structs§
- The temperature (either in °C, or in °F).
- The combination of the temperature and the barometric pressure.
- The combination of the temperature and the relative humidity.
Type Aliases§
- The absolute humidity type (in g/m³).
- The altitude type (in m).
- The barometric pressure type (in hPa).
- The relative humidity type (in %).