projecthorus / sondehub-infra

GNU General Public License v3.0
26 stars 4 forks source link

Predict Update doesn't seem to ignore null positions #145

Closed darksidelemm closed 1 month ago

darksidelemm commented 3 months ago

The predictor code seems to make use of positions that have null position (e.g. lat/lon=0), resulting in dodgy ascent rate calculations if the payload has poor GPS lock.

The query used to get recent positions for a payload should probably:

TheSkorm commented 1 month ago

For the moment I've just set it to filter if either lat or lon is exactly 0. I think in practice it's unlikely we'll ever receive exactly 0 from the sondes.