qvarforth / trackdirect

APRS Track Direct is a collection of tools that can be used to run an APRS website.
GNU General Public License v3.0
73 stars 41 forks source link

Wind speed/direction parsing broken with aprs-python 0.7.2 #29

Open shackrat opened 2 years ago

shackrat commented 2 years ago

The aprs-python devs made a tweak to weather parsing in 0.7.2 released in July that appears to be specifically targeted to CWOP stations using the underscore (_) symbol. In aprs-python 0.7.2 parsing returns a packet with packet.weather.windSpeed and packet.weather.windDirection set as null, instead wind speed is parsed to packet.speed and wind direction to packet.course.

This behavior appears to only impact CWOP stations.

Reverting to aprs-python 0.7.1 fixes the issue and wind speed/direction are parsed correctly.

hemna commented 1 year ago

fwiw, I believe my PR here might be related to fixing this issue.

https://github.com/rossengeorgiev/aprs-python/pull/81