Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Solar graphs lagged one hour [Solved]

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
User avatar
Werk_AG
Posts: 198
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino 4Pro
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Solar graphs lagged one hour [Solved]

Post by Werk_AG »

This may be another issue with international settings. Just for you to know.
This only happens with the Solar / UV graphs

Test system: Windows 7
Regional settings: PT

Image
Last edited by Werk_AG on Tue 17 Feb 2015 12:31 am, edited 1 time in total.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Solar graphs lagged one hour

Post by mcrossley »

Isn't Portugal in the same TZ as the UK - i.e. currently running UTC?

Is your longitude set correctly?
User avatar
Werk_AG
Posts: 198
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino 4Pro
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: Solar graphs lagged one hour

Post by Werk_AG »

Yes, we are in UTC now.

For lat and long I'm using the same settings than in Cumulus1

Latitude=39.226
Longitude=-8.99
LatTxt=N 39° 13' 34"
LonTxt=W 08° 59' 50"

Same data from a PI, running with GB settings

Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Solar graphs lagged one hour

Post by steve »

The routine I use for calculating the sun position uses UTC, so I get .Net to convert the current system time to UTC using .ToUniversalTime(). It appears that for some reason it is subtracting an hour on your system. I'll do some experimenting on my system. It would be useful to know if anyone else is seeing the same thing.
Steve
ayde_bury
Posts: 33
Joined: Thu 07 Jun 2012 5:37 pm
Weather Station: Davis VPro2 plus 24hr FARS
Operating System: Windows 2008 Server / Mac OSX
Location: Suffolk, United Kingdom
Contact:

Re: Solar graphs lagged one hour

Post by ayde_bury »

Portugal is about 8 or 9 degrees West.

You have set your longitude to East using the negative figure, hence the 1 hour lag.
Weather Spares - your one stop shop for complete stations and spare parts.
http://www.weatherspares.co.uk/
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Solar graphs lagged one hour

Post by steve »

East is positive, West is negative. Possibly astronomers use the opposite. It's to avoid this confusion that Cumulus requires you to explicitly choose East or West.
Steve
ayde_bury
Posts: 33
Joined: Thu 07 Jun 2012 5:37 pm
Weather Station: Davis VPro2 plus 24hr FARS
Operating System: Windows 2008 Server / Mac OSX
Location: Suffolk, United Kingdom
Contact:

Re: Solar graphs lagged one hour

Post by ayde_bury »

Apologies Steve, that is my Astronomy side coming out :oops:
Weather Spares - your one stop shop for complete stations and spare parts.
http://www.weatherspares.co.uk/
User avatar
Werk_AG
Posts: 198
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino 4Pro
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: Solar graphs lagged one hour

Post by Werk_AG »

steve wrote:The routine I use for calculating the sun position uses UTC, so I get .Net to convert the current system time to UTC using .ToUniversalTime(). It appears that for some reason it is subtracting an hour on your system. I'll do some experimenting on my system. It would be useful to know if anyone else is seeing the same thing.
Somehow the longitude value in my W7 test PC was lost is minus sign, and also the decimal part (the same for latitude). I have now corrected the values and the graph is plotting well.

Sorry Steve, Mark and ayde_bury, for making you lost your time. I should have checked before posting.
Locked