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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Problem with yesterday data

Post Reply
Nightflyer
Posts: 26
Joined: Wed 01 Sep 2010 11:01 am
Weather Station: WS2300
Operating System: Windows xp

Problem with yesterday data

Post by Nightflyer »

Hey all,

I got a problem with the yesterday data
it show everyday day that the yesterday extreme was arround 23:50 and that is wrong.
can anyone pls figure out what is wrong?

Image

Code: Select all

26-8-2011 23:47:57.159 : System Uptime: 54 seconds 
26-8-2011 23:47:57.159 : Locale = 1043 NLD: Nederland (Nederlands (Nederland))
26-8-2011 23:47:57.159 : List separator=; Decimal separator=, Date separator=- Time separator=:
26-8-2011 23:47:57.159 : User = Richard
26-8-2011 23:47:57.175 : Reading cumulus.ini file
26-8-2011 23:47:57.222 : Looking for strings file: D:\Program Files\Cumulus\strings.ini
26-8-2011 23:47:57.269 : YTDRain=0,000 Year=0
26-8-2011 23:47:57.269 : PO=0,00 TO=0,00 HO=0 WDO=0 ITO=0,00
26-8-2011 23:47:57.269 : WSM=1,00 WGM=1,00 TM=1,00 HM=1,00 RM=1,00
26-8-2011 23:47:57.269 : TD=999,00 GD=999,00 WD=999,00 HD=999,00 PD=999,00
26-8-2011 23:47:57.269 : MR=999,00 MH=999,00
26-8-2011 23:47:57.269 : WTC=1 VSI=0
26-8-2011 23:47:57.269 : Station type: LaCrosse WS2300
26-8-2011 23:47:57.269 : COM port = 2
26-8-2011 23:47:57.269 : Short date format: 26-8-2011
26-8-2011 23:47:57.269 : Long date format: vrijdag 26 augustus 2011
26-8-2011 23:47:57.269 : Short time format: 23:47
26-8-2011 23:47:57.269 : Long time format: 23:47:57
26-8-2011 23:47:59.097 : 443 web tags initialised
26-8-2011 23:47:59.363 : Starting minimised
26-8-2011 23:47:59.363 : Todaydatestring = 26-08-11
26-8-2011 23:47:59.363 : Looking for D:\Program Files\Cumulus\data\today.ini
26-8-2011 23:47:59.363 : Today.ini exists
26-8-2011 23:47:59.831 : Read today file: Date = 26-8-2011, LastUpdateTime = 26-8-2011 20:00:01
26-8-2011 23:48:00.191 : Todayfileraindaystart = 628,309997558594
26-8-2011 23:48:00.238 : Todayfile is for today
26-8-2011 23:48:00.269 : ReadTodayfile: set notraininit false
26-8-2011 23:48:00.300 : Finding raintoday from logfile D:\Program Files\Cumulus\data\aug11log.txt
26-8-2011 23:48:00.331 : Midnight rain found in the following entry:
26-8-2011 23:48:00.331 : 26-08-11;00:05;19,7;78;15,8;3,6;3,6;337;0,0;0,0;1013,2;628,3;24,2;68;3,6;19,7;19,7;0,0;0;0,00;0,00;21,6;0;0,0
26-8-2011 23:48:00.331 : Setting raintoday from logfile = 8,80000019073486
26-8-2011 23:48:00.331 : Calculating rain counter = 637,109985351563
26-8-2011 23:48:00.331 : Midnight rain found = 628,299987792969
26-8-2011 23:48:00.347 : Read yesterday file: Date = 26-8-2011 Date now = 26-8-2011
26-8-2011 23:48:00.347 : Yesterday file is valid
26-8-2011 23:48:00.394 : Loading all time records file D:\Program Files\Cumulus\data\alltime.ini
26-8-2011 23:48:00.394 : Set Default Monthly Highs And Lows
26-8-2011 23:48:00.394 : Read month.ini file
26-8-2011 23:48:00.394 : month.ini is for this month
26-8-2011 23:48:00.394 : Set Default Yearly Highs And Lows
26-8-2011 23:48:00.394 : Read Year.ini file
26-8-2011 23:48:00.394 : Year.ini is for this Year
26-8-2011 23:48:00.409 : Getting rain totals, rain season start = 1
26-8-2011 23:48:00.425 : Rainthismonth from dayfile.txt: 129,399978637695
26-8-2011 23:48:00.425 : Rainthisyear from dayfile.txt: 463,800109863281
26-8-2011 23:48:03.394 : Diary log file = D:\Program Files\Cumulus\data\log.xml
26-8-2011 23:48:07.988 : 23:48:07 EWUSB Form Create
26-8-2011 23:48:08.925 : WS2300: Attempting open on COM2
26-8-2011 23:48:08.988 : WS2300: ComPort opened
26-8-2011 23:48:10.097 : WS2300: current rain total (Rainref) from station = 637,63
26-8-2011 23:48:10.284 : WS2300: current rain counter (RainCountRef) from station = 701
26-8-2011 23:48:10.284 : WS2300 History Details: Data: 3B 00 01 05 00 27 08 11 7F 80 
26-8-2011 23:48:10.284 : Archive info from station:
26-8-2011 23:48:10.284 : interval=60 countdown=17 numrecords=128
26-8-2011 23:48:10.284 : Date and time of latest archive entry:
26-8-2011 23:48:10.284 : hr=0 min=5 d=27 m=8 y=2011
26-8-2011 23:48:10.613 : WS2300: Pressure offset = 4,0
26-8-2011 23:48:10.613 : WS2300: Downloading history data
26-8-2011 23:48:10.925 : WS2300 History Record: Address: 1033  Data: 1E 2A A7 59 AD 86 BC 02 00 09 
26-8-2011 23:48:11.238 : WS2300 History Record: Address: 1020  Data: C0 39 67 E8 AA 86 BC 02 00 E7 
26-8-2011 23:48:11.597 : WS2300 History Record: Address: 100D  Data: 7C 45 77 E8 AA 86 BC 02 00 0A 
26-8-2011 23:48:11.894 : WS2300 History Record: Address: 0FFA  Data: 3C 51 37 06 A6 85 BC 02 00 C9 
26-8-2011 23:48:13.159 : WS2300 History Record: Address: 0FE7  Data: 08 84 A7 94 A3 85 BC 02 00 CD 
26-8-2011 23:48:13.159 : WS2300: Processing history data
26-8-2011 23:48:13.159 : WS2300: Number of entries = 5
26-8-2011 23:48:13.331 : WS2300: First history data timestamp = 26-8-2011 20:05:00
26-8-2011 23:48:13.331 : WS2300: Today file last updated = 26-8-2011 20:00:01
26-8-2011 23:48:13.331 : WS2300: Checking last update time in Todayfile
26-8-2011 23:48:13.331 : WS2300: Todayfile matches start of history data
26-8-2011 23:48:13.331 : WS2300: LastUpdateTime = 26-8-2011 20:00:01
26-8-2011 23:48:13.331 : WS2300: Earliest timestamp = 26-8-2011 20:05:00
26-8-2011 23:48:13.331 : WS2300: Setting raindaystart from todayfile = 628,309997558594
26-8-2011 23:48:13.331 : WS2300: Raindaystart = 628,309997558594
26-8-2011 23:48:13.331 : WS2300: Processing history data for = 26-8-2011 20:05:00 addr = 0FE7 
26-8-2011 23:48:13.503 : WS2300: History rain total = 637,111999511719
26-8-2011 23:48:16.097 : Writing today.ini, LastUpdateTime = 26-8-2011 20:05:00 raindaystart = 628,309997558594 rain counter = 637,111999511719
26-8-2011 23:48:16.097 : WS2300: Processing history data for = 26-8-2011 21:05:00 addr = 0FFA 
26-8-2011 23:48:16.097 : WS2300: History rain total = 637,111999511719
26-8-2011 23:48:16.925 : Writing today.ini, LastUpdateTime = 26-8-2011 21:05:00 raindaystart = 628,309997558594 rain counter = 637,111999511719
26-8-2011 23:48:16.925 : WS2300: Processing history data for = 26-8-2011 22:05:00 addr = 100D 
26-8-2011 23:48:16.941 : WS2300: History rain total = 637,111999511719
26-8-2011 23:48:17.300 : Writing today.ini, LastUpdateTime = 26-8-2011 22:05:00 raindaystart = 628,309997558594 rain counter = 637,111999511719
26-8-2011 23:48:17.316 : WS2300: Processing history data for = 26-8-2011 23:05:00 addr = 1020 
26-8-2011 23:48:17.316 : WS2300: History rain total = 637,111999511719
26-8-2011 23:48:18.456 : Writing today.ini, LastUpdateTime = 26-8-2011 23:05:00 raindaystart = 628,309997558594 rain counter = 637,111999511719
26-8-2011 23:48:18.472 : WS2300: Processing history data for = 27-8-2011 0:05:00 addr = 1033 
26-8-2011 23:48:18.472 : WS2300: Day rollover 27-8-2011 0:05:00
26-8-2011 23:48:18.472 : === Day reset, today = 27
26-8-2011 23:48:18.472 : === Day reset for 26-8-2011
26-8-2011 23:48:18.488 : Raintotal = 637,111999511719 Raindaystart = 628,309997558594
26-8-2011 23:48:18.488 : Rainyesterday (calibrated) set to 8,802001953125
26-8-2011 23:48:18.753 : Raindaystart set to 637,111999511719
26-8-2011 23:48:18.753 : StartofdayET set to 0
26-8-2011 23:48:19.363 : Writing today.ini, LastUpdateTime = 26-8-2011 23:05:00 raindaystart = 637,111999511719 rain counter = 637,111999511719
26-8-2011 23:48:19.363 : Write yesterday file: Date = 26-8-2011
26-8-2011 23:48:19.769 : === Day reset complete
26-8-2011 23:48:19.769 : Midnight rain reset, count = 637,11 time = 27-8-2011 0:05:00
26-8-2011 23:48:19.769 : Reset sunshine hours, yesterday = 0,0
26-8-2011 23:48:19.769 : Write yesterday file: Date = 26-8-2011
26-8-2011 23:48:21.347 : WS2300: History rain total = 637,111999511719
26-8-2011 23:48:22.722 : Writing today.ini, LastUpdateTime = 27-8-2011 0:05:00 raindaystart = 637,111999511719 rain counter = 637,111999511719
26-8-2011 23:48:22.722 : WS2300: End processing history data
26-8-2011 23:48:22.784 : WS2300: Closing Please Wait form
26-8-2011 23:48:22.784 : PleaseWaitForm.Close executed
26-8-2011 23:48:22.784 : 23:48:22 Day reset required
26-8-2011 23:48:22.784 : === Day reset, today = 26
26-8-2011 23:48:22.784 : === Day reset for 25-8-2011
26-8-2011 23:48:22.800 : Raintotal = 637,111999511719 Raindaystart = 637,111999511719
26-8-2011 23:48:22.800 : Rainyesterday (calibrated) set to 0
26-8-2011 23:48:23.191 : Raindaystart set to 637,111999511719
26-8-2011 23:48:23.206 : StartofdayET set to 0
26-8-2011 23:48:24.972 : Writing today.ini, LastUpdateTime = 27-8-2011 0:05:00 raindaystart = 637,111999511719 rain counter = 637,111999511719
26-8-2011 23:48:24.972 : Write yesterday file: Date = 26-8-2011
26-8-2011 23:48:25.378 : === Day reset complete
26-8-2011 23:48:25.378 : Midnight rain reset, count = 637,11 time = 26-8-2011 23:48:25
26-8-2011 23:48:25.378 : Reset sunshine hours, yesterday = 0,0
26-8-2011 23:48:25.378 : Write yesterday file: Date = 26-8-2011
26-8-2011 23:50:03.738 : Writing today.ini, LastUpdateTime = 26-8-2011 23:50:01 raindaystart = 637,111999511719 rain counter = 637,630004882813
26-8-2011 23:50:03.894 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
26-8-2011 23:50:03.909 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
26-8-2011 23:55:01.191 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
26-8-2011 23:55:01.191 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:00:00.706 : Midnight rain reset, count = 637,63 time = 27-8-2011
27-8-2011 00:00:00.706 : === Day reset, today = 27
27-8-2011 00:00:00.706 : === Day reset for 26-8-2011
27-8-2011 00:00:00.738 : Raintotal = 637,630004882813 Raindaystart = 637,111999511719
27-8-2011 00:00:00.738 : Rainyesterday (calibrated) set to 0,51800537109375
27-8-2011 00:00:00.738 : Raindaystart set to 637,630004882813
27-8-2011 00:00:00.738 : StartofdayET set to 0
27-8-2011 00:00:03.722 : Writing today.ini, LastUpdateTime = 26-8-2011 23:50:01 raindaystart = 637,630004882813 rain counter = 637,630004882813
27-8-2011 00:00:03.722 : Write yesterday file: Date = 27-8-2011
27-8-2011 00:00:04.550 : === Day reset complete
27-8-2011 00:00:04.550 : Reset sunshine hours, yesterday = 0,0
27-8-2011 00:00:04.550 : Write yesterday file: Date = 27-8-2011
27-8-2011 00:00:05.269 : Writing today.ini, LastUpdateTime = 27-8-2011 0:00:04 raindaystart = 637,630004882813 rain counter = 637,630004882813
27-8-2011 00:00:05.628 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:00:05.659 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:05:00.206 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:05:00.222 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:10:00.956 : Writing today.ini, LastUpdateTime = 27-8-2011 0:10:00 raindaystart = 637,630004882813 rain counter = 637,630004882813
27-8-2011 00:10:00.988 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:10:00.988 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:15:00.753 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:15:00.753 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:20:00.722 : Writing today.ini, LastUpdateTime = 27-8-2011 0:20:00 raindaystart = 637,630004882813 rain counter = 638,150024414063
27-8-2011 00:20:00.753 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:20:00.753 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:25:00.878 : Error processing web\thismonthT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thismonthT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:25:00.894 : Error processing web\thisyearT.htm Error: Cannot open file "D:\Program Files\Cumulus\web\thisyearT.htm". Het systeem kan het opgegeven bestand niet vinden
27-8-2011 00:25:26.878 : MainForm can close
27-8-2011 00:25:26.878 : Showing splash screen
27-8-2011 00:25:27.316 : Exit FormCloseQuery
27-8-2011 00:25:27.316 : MainForm.FormClose
27-8-2011 00:25:27.316 : FTP.Abort
27-8-2011 00:25:27.316 : FTP.Quit
27-8-2011 00:25:27.316 : RealtimeFTP.Abort
27-8-2011 00:25:27.316 : RealtimeFTP.Quit
27-8-2011 00:25:27.316 : Terminating threads...
27-8-2011 00:25:27.488 : Threads terminated
27-8-2011 00:25:27.550 : Cumulus closing
27-8-2011 00:25:28.284 : Writing cumulus.ini file
27-8-2011 00:25:28.347 : Terminating ftp thread...
27-8-2011 00:25:28.347 : FTP thread terminated
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Problem with yesterday data

