weather-reports

A collection of weather report parsers

crates.io weather-reportsweather-reports codecov

Supported Formats

Demo

```

cargo run --release --example parse - KSEA 290353Z 01008KT 10SM SCT200 19/09 A3004 RMK AO2 SLP179 T01940094 MetarReport { identifier: "KSEA", observationtime: ZuluDateTime { dayofmonth: 29, hour: 3, minute: 53, iszulu: true, }, observationtype: None, wind: Some( Wind { direction: Some( 0.17453292519943295, ), speed: 4.115555555555556 m^1 s^-1, peakgust: None, variance: None, }, ), visibility: Some( Visibility { prevailing: 16093.44 m^1, minimumdirectional: None, maximumdirectional: None, }, ), runwayvisibility: [], runwayreports: [], weather: [], cloudcover: [ CloudCover { coverage: Scattered, base: Some( 6096.0 m^1, ), cloudtype: None, }, ], cavok: false, temperatures: Some( Temperatures { air: 292.15 K^1, dewpoint: Some( 282.15 K^1, ), }, ), pressure: Some( 300400.0 m^-1 kg^1 s^-2, ), accumulatedrainfall: None, isclosed: false, colorstate: None, nextcolorstate: None, recentweather: [], seaconditions: None, trends: [], remark: Some( "RMK AO2 SLP179 T01940094\n", ), maintenanceneeded: false, } Success! ```