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

Rainfall since midnight

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

richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

I killed the process with the kill -9 process id

Im sure it would do a clean shutdown.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

kill -9 should only be used to terminate a process as a last resort - it's not possible to catch SIGKILL. MX catches SIGINT and SIGTERM (2 and 15).
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

I've just reset my console and still getting this. I have done a clean shutdown by ./cumulusmx.sh -q

then i'm still getting rain counter 234.9 ?
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

And what should it be? The rain counter is just read from the station.
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

see attached Jan16log.txt
You do not have the required permissions to view the files attached to this post.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

should of been 0.0 because as I was resetting console we had no rain. now its 0.3mm as shown in the Jan16log.txt
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

The rain counter looks fine, it's the start of day counter which it compares it with which was reset to zero - at about 12:20, apparently. If it was already corrupt then you will have to correct it, just closing Cumulus correctly won't somehow fix it for you.
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

so what do you suggest?
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

richard_newberry wrote:should of been 0.0 because as I was resetting console we had no rain. now its 0.3mm as shown in the Jan16log.txt
Resetting the console doesn't clear the rain counter, it's held in the rain gauge. Resetting the console unless absolutely necessary is a bad idea as it can cause all kinds of problems with the data.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

richard_newberry wrote:so what do you suggest?
Correct the figure! Use the today's rain editor. Correct any other figures that have been affected (as before). Make sure you close Cumulus cleanly. Don't reset the console.
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

today.ini is correct.

[Rain]
High=3.60000000000014
HourlyHigh=0.3
HHourlyTime=12:52
Start=0
Yesterday=2.09999999999999
LastTip=2016-01-02 12:51
ConsecutiveRainDays=3
ConsecutiveDryDays=0
RG11Today=0
HTime=12:52

then I still got Rainfall Today 234.9 mm
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

richard_newberry wrote:today.ini is correct.
No it isn't!
Start=0
This should not be zero. Use today's rain editor to correct it.
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

Should it be changed to how much rainfall I've had today then?
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rainfall since midnight

Post by steve »

It should be the value of your rain counter at midnight. Just use today's rain editor to set today's rain to the correct amount (0.3 mm?) and Cumulus will adjust the start of day figure appropriately. You will probably need to stop Cumulus and edit (at least) month.ini and year.ini to correct the highest daily and monthly records. After using today's rain editor, make sure MX has written a new log file entry before closing it down.
Steve
richard_newberry
Posts: 500
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Rainfall since midnight

Post by richard_newberry »

Ok done.

changed values and just starting up cumulusmx and it goes back to 234-237 values.

I dunno what's up. I reset the console because it said the total was 234.7mm so I reset it to clear it.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
Locked