Dayfile.txt: Difference between revisions

386 bytes added ,  08:52, 13 September 2013
m
m (→‎Editing in Cumulus: reference to 2nd bug fixed in 1.9.4)
Line 23: Line 23:
==Editing in Cumulus==
==Editing in Cumulus==
The last command in '''Edit''' menu is ''dayfile.txt''.  This is a text editor, and works best when at full screen.
The last command in '''Edit''' menu is ''dayfile.txt''.  This is a text editor, and works best when at full screen.
Click the ''Help'' button for detailed instructions.  Cumulus Help is comprehensive.
You can use this editor to:
*correct individual values by overtyping,
*use '''delete''' key to remove an entire day (e.g. if you get a 'duplicate' error message),
*use '''insert''' key to add one or more missing rows (complete days) manually,
*use '''Create missing''' button to insert missing rows (complete days) by reading from [[Monthly_log_files]] and automatically calculating the best approximations for each field for those missing days.
If you do have a 'duplicate' error, you need to decide which row to ''delete'', and whether to copy any values from that row into the row you are keeping to ensure the correct extremes are retained.


You can use this editor to correct individual values by overtyping.
For ''Create missing'' a list of inserted records is produced in [[dayfileeditlog.txt]]. If just some fields are wrong in a particular row (meteorological day) on day file, then there is a [[Monthly_log_files#Using_Monthly_logs_to_deal_with_shorter_.28or_incomplete.29_dayfile.txt_records_for_particular_dates | workaround]] as at all current versions (up to 1.9.4) you can only use 'Create missing' to read from the [[Monthly_log_files]] if the whole day (a row starting with a date) is missing in ''dayfile.txt''.


The '''Create missing''' button will insert missing rows (complete days) by reading and calculating from [[Monthly_log_files]] (a technique that is useful for importing, and processing, pre-Cumulus observations). Click the ''Help'' button for detailed instructions. Cumulus Help is comprehensive and explains how a list of inserted records is produced. The procedure is explained in the [[Monthly_log_files | Wiki topic]] in greater context detail than is possible in the Cumulus ''Help''.
The procedure for importing, and processing, pre-Cumulus observations is explained in [[Monthly_log_files |this Wiki topic]].  
 
If just some fields are wrong in a particular row (meteorological day) on day file, then there is a [[Monthly_log_files#Using_Monthly_logs_to_deal_with_shorter_.28or_incomplete.29_dayfile.txt_records_for_particular_dates | workaround]] as at all current versions (up to 1.9.4) you can only use 'Create missing' to read from the [[Monthly_log_files]] if the whole day (a row starting with a date) is missing in ''dayfile.txt''.


'''Note for version 1.9.3 only:''' Create missing might in some cases be affected by a bug in 1.9.3 that can cause incorrect date order for records (dayfile.txt uses dd/mm/yy  or dd-mm-yy and all records should be in ascending chronological order)
'''Note for version 1.9.3 only:''' Create missing might in some cases be affected by a bug in 1.9.3 that can cause incorrect date order for records (dayfile.txt uses dd/mm/yy  or dd-mm-yy and all records should be in ascending chronological order)
5,838

edits