Hello Forum,
Can anyone suggest a way to correct this data artifact in RTMC (See link below). I'm plotting 5 minute ppt data and when the guys drain the tanks, we get this drop in level. Ideally what I would like to plot is the cumulative rain total since Oct 1, that would automatically correct/ignore the drain events, and reset the counter to zero on Sept 30. Thoughts on this?
Plot example:
https://dl.dropbox.com/u/24837217/Screen%20Shot%202012-11-21%20at%2010.44.03%20AM.png
Thanks!
Not sure of your raingauge configuration (tanks???) but maybe having an extra variable eg. monthly_rain to store the cumulative rainfall will work.
You could then reset it at the beginning of each month.
Something like this
PulseCount (Rain_mm,1,1 ,2,0,0.2,0)
Monthly_rain = Monthly_rain + Rain_mm
You could reset it with the RealTime instruction when it is the first day of the month rTime(3)=1 at the first hour rTime(4)=1 and first minute rTime(5)=1 to prevent losing data if it is raining at that time
RealTime(rTime)
If rTime(3)=1 and rTime(4)=1 and rTime(5)=1 then Monthly_rain=0
Cheers
Grant