.:editfiles:home

From ADPAA
Revision as of 15:04, 5 October 2014 by Davidjdelene (talk | contribs) (Protected ".:editfiles:home" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
Jump to navigation Jump to search

Creating

The addedit script can be used to create or append to an edit file (*.edits). The command systax is

addedit [start=n] [end=n] [id='Editor Name'] [outputfile] name='Parameter' why='Reason for edit' 08_06_13_18_19_05.physical.raw

For Example: addedit start=64100 end=64200 name='Pitot_Nose' why='Iced up' inputfile

 Notes: If no start and end times are given the whole entire time period of the inputfile is used.
   If no id parameter is given the Flight Scientist name is used.
   The input file need to be a *.raw file.
   If no outputfile is given the input file is used as the base of the output file.

You can use the gvim edit to view/modify an edit file.

Archiving

  • To back up all of the *.edits files in a data set first navigate to the project name directory. For example,
 $ cd /nas/ral/Mali
  • Rename the current *editfiles* archive file. This way when the create_editstarfile script is run, it won't overwrite the current archive file.
 $ mv Summer2008.editfiles.tar.gz Summer2008.editfiles.tar.gz_090819
  • Execute the create_editstarfile script from the current directory. The argument passed into the script should be a general time period found within the project name directory.
 $ create_editstarfile Summer2008
  • This create the new *.editfiles.tar.gz archive file.

Extracting and Applying Archived

  • To extract and apply edits, first go to the project name directory.
 $ cd /nas/ral/Mali
  • Then untar the archived *.edits files.
 $ tar -xvzf Summer2008.editfiles.tar.gz