FAQ: Difference between revisions

1,171 bytes added ,  17:48, 17 July 2018
→‎(Invented rain and) Rain Counter: new sub-answer (text taken from forum answer by Steve)
(→‎(Invented rain and) Rain Counter: new sub-answer (text taken from forum answer by Steve))
Line 511: Line 511:


To see the previous value for all-time records see [[Alltimelog.txt]]. If your all-time records, or month-by-month all-time records have been affected, in Cumulus 1 you can use the built-in editors (in Cumulus MX, use any external text editor). The Cumulus 1 editors can fetch the correct values after you have corrected dayfile.txt.
To see the previous value for all-time records see [[Alltimelog.txt]]. If your all-time records, or month-by-month all-time records have been affected, in Cumulus 1 you can use the built-in editors (in Cumulus MX, use any external text editor). The Cumulus 1 editors can fetch the correct values after you have corrected dayfile.txt.
=== (Invented rain and) Rain Counter ===
Cumulus uses a counter supplied by the station to determine its rainfall data (exactly what that counter is, depends on the type of station). A search of the forum will help for your particular model, for example for some models there might be a counter that represents rain since station bought (or since it was reset), for some stations Cumulus will use an annual total supplied by the station (that resets each new year).
If the rain counter is reset by the station for some unexpected reason, you will have to accept that, and let Cumulus handle it - it does its best to cope when the rain counter changes unexpectedly. Assuming it doesn't change unexpectedly again, you should find that the rain figure is only affected for one day, and then you can amend if necessary subsequently as per other sub-answers here.  You can see the counter value being used by Cumulus labelled "raindaystart=" in the diagnostics file (for cumulus 1 - "Cumulus\Diags\cumulus1.009") and labelled "start=" in "Cumulus\data\today.ini".


===  (Invented rain and) Other rain figures ===
===  (Invented rain and) Other rain figures ===
Note that other rain figures, such as 'rain last hour', 'rain last 24 hours' and 'rain since midnight' depend on a sensible progression of the rain counter, so it's not easy to correct this; it's easier to wait until the erroneous figure is far enough in the past so as not to affect the calculation. If you really do want to try to correct it; you would need to stop Cumulus, then find and edit multiple field 11 (assuming date is field 0) the Cumulus 'rain counter' values in the [[monthly_log_files]] in the current monthly log file so they are correct relative to the current value of the rain counter (i.e. the latest one logged). Note that if you're using a midnight start of day then you don't need the 'rain since midnight' figure anyway, as it is normally the same as 'rain today', and that figure is much more easily corrected.
Note that other rain figures, such as 'rain last hour', 'rain last 24 hours' and 'rain since midnight' depend on a sensible progression of the rain counter described in previous sub-answer, so it's not easy to correct this; it is easier to wait until the erroneous figure is far enough in the past so as not to affect the calculation of these 3 other values. Note that if you're using a midnight start of day then you don't need the 'rain since midnight' figure anyway, as it is normally the same as 'rain today', and that figure is much more easily corrected.
 
If you really do want to try to correct these other rain figures; you would need to stop Cumulus, then find (for the period in question), the correct [[monthly_log_files|monthly log file]] field 11 (assuming date is field 0), which stores the Cumulus 'rain counter' values, and edit so they are correct relative to the current value of the rain counter (i.e. the latest one logged).


===  (Invented rain) Error prevention by Spike removal ===
===  (Invented rain) Error prevention by Spike removal ===
5,838

edits