Page 1 of 1

Coordinates shown in variables are wrong **solved*

Posted: Sat May 24, 2008 8:37 pm
by cbhiii
I looked into why perhaps the times were wrong in the sunset/sunrise variables and found that the coordinates shown are not what I have entered in Meteohub.

Entered in Meteohub:
85 28 4 W, 43 5 42 N

Shown in variables:
actual_station_longitude_decimal -84.532222
actual_station_latitude_decimal 43.095000

Calculated my Metohub entry to decimal using online website:
-85.46777
43.095

So it appears that the LONGITUDE is the only one that is incorrect and perhaps that's why the sunrise/set times are off a few minutes as well.

Re:Coordinates shown in variables are wrong

Posted: Sat May 24, 2008 11:38 pm
by admin
I have to confirm, that there is a bug in the computation with negative values.
So people in Europe and Asia are not effected but the Americas are.

Will be fixed with the next update.