Post by steve »

The problem is that at 23:48 on the 26th, your station gave Cumulus a logger entry for 00:05 on the 27th:

26-8-2011 23:48:18.472 : WS2300: Processing history data for = 27-8-2011 0:05:00 addr = 1033
26-8-2011 23:48:18.472 : WS2300: Day rollover 27-8-2011 0:05:00
26-8-2011 23:48:18.472 : === Day reset, today = 27
26-8-2011 23:48:18.472 : === Day reset for 26-8-2011
26-8-2011 23:48:18.488 : Raintotal = 637,111999511719 Raindaystart = 628,309997558594

It did the end of day reset, but then did it again when the time really did get to midnight.

1.9.2 has an option to ignore the La Crosse station clock.

You should also be aware that having your station set to a one hour logger period, and starting and/or stopping Cumulus around midnight is risky. Although the extra 'rollover' in this case wasn't the fault of Cumulus, I can't guarantee that it will always manage to work out the correct thing to do.
Steve
Nightflyer
Posts: 26
Joined: Wed 01 Sep 2010 11:01 am
Weather Station: WS2300
Operating System: Windows xp

Re: Problem with yesterday data

Post by Nightflyer »

Ok thanks for your verry fast answer as always! respect for that :clap:

I did highlight the option ignore the La Crosse station clock now so hope it workes out

