projecthorus / sondehub-tracker

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

Small altitude plot issues #282

Closed darksidelemm closed 1 week ago

darksidelemm commented 1 year ago

The small altitude plots in the payload list clearly have some kind of time scale issue, when comparing the data loaded via the API, and the new data coming in via websockets.

Screen Shot 2023-04-10 at 09 12 09
darksidelemm commented 1 year ago

It looks like the draw function ( https://github.com/projecthorus/sondehub-tracker/blob/master/js/tracker.js#L2215 ) doesn't take into account the time values, i think it just assumes the same time step between points, which isn't going to be the case any more, as the data returned by the API on page-load will be decimated.

darksidelemm commented 1 year ago

Fix for this is in testing.v2.sondehub.org

TheSkorm commented 1 week ago

I believe this is resolved now.