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

Double entries in dayfile.txt?

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
Gordon-Loomberah
Posts: 230
Joined: Mon 17 Aug 2009 7:51 am
Weather Station: Davis VP2 + Solar and UV
Operating System: Windows 10 home
Location: Loomberah, Australia
Contact:

Double entries in dayfile.txt?

Post by Gordon-Loomberah »

I was just looking at my average temperatures graph and noticed that 28/8 seemed to have 2 readings for the day- as there is a vertical line for that day. http://members.ozemail.com.au/~loombera ... trends.htm
Checking dayfile.txt I see there are 2 entries for the 28th. I have seen that once before, I think I was editing something at 9am, but I dont think that was the case on the 28th.
Any ideas on what the cause may be?
Is there information somewhere that shows the format of that file to save having to go through and work it out? I'd like to check that I am deleting the correct line and that the 2nd line doesnt have part of the info that should be in the line I keep.

thanks, Gordon
Loomberah Weather: http://gunagulla.com
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Double entries in dayfile.txt?

Post by beteljuice »

Is there information somewhere that shows the format of that file to save having to go through and work it out
That would be Help / Data Log Files or http://wiki.sandaysoft.com/index.php?title=Dayfile.txt
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Gordon-Loomberah
Posts: 230
Joined: Mon 17 Aug 2009 7:51 am
Weather Station: Davis VP2 + Solar and UV
Operating System: Windows 10 home
Location: Loomberah, Australia
Contact:

Re: Double entries in dayfile.txt?

Post by Gordon-Loomberah »

Ahh thanks, I should have looked at the Wiki before asking in a rush when I had to go out :oops:

It seems the top line for the 28th was correct, the 2nd one was made up from readings after 9am on the next day. I wonder how that could happen :?

thanks, Gordon
Loomberah Weather: http://gunagulla.com
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: Double entries in dayfile.txt?

Post by steve »

Do you use the midnight to midnight day, or 9am to 9am?

If you zip up the diags file and attach them, I might be able to work out what happened.
Steve
User avatar
Gordon-Loomberah
Posts: 230
Joined: Mon 17 Aug 2009 7:51 am
Weather Station: Davis VP2 + Solar and UV
Operating System: Windows 10 home
Location: Loomberah, Australia
Contact:

Re: Double entries in dayfile.txt?

Post by Gordon-Loomberah »

I'm using 9am to 9am.
cumulus.zip
You do not have the required permissions to view the files attached to this post.
Loomberah Weather: http://gunagulla.com
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: Double entries in dayfile.txt?

Post by steve »

It did the day rollover at 0900 and then again at 1000, very odd. Were you changing the setting which says use 1000 in summer? But there again, I don't suppose you've gone onto summer time yet anyway? It's as if it got the wrong answer back from Windows when it asked for the timezone settings.
Steve
User avatar
Gordon-Loomberah
Posts: 230
Joined: Mon 17 Aug 2009 7:51 am
Weather Station: Davis VP2 + Solar and UV
Operating System: Windows 10 home
Location: Loomberah, Australia
Contact:

Re: Double entries in dayfile.txt?

Post by Gordon-Loomberah »

No I didnt change that, and dont plan to in October when we change to daylight savings either.

thanks, Gordon
Loomberah Weather: http://gunagulla.com
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: Double entries in dayfile.txt?

Post by steve »

I see what's happened now:

2009-08-29 10:00:00 : Writing todayfile, LastUpdateTime = 29/08/2009 10:00:00 raindaystart = 2.58999991416931
2009-08-29 09:59:54 : === Day reset for 29/08/2009 09:59:54
2009-08-29 09:59:54 : Raintotal = 2.58999991416931 Raindaystart = 2.58999991416931
2009-08-29 09:59:55 : Rainyesterday (calibrated) set to 0
2009-08-29 09:59:55 : Raindaystart set to 2.58999991416931
2009-08-29 09:59:55 : Writing todayfile, LastUpdateTime = 29/08/2009 10:00:00 raindaystart = 2.58999991416931
2009-08-29 09:59:55 : === Day reset complete

Your PC clock has gone backwards. Every time the hour changes, Cumulus checks to see if it is time to do the day rollover. At 10:00:00 it started to do the check for that hour, but the clock then changed and the hour was 9 so it thought it was 09:00 and did the rollover. I should probably have some checks in for this situation. I'm guessing your system adjusts its clock at 10:00?
Steve
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Double entries in dayfile.txt?

Post by beteljuice »

Every time the hour changes, Cumulus checks to see if it is time to ...
Might be worthy of an Important Mention somewhere ?

Close Cumulus when adjusting / changing PC clock !
Image
......................Imagine, what you will KNOW tomorrow !
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: Double entries in dayfile.txt?

Post by steve »

beteljuice wrote:
Every time the hour changes, Cumulus checks to see if it is time to ...
Might be worthy of an Important Mention somewhere ?

Close Cumulus when adjusting / changing PC clock !
If you're adjusting it manually, then it doesn't matter whether you stop Cumulus or not. If you move it back to the previous meteorological day, I think you might expect Cumulus to get a bit confused, and it will, but it doesn't matter whether it's stopped or not. The problem in this case is because the time was being adjusted automatically at exactly one hour after the end of the meteorological day.

The advice perhaps should be to make sure your PC isn't set to adjust the clock automatically within an hour of the end of your meteorological day.
Steve
User avatar
Gordon-Loomberah
Posts: 230
Joined: Mon 17 Aug 2009 7:51 am
Weather Station: Davis VP2 + Solar and UV
Operating System: Windows 10 home
Location: Loomberah, Australia
Contact:

Re: Double entries in dayfile.txt?

Post by Gordon-Loomberah »

OK, that reminded me...I did a manual internet sync of it at 10:00:02am, and it went back to 9:59:54, I was watching the clock to see how much it lost in the week since the previous adjustment.

I wont be adjusting it manually before 10am from now on!

thanks, Gordon
Loomberah Weather: http://gunagulla.com
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: Double entries in dayfile.txt?

Post by steve »

If you did it manually, that was quite some timing! You managed to get in after the 'hour changed' event was fired in Cumulus, but before it processed it.
Steve
Post Reply