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

Add rain totals for month to dayfile or monthly data file

Please DO NOT use this to publish your entire wish. This Forum is for specific suggestions to enhance the usability of Cumulus MX for all users, NOT your personal requirements. Please check this forum and the rejected forum to make sure you are NOT posting a DUPLICATE suggestion. It will be heavily monitored by Admin and Mark Crossley to determine the feasibility and the difficulty of the suggestion. Those Topics that are deemed inadmissible will moved to the rejected Forum. The remaining Topics will be the Accepted list of future developments, and when our voluntary development group adds it to a build, the build number will be added to the Topic title.
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

Post by broadstairs »

The dayfile readers do not seem to create the output as a file but a webpage which is useless for my use. I need raw data to allow me to create my graphs. I don't use Highcharts and never will. I don't want addons for something I feel should be there already.

This is obviously flogging a dead horse as everyone seems to feel this is unnecessary, apart from me.

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

Post by RayProudfoot »

Stuart,

I have exported data from my dayfile.txt file to Excel where I can create fancy charts for my own use. I’m sure with OpenOffice you could achieve your aims.

Alternatively, Microsoft Office will do much the same. https://mm3digital.com/product/microsof ... oduct-key/
Cheers,
Ray, Cheshire.

Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Add rain totals for month to dayfile or monthly data file

Post by freddie »

I wouldn't welcome a new column in the data file due to the number of changes required to cater for it. A possible solution may be to dynamically generate it locally from the rain counter column. That should be pretty robust as the counter doesn't get reset (apart from year end).
Freddie
Image
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

Post by broadstairs »

freddie wrote: Tue 10 Sep 2024 5:24 pm I wouldn't welcome a new column in the data file due to the number of changes required to cater for it. A possible solution may be to dynamically generate it locally from the rain counter column. That should be pretty robust as the counter doesn't get reset (apart from year end).
That's why I suggested the month data file. I believe this is an important statistic which is why I believe it should be saved at month end somehow. I just do not understand why this is not already done!

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
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

Post by broadstairs »

RayProudfoot wrote: Tue 10 Sep 2024 5:20 pm Stuart,

I have exported data from my dayfile.txt file to Excel where I can create fancy charts for my own use. I’m sure with OpenOffice you could achieve your aims.

Alternatively, Microsoft Office will do much the same. https://mm3digital.com/product/microsof ... oduct-key/
I just don't want to do it manually! I want an automated solution.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Add rain totals for month to dayfile or monthly data file

Post by SamiS »

broadstairs wrote: Tue 10 Sep 2024 5:29 pm
That's why I suggested the month data file. I believe this is an important statistic which is why I believe it should be saved at month end somehow. I just do not understand why this is not already done!
For me Mark’s earlier explanation makes perfect sense. Avoid storing a value that can be easily calculated from the existing data. It is just a waste of storage.
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

Post by broadstairs »

SamiS wrote: Tue 10 Sep 2024 5:34 pm
broadstairs wrote: Tue 10 Sep 2024 5:29 pm
That's why I suggested the month data file. I believe this is an important statistic which is why I believe it should be saved at month end somehow. I just do not understand why this is not already done!
For me Mark’s earlier explanation makes perfect sense. Avoid storing a value that can be easily calculated from the existing data. It is just a waste of storage.
For heaven's sake we're talking peanuts here storage is cheap! Who has less than terabyte of storage on their PC.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Add rain totals for month to dayfile or monthly data file

Post by Mapantz »

I'm not opposing any additions, but one could end up asking if the same could be done for sunshine hours, evapotranspiration totals, etc

I guess it comes down to how the user is trying to gather their data? I use SQL, so it's pretty straightforward for me. To be honest, I've never really thought about Cumulus storing monthly or yearly totals as webtags.
Image
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

Post by broadstairs »

Mapantz wrote: Tue 10 Sep 2024 5:49 pm I'm not opposing any additions, but one could end up asking if the same could be done for sunshine hours, evapotranspiration totals, etc

I guess it comes down to how the user is trying to gather their data? I use SQL, so it's pretty straightforward for me. To be honest, I've never really thought about Cumulus storing monthly or yearly totals as webtags.
Yes there are probably other things which are missing but also probably not as universally expected in my view as rain data. I do not want or need the overhead ov mysql for one value which CMX does have but not log in a data file. That's the issue here why calculate it and not save it?

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Add rain totals for month to dayfile or monthly data file

Post by SamiS »

broadstairs wrote: Tue 10 Sep 2024 5:45 pm
SamiS wrote: Tue 10 Sep 2024 5:34 pm For me Mark’s earlier explanation makes perfect sense. Avoid storing a value that can be easily calculated from the existing data. It is just a waste of storage.
For heaven's sake we're talking peanuts here storage is cheap! Who has less than terabyte of storage on their PC.
It is not the cost or the amount of data. It is just the basic principle of not doing something that is not necessary. Yes, I totally agree that storing one value more probably does not cause any cmx user to end up with full disk despite of the fact that cmx can be run in very low-end IoT hardware with little storage.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Add rain totals for month to dayfile or monthly data file

Post by water01 »

I am curious as to why this is such a big issue now when according to your profile you have been a member since 2008 when you must of started on Cumulus 1. Why have you not asked back in the days of Steve Loft?
David
Image
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

Post by broadstairs »

water01 wrote: Tue 10 Sep 2024 8:50 pm I am curious as to why this is such a big issue now when according to your profile you have been a member since 2008 when you must of started on Cumulus 1. Why have you not asked back in the days of Steve Loft?
Because although I started testing Cumulus back then it did not do what I needed and so stuck with Weather Display which in those days worked well and Linux had not developed to the extent it has now. Only in 2002 did I return to use CMX because WD by then had (and still has) some issue which the author was not fixing despite many requests not only from me but many others as well. One other reason was the lack of support for Linux in WD, yes it has some versions but is very flaky and will not run on many distros and again the author is not really interested in fixing it. My old Windows PC was getting flaky as well and I had no intention of upgrading it or moving from Windows 7 and is now in the scrap bin! By now CMX has become a much better product and does 99.99% of what I need and ran easily on Linux.

It was only when starting to create graphs which use a completely free product that I then discovered the lack of this value. As I said I will not use Highcharts and the graphs it does create do not supply what I feel I need, rainfall average to actual comparison for example. I am just very surprised that this seems to be such an issue for folks who do not agree with me. This was a very minor and simple request to store a value which CMX calculates anyway. I am also surprised about the number of replies which seem to ignore my intention of automating this which I thought I had made clear, running spreadsheets is not an answer nor is dayfile readers which generate a webpage which would be ignored by 90% of my visitors as too complex.

As I said earlier it seems like I am flogging a dead horse on this topic.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
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

Post by mcrossley »

MX already has a web tag for annual rainfall #AnnualRainfall, which you can optionally specify the year. e.g. <#AnnualRainfall y=2023>

Would a new web tag for monthly rainfall where you can optionally supply the year and month, solve this problem? Something like. <#MonthRainfall y=2023 m=3>, the default being the current months total so far.
User avatar
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

Post by mcrossley »

This would join the small band of newish tags that summarise over a defined period:

MonthTempAvg
YearTempAvg

proposed: MonthRainfall
AnnualRainfall
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Add rain totals for month to dayfile or monthly data file

Post by Mapantz »

mcrossley wrote: Tue 10 Sep 2024 10:18 pm Would a new web tag for monthly rainfall where you can optionally supply the year and month, solve this problem? Something like. <#MonthRainfall y=2023 m=3>, the default being the current months total so far.
I think that's a nice addition regardless. :clap:
Image
Post Reply