projecthorus / sondehub-tracker

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

Small altitude plot issues #282

Open darksidelemm opened 1 year 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