weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 1 forks source link

Implausible wind calculation #122

Closed kaleu2 closed 3 years ago

kaleu2 commented 3 years ago

Describe the bug Calculated wind direction in statistics is different from cycling wind offset. This behavior is only observed at some flights (basically it looks like the issue #66 described before).

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.weglide.org/flight/41220
  2. Click on Statistics
  3. The caclulated wind direction is SW while it was NNW all day, clearly visible during circling

Expected behavior Calculated wind direction should be NNW

Further examples https://www.weglide.org/flight/41203 Caldulated: SW, Circling: NNW/N

https://www.weglide.org/flight/41136 Calculated: SE, Circling: N

https://www.weglide.org/flight/41625 Calculated, first legs NE, last legs SW: Circling: NE/N all day

samuel-git commented 3 years ago

@moldhouse the arrows are matching the data unlike last time, so it has to do with the calculation.

frantzheld commented 3 years ago

Yesterday we had wind from north all day. There is still something wrong with the wind calculation: https://weglide.org/flight/51876 image

moldhouse commented 3 years ago

Thanks for reporting in such detail. We are on to it.

moldhouse commented 3 years ago

Thanks again for the detailed description. I have fixed the bug and reevaluated all the flights you mentioned above. I think they all look sensible now.