Monthly log files: Difference between revisions

62 bytes removed ,  08:35, 11 April 2013
m
→‎Manipulation outside Cumulus: Clarification to dealing with unknown fields!
m (→‎What can Monthly log files be used for?: update cross reference as Gale days now separate page)
m (→‎Manipulation outside Cumulus: Clarification to dealing with unknown fields!)
Line 31: Line 31:
Any log files for ''previous'' months can be edited (outside Cumulus) with Cumulus running, and after editing them, you can do further fetch edits within Cumulus as described above.
Any log files for ''previous'' months can be edited (outside Cumulus) with Cumulus running, and after editing them, you can do further fetch edits within Cumulus as described above.


'''Tips''' -- take a copy of the original log file before you work on it outside Cumulus (perhaps call the ''not to be touched copy'' <Month><Year>log.csv).  Edit the original file using an editor that treats all fields as text [either any text editor, or a spreadsheet program that can be instructed ''not'' to recognise special field (like date) types].  
'''Tips''' -- take a copy of the original log file before you work on it outside Cumulus (perhaps give the ''not to be touched copy''   a filename of "<Month><Year>log.csv").  Edit the original file using an editor that treats all fields as text [either any text editor, or a spreadsheet program that can be instructed ''not'' to recognise special field (like date) types].  


'''Rules'''  -- Each line must contain the fields in correct sequence (since new versions/builds can add to number of fields, Cumulus will accept lines of various lengths without the more recent fields at the end). Nulls ',,' are not allowed in the line, so if you do not know the value for a particular field within the line, then type in an extreme with opposite value (e.g. -999.9 for a signed decimal maximum, and 999.9 for a decimal minimum - assuming your system decimal format is using full stops).
'''Rules'''  -- Each line must contain the fields in correct sequence (since new versions/builds can add to number of fields, Cumulus will accept lines of various lengths without the more recent fields at the end). Nulls ',,' are not allowed in the line, so if you do not know the value for a particular field within the line, then type in a zero or -999 (check the format and range of numbers allowed for particular fields).


'''Important''':
'''Important''':
5,838

edits