Dayfile.txt: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎When Cumulus is restarted after a break in running: add link and add mention of historic charts
m (→‎Notes for Legacy Cumulus: consistency edit)
m (→‎When Cumulus is restarted after a break in running: add link and add mention of historic charts)
== When Cumulus is restarted after a break in running ==
 
* It reads the daily summary log (dayfile.txt) and uses the rainfall totals for each day stored in the daily summary log to calculate the rainfall for this month, and this year/season (see [[FAQ#Where_does_Cumulus_get_its_this_month_and_this_year_rainfall_totals_from.3F|this Cumulus 1 FAQ]])
* Thus you must not have another process attempting access to the daily log when Cumulus is re-starting.
* For Cumulus 1, back ups of 8 selected log files including dayfile.txt that are copied to start-up folders in the 'cumulus\backup' folder, the last 8 start-up folders only are retained.
* For Cumulus MX, there are backups of 10 files, the extra ones are the weather diary and Cumulus.ini, that are copied to start-up folders in \CumulusMX\backup\, again there are only 9 kept, unless you back these up somewhere else.
* For MX, except early releases which did not have this functionality, the whole of dayfile.txt is read when MX starts as it provides the daily data for the historic charts (both in admin interface charts and default web site chart data).
 
If your weather station includes it own data logger, then Cumulus does a catch-up during which Cumulus will read "archived records" from that weather station log, and when it detects the archive log has moved to a new meteorological day, itCumulus will run the "end of day" process that moves what is in [[Today.ini#Restart_and_Catch-up|today.ini]] into a new line in dayfile.txt as described in that linked section.
 
= List of fields in dayfile.txt =
5,838

edits

Navigation menu