Wind at 1N 36W 6March 0.00Z
Post by iconPost by WaterHammer | 2014-03-06 | 12:23:47

Hi Cvetan,
a very strange quirk I noticed. The wind at 1N 36W is 8.06 according to your router, but 7.6 according to the game UI. The wind at the surrounding coordinates are matching, so it is very coincidential.
Thanks for your good work!
Anton

commenticon 3 Comments
Post by iconPost by zezo | 2014-03-06 | 12:44:09
It's a rounding error. The original value is close to 14.5 km/h
The game rounds it down and my code rounds it up.

Looking at the original UV data the game is correct:

sqrt(3.1^2 + 2.57^2)*3.6 = 14.49638244528613421335

The problem is that my code converts this to knots = 7.8274

Then rounds it to 2 decimal places = 7.83

And then 7.83*1.852 = 14.50116
Post by iconPost by zezo | 2014-03-06 | 13:09:59
I've added a round() after conversion from m/s and before conversion to knots that should take care of this.

Thanks for the report.
Post by iconPost by WaterHammer | 2014-03-06 | 14:10:21
Thank you for your quick reply and reconstruction!
border
Topics list
Posts
border
7
border
border
26
border
border
53
border
border
42
border
border
12
border
border
5
border
border
17
border
border
2
border
border
4
border
border
3
border
border
1
border
border
35
border
border
3
border
border
2
border
border
11
border
border
4
border
border
15
border
border
8
border
border
5
border
border
11
border
border
5
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.