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

New rain rate calculation

Discussion specific to Fine Offset and similar rebadged weather stations
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: New rain rate calculation

Post by steve »

When did you start Cumulus running?

Steve
Samuel
Posts: 53
Joined: Wed 22 Oct 2008 7:31 pm
Weather Station: WH1080
Operating System: vista
Location: Pålsboda, Sweden
Contact:

Re: New rain rate calculation

Post by Samuel »

I looked at wrong value on the webpage it was "22,5 mm/hr at 09:36 on 26 november 2008"
Image
Samuel
Posts: 53
Joined: Wed 22 Oct 2008 7:31 pm
Weather Station: WH1080
Operating System: vista
Location: Pålsboda, Sweden
Contact:

Re: New rain rate calculation

Post by Samuel »

I started Cumulus this morning and it has run all day, but when I found this strange value I restarted Cumulus but it has same value when it started again.
Now I change in records to the old record, and today.ini to a more normal value.
Image
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: New rain rate calculation

Post by steve »

OK, thanks. There's clearly some other problem that I haven't spotted yet.

I think I will start again. I think I'll go for something much simpler, for now, which is: Take the rainfall in the last 5 minutes, multiply that by 12, and call that the current rate (i.e. per hour). So, if 2 mm fell in the last 5 minutes, that's a rate of 24 mm/hr.This is like the old 'rain in last hour' method, but finer grained. It also corresponds more closely to the calculation using the history data (it's exactly the same if you have your station set to log every 5 minutes).

Steve
dc1500
Posts: 243
Joined: Thu 04 Sep 2008 8:35 am
Weather Station: Watson W-8681 (Fine Offset type)
Operating System: Windows 10
Location: Laindon, S. Essex
Contact:

Re: New rain rate calculation

Post by dc1500 »

Fine with me, it's not exactly a figure that's widely used in standard weather record keeping.
Dave
Image
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: New rain rate calculation

Post by steve »

dc1500 wrote:Fine with me, it's not exactly a figure that's widely used in standard weather record keeping.
Dave
That's pretty much what I was thinking, Dave. The station doesn't bother to calculate it, Easyweather doesn't, there don't appear to be any official guidelines on calculating rain rate with a TBR, so the way I see it, anything that gives a reasonable figure is probably good enough.

Thanks,
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: New rain rate calculation

Post by steve »

OK, I think I have something. I'll upload it tomorrow.

Steve
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: New rain rate calculation

Post by Super-T »

By my thinking, "Rain Rate" means the rate at which the rain is falling at the time. If no rain then no rain rate. That would mean that you would have to decide if there was any rain currently and work the rain rate from there.
I can see all sorts of difficulties there but logically, you can't have a rain rate if there is no rain at the time. It's like saying that a car is going at 50kph and that is it's "Rate". When it stops then it's rate is 0.
Just my thoughts :-)
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: New rain rate calculation

Post by steve »

Can't argue with any of that. Now, if only our weather stations had sensors which told us whether it was currently raining, and better still, at what rate.

Steve
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: New rain rate calculation

Post by Super-T »

Lets see.....the way I understand it is that the rain gauge works by a tilting bucket arrangement? I must have a look inside sometime.
If the bucket tilts then it is raining. When it hasn't tilted for a set time then it has stopped raining, or evaporation is faster than the rainfall? The time between tilts gives the rate and can be measured over a set time. If it rains for more than an hour then it would be fifo. I guess this is something like you are already doing? I don't know enough about how long it takes to tilt, or the size of the bucket, to guess how long you should be looking for a no tilt or indeed the next tilt.
Different models with different parameters must be a nightmare to figure out.
My logic is probably all wrong.
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: New rain rate calculation

Post by steve »

Super-T wrote:My logic is probably all wrong.
No, you have it exactly right. This is the algorithm the Davis stations use internally, and the algorithm I tried to implement initially. It's a nightmare because of the asynchronous nature of Cumulus reading the data every 10 seconds (or whatever), and the station updating every 48 seconds, independently. The code to work out the time between tips is horrendous.

Yes, it's do-able - I've been designing and writing software professionally for nearly 30 years, and I've solved much harder things than this in my time. But it's so tedious having to write the code, give it to you to test, wait for it to rain, discover something I hadn't thought of, repeat... And all the time I'm thinking, is it really worth the effort for rain rate? Wouldn't something not quite so fancy do instead? So that's what I'm going for :)

We can revisit rainfall rate in Cumulus 2. It's probably much easier in C# :geek:

Steve
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: New rain rate calculation

Post by Super-T »

Rain rate doesn't really matter to me either....if I stand outside and get wet then it's raining :-) Just trying to analyse the problem.
My programming is fairly limited and I would never class myself as a programmer, more a problem solver. Most programmes have been on robotics and PLC's but I should really get my teeth into something a bit more modern.
Maybe I should make a hardware mod for the wh-1081 :-)
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: New rain rate calculation

Post by steve »

Super-T wrote:Maybe I should make a hardware mod for the wh-1081 :-)
What would be nice would be if someone could write some new firmware for it :)

Steve
User avatar
TrOjAn
Posts: 51
Joined: Sat 22 Nov 2008 10:11 am
Weather Station: W-8681 Special from Maplins
Location: Basildon Essex
Contact:

Re: New rain rate calculation

Post by TrOjAn »

I have a rain detector outside attached to my home automation system, its there so if the wife has washing on the line and it rains then we are told over the house speakers its raining. Saved my neck a few times ;)

IF? I went to the xAP side of things then MAYBE it could be used to let cumulus know its actually raining.. would get complicated though, thats for sure.

TrOjAn
You do not have the required permissions to view the files attached to this post.
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: New rain rate calculation

Post by steve »

Excellent :)

I assume it works by the rain causing conductivity? And you can adjust the sensitivity?

Steve
Post Reply