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
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
Add rain totals for month to dayfile or monthly data file
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Add rain totals for month to dayfile or monthly data file
There is no rain total recorded in the month data file neither is it in the day file. Would it be possible to the add the monthly rainfall total to date to the month data file or the dayfile?
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
Weerhaas
- Posts: 25
- Joined: Mon 31 Aug 2015 6:31 am
- Weather Station: Vantage Pro 2 Plus
- Operating System: Windows Pro 10 64b
- Location: Zaandam, Nederland
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
It is in the realtime.txt.
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
Yes there is also a web tag for current month but what I want to get is the month total at the end of the month which means waiting until after rollover at midnight so you don't miss any last second tips and by that time it is a new month. I think adding something to either month data file or dayfile would be a valuable thing to have and being able to look back at all previous months easily is also a bonus. In addition this would mean calculating monthly averages is made easier.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- mcrossley
- Posts: 14382
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
We (Steve before me) have tried to avoid adding data that is fairly easily computed/derived. The day file particularly gives a total for each day so you can total up whatever period you like.
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
Yes in many ways I understand but in the case of the monthly rain total you keep track of it all month anyway so there is no need to calculate anything extra in CMX. In this case all that is needed is to add a rain-total-month-to-date field to either the dayfile or the monthly data file then the month total is the last line of the month data file of the last day of month line in dayfille.
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- rogerthn
- Posts: 547
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
My 2 cents having data in MySQL
Code: Select all
SELECT substr(LogDate,1,7) AS Month, count(*) AS Days, sum(TotRainFall) As MonthRain FROM Dayfile group by substr(LogDate,1,7);You do not have the required permissions to view the files attached to this post.

-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
That assumes you use mysql but I don't and don't see the need especially just for the sake of having these values which in my view could easily be saved by CMX as they are already created.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
The NOAA reports have this.
Enjoy,
Paul
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
Yes I know but try processing a NOAA report with a program, it's much more complex than reading a data file with specific columns.
Sorry but I just don't see the issue with saving a value which is already calculated in a data file which can very easily be processed programmatically and is already used in reports and web tags. To me it's a no brainer. If I was asking for data to be collected in order to create the value then I could understand it but all I'm suggesting is that the value be saved in a data file, which in my view should have been in the original design spec anyway.
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
RayProudfoot
- Posts: 3602
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
@broadstairs, I'm curious. You say you want to process this info using a program. For what purpose? The monthly rain totals are stored in the NOAA reports. Or if you want to extract them then the process @rogerthn described is about as simple as it gets.
I use Microsoft Access to extract info from my dayfile.txt in Cumulus1.
I use Microsoft Access to extract info from my dayfile.txt in Cumulus1.
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
I believe in automation so I need a process where I can easily extract the data I need. So I can currently get 99.99% of the data I need for my website from the day file or the month data file. The one thing missing is for the rainfall total for the month which frankly I expected to find on one or other of those files and it is in neither which I did not expect, honestly I think it is wrong for it not to be at least in the monthly data file probably as a total-rainfall-to-date value which again is readily available all through the month.
Now yes I could process either file and create the data but this is for my website and I do not want to use the band width to upload all that data just to extract that value every time it is needed to display, yes I could do it locally but why when CMX has done the work right up to month end and then not written to the month data file.
The monthly rain total is needed to be able to calculate the average rainfall for that month which in my view is a very important statistic when looking back over time to see how rainfall varies and compare with the current total for the month.
Stuart
Now yes I could process either file and create the data but this is for my website and I do not want to use the band width to upload all that data just to extract that value every time it is needed to display, yes I could do it locally but why when CMX has done the work right up to month end and then not written to the month data file.
The monthly rain total is needed to be able to calculate the average rainfall for that month which in my view is a very important statistic when looking back over time to see how rainfall varies and compare with the current total for the month.
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
sutne
- Posts: 577
- Joined: Sun 14 Oct 2012 4:23 pm
- Weather Station: HP2560 (WS80) and HP2550 (WS90)
- Operating System: Raspbian Bullseye and Bookworm
- Location: Rjoanddalen and Kronstad, Norway
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
Have you checked the different DayFileReaders (YADR)?
They do this, either directly from the Dayfile or from MySql.
Ex:
They do this, either directly from the Dayfile or from MySql.
Ex:
You do not have the required permissions to view the files attached to this post.
Last edited by sutne on Tue 10 Sep 2024 4:18 pm, edited 1 time in total.
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
No
I simply do not understand why this value is not already available in the fairly comprehensive data files built by CMX. The data exists anyway why not write it to the month data file? This is such a basic simple request why do I have to run all sorts of other software to get the data?
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
RayProudfoot
- Posts: 3602
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
I've been running Cumulus for 15 years and never thought the omission of monthly rainfall in any of the data files was a problem. As sutne says try Beteljuice's Day File Reader which will give you all the stats you need on averages for temp, rainfall and wind you could possibly need.broadstairs wrote: ↑Tue 10 Sep 2024 4:18 pm I simply do not understand why this value is not already available in the fairly comprehensive data files built by CMX. The data exists anyway why not write it to the month data file? This is such a basic simple request why do I have to run all sorts of other software to get the data?
Stuart
Mine is shown here. https://www.cheadlehulmeweather.co.uk/b ... ummary.php
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Add rain totals for month to dayfile or monthly data file
There are many ways to skin a cat.
I've often wondered if the Monthly and Dayfile logs could have an additional line at the bottom where a Start and End date can be entered (similar to the Data Log Viewer) and then have the sum for that Start to End dates below the various columns - i.e. Rain, Wind run, etc. This doesn't add any additional fields to dayfile so no new CreateMissing needed. But likely this wouldn't create a new source of data as Stuart is asking.
Like others have mentioned, the beteljuice Annual Data script is my most used go-to website - my own and others!
p.s. Mark, and if I haven't already thanked you for adding that Start Date and End Date to the Data Log Viewer,
it is one of my most used CMX Dashboard functions.
Enjoy,
Paul
I've often wondered if the Monthly and Dayfile logs could have an additional line at the bottom where a Start and End date can be entered (similar to the Data Log Viewer) and then have the sum for that Start to End dates below the various columns - i.e. Rain, Wind run, etc. This doesn't add any additional fields to dayfile so no new CreateMissing needed. But likely this wouldn't create a new source of data as Stuart is asking.
Like others have mentioned, the beteljuice Annual Data script is my most used go-to website - my own and others!
p.s. Mark, and if I haven't already thanked you for adding that Start Date and End Date to the Data Log Viewer,
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm