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

changing day start

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
bellmike
Posts: 43
Joined: Thu 18 Aug 2022 1:46 am
Weather Station: davis vantagepro2
Operating System: windows11
Location: Bellenden Ker Australia
Contact:

changing day start

Post by bellmike »

was wondering if anyone has changed the setting from 12.00am to 9am and back again and if this is possible. and how does it affect files
my station is a vp2 and wll
cheers Mike
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: changing day start

Post by sfws »

bellmike wrote: Wed 21 Sep 2022 3:54 am how does it affect files
All files except alltime.ini are affected in some way. Much of the Cumulus design is based on daily extremes, those are highly dependent upon what hours are included in each day.

My advice would be, if you do change rollover time, archive the old files in data folder, and let the software create a new set of files.
bellmike wrote: Wed 21 Sep 2022 3:54 am anyone has changed the setting from 12.00am to 9am and back again
Do you really mean "and", or did you mean to type "or" there?
Cannot believe anyone would want to change the rollover time twice.

Certainly, a number of people have changed rollover settings once, presumably after giving the matter more thought than when they first started using the software. A forum search might produce more details, but guesswork suggests alignment with some other reporting stations might be main reason. Possibly, some changes in Cumulus that provide some "since midnight" values might now favour choice of 9am rollover?

A more popular change is to use a computer that does not ever have daylight saving time, thus avoiding the issues on days when clock change; that does not requiring archiving of old files, as only two days per year are affected.
bellmike
Posts: 43
Joined: Thu 18 Aug 2022 1:46 am
Weather Station: davis vantagepro2
Operating System: windows11
Location: Bellenden Ker Australia
Contact:

Re: changing day start

Post by bellmike »

Thanks for your reply I was having some problems and wanted to compare some data to my wll I have only been using cumulusmx for a short while and just getting used to things. I appreciate your advice and think I will not change it just for the sake of it . Especially when my understanding of these things are limited
cheers Mike
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: changing day start

Post by sfws »

bellmike wrote: Thu 22 Sep 2022 12:32 am I was having some problems and wanted to compare some data to my wll
If I understand your posts in other topics correctly, the actual issue is that you have 9am rollover in MX, but want to compare to calendar day based WLL data, and all you want to compare is data for just part of last month (August) and for so far in this month (September).
This is not what your initial post in this topic asked (there you wanted to change a midnight rollover to a 9am rollover and then go back to midnight rollover, to do that is far more complicated). If my revised view of what you actually want to do is now correct, there is not a lot of work needed to just compare that short period.

You would create a copy, of all files in your whole MX installation, in another location/directory (therefore keeping MX running as now, and ensuring none of your existing data files are affected). If your copy installation does not already have "CreateMissing.exe" and "CreateMissing.exe.config", add these to this new location (download link found at https://cumuluswiki.org/a/Software#Create_Missing).

In the copy installation:
Choose an editing program that is designed for programmers, coding editors like Geany, Notepad++, NoteTab, and many others are okay. The Microsoft Notepad that comes with your Windows 11 could be used if you can't use a better editor, but you need to use its Save as option and select the saving mode as UTF-8 without BOM (byte order mark) as by default Microsoft (and Google) normal save operations may add two unwanted BOM characters to start of file (preventing Cumulus from understanding the file).
First, edit "Cumulus.ini" at the new location; navigate to section headed [Station] and find parameter that currently reads RolloverHour=9, change that nine into a zero, which is how it would be for midnight rollover.
Second, edit your data\Aug22log.txt and data\Sep22log.txt files in the new location. Move the lines at end of the August file that have dates relating to 1 September (the times at start of these lines will be midnight to just before 9am) out of that August file and into the start of the September file. This will effectively convert those 2 files to how they would be for midnight rollover.
Third, delete the copy of "data\dayfile.txt" in the new location, that eliminates all existing daily summary entries based on 9am rollover.
Finally, run the "CreateMissing.exe" file found at the new location, it will read your RolloverHour=0 in Cumulus.ini , read your edited August and September files, and finally it will create a new version of "dayfile.txt", with contents as they would be for midnight rollover.

I don't know if those 3 converted files are enough for your comparison? If so, job done.

If you do really need more, then you could stop your normal MX, then run the version of MX in the new location for a short time.
In interface of MX in new location, go to Edit menu, then work through all the extreme record editors. In each, use the "Copy xxx" options (highlight figures and times in "dayfile.txt" column) to replace every existing extreme record with a new extreme record value/time based on data in the new "dayfile.txt". You could take screen shots of every edited editor page if you need that visual presentation.
Next, stop this copy based MX, and restart your normal MX using the unchanged files, it will carry on from when it was stopped. You may have a gap in your data, but hopefully it will be a short one.
You will meanwhile have in the copy location the full set of extreme record files to use for the comparison, but the comparison may have to be done in the unfriendly way of reading files, if you did not take screen shots.
bellmike
Posts: 43
Joined: Thu 18 Aug 2022 1:46 am
Weather Station: davis vantagepro2
Operating System: windows11
Location: Bellenden Ker Australia
Contact:

Re: changing day start

Post by bellmike »

my apologies for the late response I appreciate the help you have given me I don't understand half of it but I can do some things if I read it 10 times and do it step by step my biggest problem is I am just starting out and I don't understand a lot of the language been used so if I do want to try what you have suggested I now have this as a reference to come back to
I have moved on to trying to set up my website now and where I though cumulus was not reporting properly has been sorted out by me learning on the way. I have had some great help from people on this forum and i appreciate it
cheers Mike
Post Reply