Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Different Wind Gust Highs

Discussion specific to Davis weather stations
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

It was early in the day. Wind was really light but picked up this afternoon over writing the speed from yesterday.

Date and time is set correctly on my station.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Different Wind Gust Highs

Post by steve »

gixxer.sw wrote:It was early in the day. Wind was really light but picked up this afternoon over writing the speed from yesterday.
I think I know what's happening; just before midnight, the high gust for the day is read for the last time. The new code does check the timestamp returned by the console to make sure that it's for today, and avoid the midnight-crossing problem. However, this is in a separate thread, and the updating has to be done in the main thread. By the time the code in the main thread runs, the midnight rollover has been done, so the high gust data is now for yesterday. I can easily fix this.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Different Wind Gust Highs

Post by steve »

Build 1075 with the fix now available.
Steve
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

Fantastic Steve.

Great software, great support !!!!
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

Steve,

Just rolled over midnight here and have the same gust values again. I have updated to the latest 1075 beta.

Would love to help but I really need to sleep.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Different Wind Gust Highs

Post by steve »

It's tricky with a problem that happens at midnight. I'll see if I can come up with a way of simulating it here; it's not easy as my Davis station is my 'live' system, and I don't use a midnight rollover.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Different Wind Gust Highs

Post by steve »

I think the problem is that the console only supplies the time of high gust, with no confirming date, but the Davis DLL inserts today's date. If the PC clock is a few seconds ahead of the console (as it will normally be if you use Cumulus to set the console clock), then just after midnight the DLL will be supplying yesterday's high gust with today's date. I'm going to have to devise a different mechanism for making sure that yesterday's high isn't used just after midnight.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Different Wind Gust Highs

Post by steve »

Build 1076 now available...
Steve
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Different Wind Gust Highs

Post by William Grimsley »

steve wrote:Build 1075 with the fix now available.
steve wrote:Build 1076 now available...
Oh dear... :lol:
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

Steve,

Have installed the latest beta, is there any thing I can be doing to help?

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

Re: Different Wind Gust Highs

Post by steve »

gixxer.sw wrote:Have installed the latest beta, is there any thing I can be doing to help?
Thanks - it would be useful if you could turn on the debug log before midnight, and leave it on for a couple of minutes after midnight, and then let me have the debug.log file. If you don't intend to be up at the time, it should be OK to leave it turned on overnight. The component that the debug log uses has been known to crash in some situations if left on for too long.
Steve
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

No worries Steve, will try and email shortly after midnight....hopefully. If not, first thing in the morning before work.

Simon.
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

Steve,

Looks to be fixed :D

Will send debug file shortly.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Different Wind Gust Highs

Post by steve »

Yes, I was watching your web site just now. Looks good. The debug log should confirm that the problem was with the date from the DLL.

Edit: actually, could you give it until about 7 minutes past midnight before sending the log, please?
Steve
gixxer.sw

Re: Different Wind Gust Highs

Post by gixxer.sw »

Steve, sorry I missed your edit re 7 minutes past midnight. Hope the debug file sent helps.

Happy to do again tomorrow night if that helps.
Post Reply