.:cleanfiles:home

From ADPAA
Jump to navigation Jump to search

Clean files (*.clean)

Clean files (*.clean) are the next step up from *.edits files (5 steps up from *.raw files) because they are quality assured by scientists familiar with the instrumentation. Any data that cannot be validated is replaced with a missing value code and is ignored upon further processing. The *.clean files have the data masked based on the contents of the *.edits files.

Creating

The apply_edits script can be used to create a clean file (*.clean). The command syntax is:

 apply_edits [csh_error] [--compile] [-nvm] [-V] [-v] [-vm] input_filename edit_filename output_filename
 --compile - Compile code before running.
 -nvm - Execute code without using IDL Virtual Machine.
 -V - No output (verbose=0)
 -v - Verbose mode (verbose=1)
 -vm - Execute code using IDL Virtual Machine.
 input_filename - File in standard NASA/UND ASCII Format to which edits are applied.
 edit_filename - File which contains the edits to apply to the input file
 output_filename - File created by applying the edits to the input file
 csh_error - Causes errors to be returned to the csh calling program instead of occuring in the IDL code.

System variables:

* verbose_mode - Set equal to 1 to use verbose output
* virtual_machine - Set equal to 1 to use the IDL Virtual Machine