Fix issue 80: Weather packet decoding. #81
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Weather packets were being decoded incorrectly. Over the air packets for weather are in wind miles per hour. Rain is in hundreths of an inch according to the official spec.
This patch changes the weather packet output to include the wind_speed and wind_direction as part of the weather dict in the packet instead of course and speed. According to the APRS Spect CSE/SPD for weather packets, which are denoted with the _ character are supposed to be used for wind speed and wind direction.
"The on-air APRS WX protocols, however, still will be in MPH and F."
"RAIN VALUES: Rain is counted in increments of 0.1 or 0.01 inch or 1mm. but reports all values in 0.01 inches over the air."
References:
http://www.aprs.org/APRS-docs/WX.TXT
Fixes issue #80