#weather #sounding #meteorology #skew-t

sounding-wyoming-text-list

Library to parse HTML text from University of Wyoming with sounding data

5 unstable releases

0.3.1 Jun 20, 2021
0.3.0 Jun 13, 2021
0.2.0 May 3, 2021
0.1.1 Mar 20, 2021
0.1.0 Feb 15, 2021

#3 in #skew-t

Custom license

270KB
4K SLoC

sounding-wyoming-text-list

Library to parse and iterate over weather soundings retrieved from University of Wyoming.

Retrieve a sounding from the University of Wyoming page in the "Text: List" format, and then pass the text to the parse_text() function and it will return an iterator. The iterator returns (sounding_analysis::Sounding, std::collections::HashMap<&'static str, f64>) items.

The hash map contains indexes and values provided in the text that are not a part of the sounding_analysis::Sounding type. The keys in the hashmap should describe the values.

You may build a program that automatically downloads the soundings from the website or one that loads the text from disk, either way just pass the text into the parse_text() function and it will parse it for you.

The crate was originally built to support sonde, a sounding data viewer and analysis tool.


lib.rs:

Library to parse and iterate over weather soundings retrieved from University of Wyoming.

Retrieve a sounding from the University of Wyoming page in the "Text: List" format, and then pass the text to the parse_text() function and it will return an iterator. The iterator returns (sounding_analysis::Sounding, std::collections::HashMap<&'static str, f64>) items.

The hash map contains indexes and values provided in the text that are not a part of the sounding_analysis::Sounding type. The keys in the hashmap should describe the values.

You may build a program that automatically downloads the soundings from the website or one that loads the text from disk, either way just pass the text into the parse_text() function and it will parse it for you.

The crate was originally built to support sonde, a sounding data viewer and analysis tool.

Dependencies

~4.5MB
~55K SLoC