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

Incorrect "This month" and "monthly Records" figures

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
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Incorrect "This month" and "monthly Records" figures

Post by griffo42 »

Hi all

The above figures are incorrect as evidenced by the attached screen shots from CumulusMX new version as well as viewing both of these pages from:

https://www.kstwx.net/cumx/index.htm.

I am using the latest version of CumulusMX - 3060.

Could I have advice as to how to correct the problem, please.
griffo42
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
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: Incorrect "This month" and "monthly Records" figures

Post by mcrossley »

Hi Keith, do you mean the unset values for April? Was Cumulus running in April and you have some data for that month?
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Incorrect "This month" and "monthly Records" figures

Post by griffo42 »

Hi Mark

Thanks for your reply. April is just one example of each of the months data. The problem also occurs in the months data in the "old type" web pages as can be seen in the URL https://www.kstwx.net/cumx/index.htm.

I have downloaded the 3060 update and installed it as per your instructions - overwritten all files from the download zip - on another post on that subject.

best wishes

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
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: Incorrect "This month" and "monthly Records" figures

Post by mcrossley »

It looks like either your monthlyalltime file has been overwritten, or the contents are invalid for some reason.

Which version of Cumulus to did you upgrade to b3060?

Zip up your MXdiags folder, and also attach your monthlyalltime file.
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Incorrect "This month" and "monthly Records" figures

Post by griffo42 »

Hi Mark

Yes, I am using Cumulus (3.2.4-b3060).

Attached are the files for which you asked.

Again, thanks for your help

Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
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: Incorrect "This month" and "monthly Records" figures

Post by mcrossley »

OK, that doesn't really show anything of any use.

You have to go back through the backup folders until you find a good copy of the monthlyalltime.ini file, and copy that to to your data folder (with Cumulus stopped).
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Incorrect "This month" and "monthly Records" figures

Post by griffo42 »

Hi Mark

After using a relevant back-up that I had and the editing of 2 "ini" files all is now back to where it should be.

Thanks for your advice and help.

best wishes

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
BrunswickWeather
Posts: 76
Joined: Fri 11 Mar 2011 2:04 am
Weather Station: Ecowitt GW1103
Operating System: windows 11 Pro/Raspberry pi 4
Location: Brunswick Australia

Re: Incorrect "This month" and "monthly Records" figures

Post by BrunswickWeather »

"This Month" editing shows the incorrect month for logfile. For this month December 2019 it shows November 2019. The dayfile and records show the correct month. My current v3.2.5 build 3061

One further request is able to show records between two dates as in Cumulus 1 as per "This Period". I use this for rainfall against my water bill and rainfall tank usage. This can also be used for the seasons eg winter, summer, autumn and spring.
gauripuri
Posts: 1
Joined: Tue 17 Dec 2019 5:54 am
Weather Station: 4.6
Operating System: windows 10

Re: Incorrect "This month" and "monthly Records" figures

Post by gauripuri »

Thanks for the information.
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: Incorrect "This month" and "monthly Records" figures

Post by mcrossley »

BrunswickWeather wrote: Tue 17 Dec 2019 12:27 am "This Month" editing shows the incorrect month for logfile. For this month December 2019 it shows November 2019. The dayfile and records show the correct month. My current v3.2.5 build 3061
Do you use a 9am met day?
BrunswickWeather
Posts: 76
Joined: Fri 11 Mar 2011 2:04 am
Weather Station: Ecowitt GW1103
Operating System: windows 11 Pro/Raspberry pi 4
Location: Brunswick Australia

Re: Incorrect "This month" and "monthly Records" figures

Post by BrunswickWeather »

Yes 9am Melbourne, Australia ‎(UTC+11)‎ Summer time
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: Incorrect "This month" and "monthly Records" figures

Post by mcrossley »

Ok, I see the problem, I allowed for 9am met days in one part of the code and didn't spot it needed doing in a second place. I'll fix that for the next release, thanks for the report.
BrunswickWeather
Posts: 76
Joined: Fri 11 Mar 2011 2:04 am
Weather Station: Ecowitt GW1103
Operating System: windows 11 Pro/Raspberry pi 4
Location: Brunswick Australia

Re: Incorrect "This month" and "monthly Records" figures

Post by BrunswickWeather »

Also in "This Year's Records Editor" the logfile displays "High monthly rain" at 2018-12 but it is 2019-05 in dayfile and "High minimum temperature" as 06-12-18 (26.9) instead of what the dayfile shows 02-03-19 (25.4).
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: Incorrect "This month" and "monthly Records" figures

Post by mcrossley »

Yep, "this year" uses the same bit of code as "this month".

Summary, the code uses a date of the first of the month to determine the month log file name (at midnight). But the function that generates the file names takes account of 9am stations, 9 hours is subtracted from the date/time before generating the file name, which gives you the previous month!
Post Reply