reduce [-F cmd_file]
where -F is an optional argument that specifies a command file for batch processing. If no command file is specified, interactive mode is assumed. If an invalid or non-existant command file is specified, the program will abort with a nasty message.
Overview
reduce is the main reduction program for high precision gravity data. The assumptions and limitations of the program are detailed in full below, under Theory of Operation. A brief overview of the main features is presented here:
Usage
To run reduce, several auxiliary files are needed:
With all the auxiliary files created, run reduce. If batch
mode is desired, the option -F file
must be
appended. file is the name of the command file. In
interactive mode, a window is created that is the status
window. This window maintains a record of the state of the
program. This information is also written to the disk file
"reduce.log". In interactive mode, the status information is written
to the screen and disk.
If no command file is specified, or if the specified file cannot be parsed, reduce prompts for the raw data file, the station parameter file, and the existing tare data file. If no file, or an invalid file, is entered for the data or parameter files, the program aborts. If no file or an invalid file is entered for the tare data, no existing tare data is assumed and the program continues.
After reading the station parameter file, reduce creates a new window which lists the known stations and their parameters. Note that the program checks to insure that there are parameters for every station in the data file; if not, the program exits. Extra stations in the parameter file are allowed.
After reading all files, the program prompts for various reduction
parameters, including which corrections to perform on the data. Any
entry box left empty is assumed to have a value of 0.0. After setting
all the desired options, click the GO! button.
If this dialog is cancelled, the program exits.
With the options set, reduce performs the corrections and the results are written to the status window (or screen). If selected, interactive data viewers are started at appropriate points in the process. In interactive mode, the instrument drift correction will create 4 new windows for interactive tare entry.
Hardware Requirements
Based on some simple timing tests, a suitable system for using reduce on large datasets (200+ stations per run) is:
The largest test case is a reduction with 220 stations (8100 readings), using the C version of the Tamura ETC library, and the full drift function inversion. The resulting reduction takes ~140 seconds on a Celeron 400MHz with 128 MB of RAM running Linux. The process had a maximum memory usage of ~55 MB. This memory requirement comes from the inter-station differences in the inversion; for 220 stations in a standard 2/3 repeat methodology, the final inversion process has a matrix that is 7731x220 elements. The memory requirement is not a simple scaling, as it depends on the number of stations, the number of times a station is repeated, and how many stations are repeated. The results of the 220 station reduction should be typical for a standard survey.
Most of the time is spent in file I/O and the drift function inversion; most of the time in the drift inversion is spent creating the matrices. If the Python Tamura ETC is used, the run time will be greatly increased; a factor of 5-10 would not be unexpected.
The program does print an estimated time for the inversion process - this is a simple linear calculation, and is based on few data. Variances should not exceed 10-50%, most likely in the direction of overestimation.
Theory of Operation
Processing of gravity readings is done in several stages: