projecthorus / sondehub-tracker

🎈 Frontend for SondeHub Radiosonde Tracking
https://v2.sondehub.org
MIT License
59 stars 25 forks source link

distance error #275

Closed 14ri004 closed 1 year ago

14ri004 commented 1 year ago

hello, I just saw that SondeHub indicated an error on the distance of the probe of about +10km, I checked my GPS point and the one indicated on SondeHub which is identical, but when I click on a probe, the distance is 10km higher than the real distance or by decoding with TTGOs, I took the GPS point of the probe and checked on google maps and I find 10km less than SondeHub indicates to me, thank you

Capture

darksidelemm commented 1 year ago

This might be because the distance indicated on sondehub is the 'straight line' distance (which includes the height of the balloon), which will be longer than the distance over ground.

On Sat, 24 Dec 2022, 11:46 14ri004, @.***> wrote:

hello, I just saw that SondeHub indicated an error on the distance of the probe of about +10km, I checked my GPS point and the one indicated on SondeHub which is identical, but when I click on a probe, the distance is 10km higher than the real distance or by decoding with TTGOs, I took the GPS point of the probe and checked on google maps and I find 10km less than SondeHub indicates to me, thank you

[image: Capture] https://user-images.githubusercontent.com/87615097/209416604-edfabae7-a1b8-461a-84e5-cc9039e046f9.PNG

— Reply to this email directly, view it on GitHub https://github.com/projecthorus/sondehub-tracker/issues/275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH57EZKCRNKL7Q73GIGXSTWOZFG3ANCNFSM6AAAAAATIFQR5Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

14ri004 commented 1 year ago

Hello mark, I'm thinking about it but 10 km makes a lot of difference, at the same time on RDZsonde and MysondyGo I have 10km less than on SondeHub, I'm going to double check today with two other friends to see if it comes from home (possible), I'll let you know what happens next, thank you and have a good end of the year

darksidelemm commented 1 year ago

After looking at the code, I can confirm that the range used is the 'direct' range to the transmitter, wherever it may be in altitude, not the 'distance-over-ground'. This is intended, as otherwise if you have a sonde almost above you, the range would be near 0, which is nonsensical.

14ri004 commented 1 year ago

indeed mark, after verification the probe was at 32000 m altitude, which could explain the difference in distance, thank you for your answer, and happy new year.