gps control_file
This utility extracts GPS position and time from non-NMEA navigation files. It was motivated for data collected in the Azores during the AGMASCO project in November 1997. During this cruise, differential GPS was not available, however the ship was equipped with an Azhtech receiver logging GPS fixes every 10 seconds. A similar receiver was located in Faial. These two GPS data sets were then compared and processed in order to create better quality fixes. Its purpose is to create position files for input to refabs and refabsbt.
Currently, only the above mentioned fix file can be read. It contains the following columns:
Position fixes are interpolated to the ADCP ensembles times. A good fix is determined as follows: the time difference between two consecutive fixes is less that a certain threshold value (see parameter tolerance) and the ADCP ensemble time must be within these two fixes.
The control file must define the following parameters:
Name of database (with path) containing profiles to be fixed.
Base year for converting time into decimal days. This value must
be compatible with the decimal days listed in the fix file.
Name of file (with path) containing list of gps fix files.
Name of output file.
Maximal allowed time gap, in second, allowed between an ensemble and two fixes. Because fixes might not cover the whole cruise, this parameter gives the possibility to cancel position fixing within these holes.
The following options are implemented:
This key word can be used to improve the clarity of the control
file and specify the beginning of options. It has no effect.
Use only good fixes to correct only ADCP positions. Positions
without fixes are left as is.
Specify this for converting longitude values between -180 and
+180 degree before using them.
This keyword is mandatory and terminates the list of selected options.
Finally, the control file is terminated by a list of time ranges. See time_rng(5) for the syntax of these.
The generated output file contains the following columns:
The last columns are meant for diagnostic purpose and eventually adjustment of parameter tolerance.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999