Page 1 of 1

High hourly rain

Posted: Sun 08 May 2016 11:54 pm
by Nin3DSFan
I have recently had erroneous readings that required me to edit data in the monthly logs
The readings also affected the 'records'. I deleted the dayfile.txt entries which contained extremes that were affected by the erroneous readings, and had cumulus recreate them from the monthly logs.

My question here is, how come high hourly rain is not re-calculated?

Re: High hourly rain

Posted: Mon 09 May 2016 7:42 am
by steve
It's non-trivial (rain in the last hour isn't held in the log files), and difficult to do reliably in all cases, and I didn't get around to working out the best way to do it, and actually writing the code.

Re: High hourly rain

Posted: Mon 09 May 2016 1:32 pm
by Nin3DSFan
I understand that when calculating it, in real time, it simply takes the reading from one hour ago, and works out the difference. Or at least something like that.
It makes a bit of sense how it wouldn't be able to recalculate it now, since, if it's, for example 2:31 pm now, but there wasn't any log for 1:31 pm, but maybe 1:25, 1:30, 1:35 etc, it wouldn't know what it was at 1:31 pm?

Re: High hourly rain

Posted: Mon 09 May 2016 1:44 pm
by steve
That's one issue, yes - it could approximate, however. It would have been easy to have done it if the last hour's rain was in the log.