Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu May 23, 2013 4:05 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: RG11 - Rain rate calculation
PostPosted: Sun Jul 15, 2012 2:20 am 
Offline

Joined: Sun Jan 22, 2012 7:37 am
Posts: 13
Location: Jakarta
Weather Station: WMR200
Operating System: Home Server
Would it be complicated to do a rain rate calculation for the RG11 input? Would much welcome such an addition (webtag) to Cumulus new RG11 features.

Thanks,

Lars


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Sun Jul 15, 2012 8:10 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17579
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
It would be like the Fine Offset calculation, based on the rain in the last five minutes. Quite a lot of extra code, and not very useful, in my opinion, like the FO figure. It's not really a very good way to calculate rain rate.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Mon Jul 16, 2012 12:51 am 
Offline

Joined: Sun Jan 22, 2012 7:37 am
Posts: 13
Location: Jakarta
Weather Station: WMR200
Operating System: Home Server
Ok, thanks for your comment. What was the experience you made with it for the FO stations. Why is this not a good way to calculate rain rate? Trying to learn a bit more....


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Mon Jul 16, 2012 7:12 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17579
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
dive76 wrote:
Why is this not a good way to calculate rain rate?
It needs to be 'dynamic' and based on the time between tips, like the way Davis weather stations do it. Unless the rain is heavy, the five-minute calculation gives sudden changes in rate, between a positive value and zero.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Mon Jul 16, 2012 10:15 am 
Offline

Joined: Sun Jan 22, 2012 7:37 am
Posts: 13
Location: Jakarta
Weather Station: WMR200
Operating System: Home Server
Thanks Steve, I get the point. I guess to implement such a dynamic rate calculation would be a lot of work to do.


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Mon Jul 16, 2012 10:17 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17579
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
dive76 wrote:
I guess to implement such a dynamic rate calculation would be a lot of work to do.
I did the write the code (for Fine Offset stations) and it's still there, dormant, in Cumulus. But there were some issues with it so I had to disable it. One day I'll look at it again and see if I can fix the problems.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Wed Jul 18, 2012 2:28 am 
Offline

Joined: Sun Jan 22, 2012 7:37 am
Posts: 13
Location: Jakarta
Weather Station: WMR200
Operating System: Home Server
Sorry Steve that I come back on this topic,
If I take it in a mathematical way the rain rate should be the incremental gradient of the rain time-volume curve.
If we assume that v1 would be the total amount of rain at a time t1 and v2 the total amount of rain at the next dip at time t2 then:
Rain rate=(v2-v1)/(t2-t1).

Or in more general terms for each step (dip) n:

Rain rate=(Vn+1 – Vn)/ (tn+1 –tn)

This would be a very simple and short algorithm to make.

I guess the topic is much for complex and I am most likely missing some important point here. Just try to learn a bit more :roll:


Top
 Profile  
 
 Post subject: Re: RG11 - Rain rate calculation
PostPosted: Wed Jul 18, 2012 7:04 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17579
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
It's not the calculation itself that is the issue, as I said, I have written code for it which works perfectly well. In general (ignoring the specific situation of the RG11) the hard part is catering for all the various combinations of live data and logger data, getting garbage from the station, starting and stopping Cumulus etc etc.

I'm not stupid, honestly; I just need to find time to look at it again and work out what the problem was.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group