Aprs.Weather (aprs v0.1.4)

View Source

APRS weather report parsing.

Summary

Functions

Parse an APRS weather report string. Returns a struct or error.

Parse weather data from a comment field that contains weather information. This handles cases where weather data is embedded in the comment field.

Parses a weather data string into a map of weather values.

Check if a comment contains weather data patterns.

Functions

parse(data)

@spec parse(String.t()) :: map() | nil

Parse an APRS weather report string. Returns a struct or error.

parse_from_comment(comment)

@spec parse_from_comment(String.t()) :: map() | nil

Parse weather data from a comment field that contains weather information. This handles cases where weather data is embedded in the comment field.

parse_weather_data(weather_data)

@spec parse_weather_data(String.t()) :: map()

Parses a weather data string into a map of weather values.

weather_packet_comment?(comment)

@spec weather_packet_comment?(String.t()) :: boolean()

Check if a comment contains weather data patterns.