weglide / bugtracker

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

Implausible wind calculation (only within some flights) #66

Closed frantzheld closed 3 years ago

frantzheld 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.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://beta.weglide.org/flights/6802
  2. Open statistics
  3. See calculated wind direction (NW) and compare it to wind offset while cycling (SSW), see screenshot.

Expected behavior Calculated wind direction should be SSW.

Screenshots

wind

More Examples: https://beta.weglide.org/flights/4417 calc: NNE / cycling: SE

https://beta.weglide.org/flights/7153 calc: NW / cycling: SW

https://beta.weglide.org/flights/4401 calc: WNW / cycling: WSW

https://beta.weglide.org/flights/7137 calc: ENE / cycling: ESE

moldhouse commented 3 years ago

Thanks for reporting, I spotted this in some other flights too. Seems to be some ~90 degrees offset for some flights.

moldhouse commented 3 years ago

Seems like the north component is upside down while the east component is right.

frantzheld commented 3 years ago

You could be right in all examples above. Unfortunately this observation is not consistent at every flight. In the following example, the wind calculation seems ok: https://beta.weglide.org/flights/4524 image

moldhouse commented 3 years ago

North component might not be flipped every time. But I think I have not seen a flight where the west-east component is wrong.

moldhouse commented 3 years ago

Fixed in next release. We will recalculate for old flights, if you still experience this issue a week from now feel free to reopen. Thanks again for the detailed feedback.

frantzheld commented 3 years ago

Today the wind was still wrong for flight 6802. I deleted and re-uploaded the flight, now everything seems fine: https://beta.weglide.org/flights/16548

Are you still planning recalculation for all old flights?

moldhouse commented 3 years ago

Yes, we will do that, but there are small changes in other places (Out and Return scorer) which will also be affected, which is why we did not rescore yet.