pub fn extract_position_weather(
symbol_code: char,
comment: &str,
) -> Option<AprsWeather>Expand description
Try to extract weather data embedded in a position report’s comment.
Per APRS 1.0.1 §12.1, a “complete weather report” is a position report
with symbol code _ (weather station) whose comment begins with the
CSE/SPD extension format DDD/SSS encoding wind direction and speed,
followed by the remaining weather fields (gGGG tTTT rRRR …) in the
standard order.
Returns None if the symbol is not _ or the comment does not start
with a valid DDD/SSS extension.