i didnt understand your point exactly about the:

[/quote]You should also be aware that having your station set to a one hour logger period[/quote]

i have at the configuration of the cumulus program set to
data log interval to 10 min, should i change that or?

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

Re: Problem with yesterday data

Post by steve »

Nightflyer wrote:
You should also be aware that having your station set to a one hour logger period
i have at the configuration of the cumulus program set to
data log interval to 10 min, should i change that or?

thanks
It's the station logger interval, not the Cumulus logger interval. You have it set to an hour. I realise that the La Crosse logger doesn't hold many entries, so I can understand why you might want to do that. When Cumulus is reading logger data from around midnight, it has to decide when to do the daily 'rollover', if necessary. The code is complicated and should cope with most situations, but I'm just warning that starting and stopping Cumulus within an hour of midnight, when you only have logger entries once an hour, might just occasionally lead to some set of circumstances that the code doesn't cope with.

I'm just advising you that if you want to leave your station logger set to an hour, you should try to avoid starting and stopping Cumulus close to midnight. Actually, I would advise anyone to avoid starting and stopping Cumulus very close to midnight, whatever logger setting they have.
Steve
Nightflyer
Posts: 26
Joined: Wed 01 Sep 2010 11:01 am
Weather Station: WS2300
Operating System: Windows xp

Re: Problem with yesterday data

Post by Nightflyer »

thanks again steve, problem solved, tread can be closed :clap:
Post Reply