Page 1 of 1
'Yesterday' Rainfall bug
Posted: Sun 07 Jun 2009 10:29 am
by beteljuice
Hi Steve:
As you know I use a big rain collector (multiplier set to 0.10).
I've only just noticed that the multiplier is NOT being applied to the 'yesterday' rainfall figures on:
- The initial console screen
<#webtag>
realtime.txt
However:
- Graphs (various)
extremes
month total
Appear to be OK !
Re: 'Yesterday' Rainfall bug
Posted: Sun 07 Jun 2009 11:47 am
by steve
Oh good, another bug with my favourite feature, the multipliers.
I've had a quick look and it seems to be a bit of a mess. It appears that, depending on the circumstances, sometimes the multiplier is applied correctly to yesterday's rain, sometimes it isn't applied at all, and sometimes it's applied twice. I'll have to have a longer look at it and sort it all out, but not just now as I'm not feeling too well.
Re: 'Yesterday' Rainfall bug
Posted: Sun 07 Jun 2009 11:54 am
by beteljuice
No probs - In your own time Steve.
If you're not feeling well, take a break mate

Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 10:10 am
by steve
Actually, now I've looked at it in more detail, it seems to me that the bug is simply that the multiplier gets applied twice to the value displayed on the main screen (and hence in the web tag and realtime.txt, which get their value from the main screen).
Does this not match what you're seeing?
Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 11:35 am
by beteljuice
No !
For those values the multiplier appears not to have been applied at all !
rainfall.jpg
rainfall2.jpg
The graph being the 'correct' value.
Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 11:45 am
by steve
I doin't understand. You say the graph shows the correct value (which I'd expect as that has nothing - internally - to do with the 'yesterday' data), and the main display shows 0.7 for the yesterday total. Your multiplier is 0.1, so it looks to me like the multiplier has been applied twice - presumably your gauge thinks it has recorded 65 (ish) mm, the 0.1 multiplier is then applied to make the correct value of 6.5 (ish) and then the bug is that the multiplier is then applied twice to give 0.7 (ish).
Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 11:54 am
by beteljuice

Dooh, fuzzy thinking, of course the multiplier is a fraction, which also happens to be 0.1
So the numbers stay the same, but the dec pt has been shifted and then shifted again.
I'm glad you're awake
Edit:

The beteljuice must have beeen having a bad bald day when he dognosed the problem, his brain (?) was forgetting the multiplier was actually dividing his 'overlarge' collector data !
humble apologies ...
Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 11:58 am
by steve
OK. Fix on its way.

Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 12:15 pm
by steve
Re: 'Yesterday' Rainfall bug
Posted: Mon 08 Jun 2009 10:24 pm
by beteljuice
Yup - lookin' good
