Closed egthomas closed 9 months ago
Major apologies to @ecbland! I was mistaken that the originally linked commit and pull request introduced this bug - it appears that this issue was present even before the change from checking x_v
to phi0
. Sorry!
I can confirm that the above proposed change to FitDecode
allows the correct plotting of elevation angles from HOK, GBR, and KAP with fitacfclientgui
. Further testing is probably needed to see if that breaks anything else.
There is an issue where
FitDecode
infitread.c
of thefit
library does not support reading real-time elevation angles from older radars (eg, KAP, GBR, etc) which do not send the entirefit
structure.Specifically, I think this line needs to be modified:
to check against something other than
phi0
(which not all radars send over real-time links). I'm not sure which field would be best, but something like this seems to work:For reference, these appear to be the fitted arrays sent over a real-time stream by the older QNX4-style radars (which still comprise about half of the network):
whereas modern radars tend to send the entire
prm
andfit
structures.