SonTek
ADP Software Manual Version 6.42 (November 1, 2000)
16
output file with the same name as the ADP data file (i.e. TEST.CTL). The information in the
.CTL file is in a self-explanatory ASCII text format.
3.2. Profile Header Conversion: GADPHDR
This program extracts the header information that is recorded with each velocity profile. This
information includes time, heading, pitch, roll, temperature, pressure, and sound speed. The file
will show 0 for any data where the optional sensor is not installed (i.e. compass or pressure
sensor). The command format is as follows.
GADPHDR <ADP file>
GADPHDR <ADP file> <output file>
GADPHDR <ADP file> <output file> <first profile> <last profile>
File names must be given without extension. GADPHDR generates an ASCII output file with the
extension .HDR. The program assumes that the ADP data file has extension .ADP. If no output
file name is specified, the program uses the same name as the binary data file. First profile and
last profile permit the user to extract a subset of the data. If they are not specified the program
extracts all profiles in the file.
The ASCII tabular output file has one line per profile. There are no headers so that commercial
processing programs (Lotus, Quattro Pro, Matlab, etc.) can easily access the data. There are 20
columns of data output in the header file; the table below shows the contents and units of each
column.
GADPHDR Tabular Data Output Format
Column Contents Units
1 Profile number in file
2 Profile time (start of averaging interval ) - Year
3 Profile time (start of averaging interval ) - Month
4 Profile time (start of averaging interval ) - Day
5 Profile time (start of averaging interval ) - Hour
6 Profile time (start of averaging interval ) - Minute
7 Profile time (start of averaging interval ) - Second
8 Number of samples averaged for this profile
9 Sound speed to calculate velocity m/s
10 Mean heading degrees
11 Mean pitch (rotation about the Y axis) degrees
12 Mean roll (rotation about the X axis) degrees
13 Mean temperature °C
14 Mean pressure dBar
15 Standard deviation of heading degrees
16 Standard deviation of pitch degrees
17 Standard deviation of roll degrees
18 Standard deviation of temperature °C
19 Standard deviation of pressure dBar
20 Instrument power supply voltage level V