Average temperature

From Cumulus Wiki
Revision as of 21:49, 11 May 2013 by Sfws (talk | contribs) (Explaining 'Today.ini' role)
Jump to navigationJump to search

The average temperature for the day, as recorded in the dayfile.txt, is calculated by Cumulus using samples of the data taken at 1-minute intervals (sometimes called the 'integration method'). This offers an alternative to the simple average of the highest and lowest temperatures of the day, and can give a 'better' average in cases where the high or low temperature occurred for a relatively short period, so could skew the simple average.

The today.ini log file holds Total and Samples to enable the constant recalculation of the average temperature. In yesterday.ini the AvgTemp field holds the final average calculated by the quotient of Total over Samples in the old today.ini at rollover.