projecthorus / radiosonde_auto_rx

Automatically Track Radiosonde Launches using RTLSDR
GNU General Public License v3.0
477 stars 124 forks source link

Station position for _radius_breach not updating from GPSD #443

Closed g7gpr closed 5 days ago

g7gpr commented 3 years ago

The _radius_breach only seems to work from the station position set in the config file, not from data received from GPSD. I'll do some more testing to confirm.

darksidelemm commented 3 years ago

I'm not that surprised if this is the case.

The radius check is done here: https://github.com/projecthorus/radiosonde_auto_rx/blob/master/auto_rx/auto_rx.py#L508

An update to the global config dictionary probably needs to be added into this function: https://github.com/projecthorus/radiosonde_auto_rx/blob/master/auto_rx/auto_rx.py#L609

That should fix it...