Convert
Apply a Perl conversion script
The Convert option to apply a Perl conversion script to a raw file prior to reducing it.
Conversion scripts can be used to do things such as:
- Pre-process code translations (For example, convert a seam number into a seam name).
- Allow the use of custom offsetting in the field.
- Use custom record coding.
Instructions
- Select Survey menu
- Select Surveying submenu
- Select Convert option
The following panel displays.
Raw data pre-processing panel
Conversion script name
Enter, or select from the drop-down list, the name of the Perl conversion script ( the extension. pl
) that you want to use.
Note
The drop-down list is taken from the current directory, but if the environment variable SURVEY_DATA
is set, it will look in there for the scripts.
Input raw data filename
Enter, or select from the drop-down list, the name of the raw file that you want to convert. The alternate data directory setting from the Set Up option is applied here also.
Output filename
Enter, or select from the drop-down list, the name of the output filename. If a file extension is not entered, then the extension from the input file name will be used.
Select OK.
A shell window is then spawned and the selected conversion script is run, displaying any output that the Perl script produced.