Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 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

Rainfall This Month and Year not Showing on Table

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

Yesterday I finished installing my new Davis weather station to replace a worn out FO station. (Thanks again for the help on that Steve). Running MX 3038 on a Pi2. I noted that 'Today's rain' was 2.81in but should have been 0. The 2.81in rate had occurred on Jan 3. I edited Today's rain to read 0. Today I noticed that 'Rainfall This Month' and 'Rainfall This Year' read 0 on the template table.


Capture.JPG
They are both OK in the 'this month' and 'this year' tables except for the date.

Is there a way to correct this?

Thanks,
Ron
You do not have the required permissions to view the files attached to this post.
Ron Wright (ronwright418)
Image
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: Rainfall This Month and Year not Showing on Table

Post by steve »

Monthly and annual totals are calculated at startup from the daily totals in dayfile.txt, so I suspect that having set that 2.81 to zero all of your entries in dayfile.txt are zero. You need to stop MX and edit one or more entries in dayfile.txt, and then restart MX.
Steve
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

Is there a key to show what the series of numbers in dayfile.txt represent?
Ron Wright (ronwright418)
Image
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: Rainfall This Month and Year not Showing on Table

Post by steve »

In the wiki: http://wiki.sandaysoft.com/a/Dayfile.txt

MX currently has no built in editor for the log files, which makes it a bit harder to do manual alterations.
Steve
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

Thanks, shoulda looked there. I did find some info in search, but it seemed like everybody there knew the key. Guess I'll have a go with Notepad++ and find out what RegEx does also.
Ron Wright (ronwright418)
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

Just a hint for those who may not think about it: A spreadsheet is a handy way to look at the data and the columns coincide with the alpha list in the wiki.
Ron Wright (ronwright418)
Image
User avatar
PaulMy
Posts: 3760
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: Rainfall This Month and Year not Showing on Table

Post by PaulMy »

Just a hint for those who may not think about it: A spreadsheet is a handy way to look at the data and the columns coincide with the alpha list in the wiki.
Correct, but keep in mind that it is not recommended to use spreadsheet/Excel to edit the file(s) as it can change some formatting like I learned that hard way over the past week when my time stamps were altered :oops:

I see you mention RegEx which I had not heard of until last week, and that was a godsend to help me out of my dilemma.

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by mcrossley »

ronwright418 wrote:Just a hint for those who may not think about it: A spreadsheet is a handy way to look at the data and the columns coincide with the alpha list in the wiki.
But be *very* careful saving data from a spreadsheet, they tend to mangle the date and time formats. If you do use a spreadsheet it is best to convert any date and columns to a text type. Also decimal places may be lost (you never know where they may be important) for integer values - eg "12.0" saves as "12".

I did write an Excel spreadsheet that imported and saved the data using macros in a "Cumulus friendly" way. Maybe I should finish that one day...
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

Thanks to those who warned about editing with a spreadsheet. I just used it to find the data easier. No counting columns as with notepad++, which is much easier than notepad. Does anyone know of a way to use notepad++ in Filezilla?
Ron Wright (ronwright418)
Image
User avatar
rogerthn
Posts: 485
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: Rainfall This Month and Year not Showing on Table

Post by rogerthn »

ronwright418 wrote:Thanks to those who warned about editing with a spreadsheet. I just used it to find the data easier. No counting columns as with notepad++, which is much easier than notepad. Does anyone know of a way to use notepad++ in Filezilla?
Should be possible
Edit => Settings... => File editing => Use custom editor => Browse for it :)
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

rogerthn wrote:
ronwright418 wrote:Thanks to those who warned about editing with a spreadsheet. I just used it to find the data easier. No counting columns as with notepad++, which is much easier than notepad. Does anyone know of a way to use notepad++ in Filezilla?
Should be possible
Edit => Settings... => File editing => Use custom editor => Browse for it :)
Thanks rogerthn. I tried that and it works for some files, but dayfile.txt defaults to notepad for some reason. May just something in my system? Guess I'll have to keep transferring files -- could be worse, I only have a few lines to deal with.
Ron Wright (ronwright418)
Image
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: Rainfall This Month and Year not Showing on Table

Post by steve »

Did you select 'always use default editor'?
Steve
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Rainfall This Month and Year not Showing on Table

Post by ronwright418 »

steve wrote:Did you select 'always use default editor'?
I didn't because I thought that would revert back to notepad. Guess I overthought it. That did the trick, thanks again.
Ron Wright (ronwright418)
Image
Locked