Dayfile.txt: Difference between revisions

596 bytes added ,  07:19, 19 June 2020
m
Line 206: Line 206:


== Cumulus MX ==
== Cumulus MX ==
There is a dayfile editor within the admin interface to edit this log file.
Only from MX version 3.6.0 has this been able to read the log file if it has some lines that were created using Cumulus 1. In the same version of MX, the number of fields in this log file was increased by 4. From that version all lines viewed in this editor will have 50 fields. The content of any field that was not in the line when it was created will be a space.


[[File:Badge vMx.png]]For Cumulus MX, when you select a line, both  '''Edit''' and '''Delete'''  buttons are enabled. There is no way of inserting new lines into dayfile.txt from within MX, nor of changing the dates in the file.
[[File:Badge vMx.png]]For Cumulus MX, when you select a line, both  '''Edit''' and '''Delete'''  buttons are enabled. There is no way of inserting new lines into dayfile.txt from within MX, nor of changing the dates in the file.


=== Editing  inside MX ===
=== Editing  inside MX ===
Line 215: Line 221:
=== Editing externally ===
=== Editing externally ===


See earlier section on this page for the rules and later section for advice on dealing with rogue values.
See earlier section on this page for the rules and later section for advice on dealing with rogue values. Remember if you edit this file externally, and it adds any missing fields these must have a space inserted for every extra field in every such line!


MX does not have the capability to recalculate, the values and time-stamp for any entry in dayfile.txt,  by reading the [[Monthly log files|detailed log file]] to extract all values relevant to that day and do the necessary minimum/maximum/total/average calculation.  It can be done in a script if you are a programmer. I have done this, but it was not as easy as I thought, the log file you read from may have duplicate times potentially making the calculation harder, and you cannot edit the file as you go along, you basically rename the old file and create a new file with original name as you work through all days changing individual fields whenever you need to.
MX does not have the capability to recalculate, the values and time-stamp for any entry in dayfile.txt,  by reading the [[Monthly log files|detailed log file]] to extract all values relevant to that day and do the necessary minimum/maximum/total/average calculation.  It can be done in a script if you are a programmer. I have done this, but it was not as easy as I thought, the log file you read from may have duplicate times potentially making the calculation harder, and you cannot edit the file as you go along, you basically rename the old file and create a new file with original name as you work through all days changing individual fields whenever you need to.
5,838

edits