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§
- unit
- The units for the measures.
Structs§
- Temperature
- The temperature (either in °C, or in °F).
- Temperature
AndBarometric Pressure - The combination of the temperature and the barometric pressure.
- Temperature
AndRelative Humidity - The combination of the temperature and the relative humidity.
Type Aliases§
- Absolute
Humidity - The absolute humidity type (in g/m³).
- Altitude
- The altitude type (in m).
- Barometric
Pressure - The barometric pressure type (in hPa).
- Relative
Humidity - The relative humidity type (in %).