use-weather-forecast 0.1.0

Primitive forecast vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    32 out of 32 items documented1 out of 15 items with examples
  • Size
  • Source code size: 12.66 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 913.76 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-meteorology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-weather-forecast

Primitive forecast vocabulary.

use-weather-forecast models forecast identifiers, forecast kinds, forecast confidence labels, forecast horizons, and descriptive forecast periods. It does not generate forecasts, fetch forecast data, score forecast skill, or implement alerting systems.

use use_weather_forecast::{ForecastConfidence, ForecastHorizon, ForecastId, ForecastKind};

let identifier = ForecastId::new("short-range-001").unwrap();
let horizon = ForecastHorizon::new(24);

assert_eq!(identifier.as_str(), "short-range-001");
assert_eq!(horizon.hours(), 24);
assert_eq!(ForecastKind::ShortRange.to_string(), "short-range");
assert_eq!(ForecastConfidence::High.to_string(), "high");