Dayfile.txt: Difference between revisions

386 bytes added ,  13 September 2013
m
m (→‎Editing in Cumulus: reference to 2nd bug fixed in 1.9.4)
==Editing in Cumulus==
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:
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.
 
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''.
You can use this editor to correct individual values by overtyping.
 
The '''Create missing''' button will insert missing rows (complete days) by reading and calculating from [[Monthly_log_files]] (a technique that is usefulprocedure 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 |this Wiki topic]] in greater context detail than is possible in the Cumulus ''Help''.
 
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)
5,838

edits