FAQ: Difference between revisions

974 bytes added ,  07:57, 14 November 2013
m (→‎Where does Cumulus get its this month and this year rainfall totals from?: add mention of rainfall season, add cross reference to other FAQ)
Line 279: Line 279:
There is more information about correcting rogue data elsewhere in the Wiki, in the pages about the [[:Category:Log_Files|log files]].
There is more information about correcting rogue data elsewhere in the Wiki, in the pages about the [[:Category:Log_Files|log files]].
== My monthly and/or annual rainfall totals are wrong  ==
== My monthly and/or annual rainfall totals are wrong  ==
Cumulus calculates these when it is restarted, holds the values within memory, and increments them as required while it is running. This FAQ in the previous section [[#Where_does_Cumulus_get_its_this_month_and_this_year_rainfall_totals_from.3F]] has a concise description of how Cumulus calculates these figures.


The monthly and annual rainfall totals are calculated from [[FAQ#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |today's rain total]] in [[today.ini]] and the daily totals in [[Dayfile.txt]]There is a built in editor for ''Today's rain''. The format of the dayfile.txt file is in the help file (in the section “Data log file format”), or in [[Dayfile.txt|Wiki here]]; if you need to edit it:
* The rainfall total shown on the ''This month'' screen within the '''View''' menu, is calculated from summing [[dayfile.txt]] totals for a selected month, and so for the default current month will exclude the current meteorological dayThe rainfall total for today so far is added for the web tag ''<#rmonth>''.
* Either leave Cumulus running and use the built-in ''dayfile.txt'' editor to amend the daily totals.
 
* Or stop Cumulus and use an external editor to edit the daily totals in dayfile.txt until your monthly and annual totals are correct.  
* The rainfall total shown on the ''This year''  screen within the '''View''' menu, is calculated from summing totals in dayfile.txt for a selected calendar year. For the default current year, it will exclude the current meteorological day.
If you need to, you can specify a year-to-date total to add in for the period up to the point where you started using Cumulus, so that your first year’s total is correct. This is on the Station Configuration screen.  Make sure you specify the first Cumulus operating year here, otherwise the extra will be added to the annual total for the wrong year!
 
* The rainfall total reported by the ''<#ryear>'' web tag is for the rainfall season to date, it is calculated from taking today's rain and then adding the sum of the totals in dayfile.txt starting with the first (meteorological) day of the month specified in the 'rainfall season' frame on the ''station settings'' screen within the '''Configuration''' menu, until the end of dayfile.txt is reached. So check you have specified the right starting month there before deciding the rainfall total shown is wrong.  
 
If you need to, you can specify a year-to-date total to add in for the period up to the point where you started using Cumulus, so that your first year’s total is correct. This is also on the Station Configuration screen.  Make sure you specify the first Cumulus operating year here, otherwise the extra will be added to the annual total for the wrong year!
 
See immediately preceding FAQ [[#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |correcting rainfall]]  for how to correct errors in total for particular days and how to correct the high extremes for the various periods.


In all cases then restart Cumulus to get the monthly and annual totals recalculated from correct daily totals.  
In all cases then restart Cumulus to get the monthly and annual totals recalculated from correct daily totals.  
5,838

edits