Average temperature: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m (category updated)
m (Explaining 'Today.ini' role)
Line 1: Line 1:
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 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.


[[Category:Terminology]]
[[Category:Terminology]]

Revision as of 21:49, 11 May 2013

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.