FAQ: Difference between revisions

98 bytes added ,  18:53, 4 November 2014
m (→‎Why do I have some unexpected zero figures?: added middle reason, as per comment from Steve in forum)
Line 181: Line 181:
* Each time Cumulus reads records from the weather station it applies any change to the 'total rain count' against today's total in its memory.  
* Each time Cumulus reads records from the weather station it applies any change to the 'total rain count' against today's total in its memory.  
* The today's total so far at each reading time is also added to the 'recent tag' array allowing values for up to a week ago to be added as web tags to a web template.  
* The today's total so far at each reading time is also added to the 'recent tag' array allowing values for up to a week ago to be added as web tags to a web template.  
* The rainfall totals that Cumulus uses when processing 'thismonthT.htm' and 'thisyearT.htm' web templates are initialised when Cumulus is (re-)started by adding up the corresponding daily totals in dayfile.txt and storing those sums in memory. To these are added today's total as currently in memory when a web page is created with those tags.
* The rainfall totals that Cumulus uses when processing 'thismonthT.htm' and 'thisyearT.htm' web templates, and for displaying as 'This month' and 'This year' on the Cumulus main screen, are initialised when Cumulus is (re-)started by adding up the corresponding daily totals in dayfile.txt and storing those sums in memory. To these are added today's total each time new data is read, to give the current totals for this month and this year.
**Important, for the <#ryear> web tag Cumulus reads the dayfile for the rainfall season starting with the month set on the station settings screen and stored as the value for attribute ''RainSeasonStart'' in [[Cumulus.ini#Section:_Station]].   
**Important, for the <#ryear> web tag Cumulus reads the dayfile for the rainfall season starting with the month set on the station settings screen and stored as the value for attribute ''RainSeasonStart'' in [[Cumulus.ini#Section:_Station]].   
**If you have set a 'year to date' value for the current year, that is also added into this year's total. There is no corresponding setting for 'this month'.
**If you have set a 'year to date' value for the current year, that is also added into this year's total. There is no corresponding setting for 'this month'.