Open kd7lxl opened 6 years ago
Thanks for the report. Seems like a missing feature. When I added weather parsing, no-one was sending these packets, so I probably didn't even notice that it would be valid according to the spec. The priority has been on currently used packet formats. But yes, sure, can be implemented.
It looks like the code should parse it if the symbol code is _
:
https://github.com/hessu/perl-aprs-fap/blob/master/FAP.pm#L2621-L2626
I wonder what's going on here.
I just fixed it. Will submit a PR in a minute.
PR waiting for your review. I'm also tempted to submit one that allows symbol code W
in addition to _
because the two symbols look nearly identical. Thoughts?
I'm also tempted to submit one that allows symbol code W in addition to _ because the two symbols look nearly identical. Thoughts?
Is there any justification for that in the spec?
No, there is not. Scrap that idea.
Complete Weather Report Format — with Compressed Lat/Long position (APRS101.PDF, pg 66) is not interpreted as a weather packet, and the weather data is not decoded.
Here is one example of the failure:
!/:_z:6\'MX_22Kg...t029P000h46b10322
Substituting an uncompressed position allows the packet to decode. Example of correct decode:
Note that the example given in the spec for Complete Weather Report Format — with Compressed Lat/Long position, no Timestamp (pg 66)
=/5L!!<*e7> _7P[g005t077r000p000P000h50b09900wRSW
does not decode for two reasons: this compressed position bug, and the symbol/>
is not treated as weather.