Page 1 of 1

Missing Data for sum15/sum1h/sum6h and incorrect rain totals

Posted: Fri Mar 28, 2014 6:42 pm
by hymrog
Hello -

I noticed when updating my Saratoga Weather templates for the following [rain0total-sum15] [rain0total-sum1h] [rain0total-sum6h] no data is returned even though the current rain event falls within the ranges and should generate some data. Here is my code from the MBtags-template

Code: Select all

wvar	rain0total-sum60	rain total last 60 minutes
wvar	rain0total-sum30	rain total last 30 minutes
wvar rain0total-sum15	rain total last 15 minutes
wvar	rain0total-sum10	rain total last 10 minutes
wvar	rain0total-sum5		rain total last 5 minutes
wvar	rain0total-sum2		rain total last 2 minutes
wvar	rain0total-sum24h	rain total last 24 hours
wvar	rain0total-sum12h	rain total last 12 hours
wvar rain0total-sum6h	rain total last 6 hours
wvar	rain0total-sum3h	rain total last 3 hours
wvar	rain0total-sum1h	rain total last hour


and my code from my MB-defs.php page

Code: Select all

$rain5minuteago = sprintf($rainDP,$WX['rain0total-sum5']);
$rain10minuteago = sprintf($rainDP,$WX['rain0total-sum10']);
$rain10minuteago = sprintf($rainDP,$WX['rain0total-sum15']);
$rain10minuteago = sprintf($rainDP,$WX['rain0total-sum30']);
$rain10minuteago = sprintf($rainDP,$WX['rain0total-sum60']);
All fields generate a tag except the sum15 sum1h and sum6h

$WX['rain0total-sum60'] = '0.00'; // rain total last 60 minutes
$WX['rain0total-sum30'] = '0.00'; // rain total last 30 minutes
$WX['rain0total-sum10'] = '0.00'; // rain total last 10 minutes
$WX['rain0total-sum5'] = '0.00'; // rain total last 5 minutes
$WX['rain0total-sum2'] = '0.00'; // rain total last 2 minutes
$WX['rain0total-sum24h'] = '0.00'; // rain total last 24 hours
$WX['rain0total-sum12h'] = '0.00'; // rain total last 12 hours
$WX['rain0total-sum3h'] = '0.00'; // rain total last 3 hours


Thanks for your help...
greg

Re: Missing Data for sum15, sum1h and sum6h Saratoga Weather

Posted: Sat Apr 19, 2014 4:18 am
by hymrog
Bump....thanks

Re: Missing Data for sum15, sum1h and sum6h Saratoga Weather

Posted: Sat Apr 19, 2014 10:32 am
by admin
Does live data tab show rainfall? Would be interesting to understand if rainfall is registered at all on your station.

Re: Missing Data for sum15, sum1h and sum6h Saratoga Weather

Posted: Sat Apr 19, 2014 3:54 pm
by hymrog
I believe the live data tab does show rainfall but I will need to check to be certain during the next rain event. Overall rainfall is recorded on my station. I also created a simple templates using using the rain0total-sum15, rain0total-1h and rain0total-sum1h and all returned rainfall data.

I then tried to arrange the wvar items from descending to ascending order and did not get tags generated for the 5 and 10 minutes fields.

As a side note, I also noticed that meteobridge may not be recording the rain fall amounts correctly. There was a difference between what meteobridge recorded and what meteoplug had for total rainfall. The meteoplug data was correct but my meteobridge was off by .10 inches. It seems that meteobridge is not saving the .01 inch of rainfall for each rain event. There have been 10 days with rain so far. I currently use the Aculink Internet Bridge to connect to my meteobridge.

Edit: I was able to validate that there is data showing on the live data tab for rainfall. I also noted that someone else is having the same issue as my comment that starts with "As a side note," in this post. Again it looks like the meteobridge is not recording the first .01 of rainfall but I think it may have something to do with the ['rain0total-daysum'] = '0.35' vs ['rain0total-act'] = '0.36' with the .36 reading being correct.

Thanks for your help
Greg

Re: Missing Data for sum15, sum1h and sum6h Saratoga Weather

Posted: Sat May 10, 2014 4:07 pm
by hymrog
Bump....Thanks

Re: Missing Data for sum15/sum1h/sum6h and incorrect rain to

Posted: Fri Jun 13, 2014 1:12 pm
by hymrog
Bump...thanks

Re: Missing Data for sum15/sum1h/sum6h and incorrect rain to

Posted: Fri Jun 13, 2014 2:18 pm
by admin
I cant comment to the Saratoga template.

Regarding the "issue" that one tip of the rain bucket might be missing, I will have a look at the code.
Please understand that this marginal deviation does not have top priority.

Re: Missing Data for sum15/sum1h/sum6h and incorrect rain to

Posted: Tue Sep 02, 2014 1:52 pm
by hymrog
It appears that the fix only corrected the omission of the first rain bucket tip for the those who use the Meteostick device. Can you please let the rest of know if it will also be corrected for those who do not use the Meteostick device.