scan_nbr control_file
This utility scans NB ADCP raw files, as described in RDI's Technical Manual and generates output files with log information, statistic on selected variables and a binary file with variables values. See below for the syntax of the control file.
The aim of running scan_nbr is to control the integrity of the raw files, and generate the binary file. The latter can be used later within Matlab with script scan_bin.m.
The log file contains debugging information about configuration or bottom tracking changes, as well as bad ensembles. This can be used to edit and fix the raw files if necessary.
The control file must contain the following parameters:
Name of a file containing the successive names of NB ADCP raw
files to scan. This file can contain C-syntax comments.
Root name for generated output files.
Year base to use for conversion of time into decimal days. Note that since the NB ADCP raw format does not contain year information, this parameter should be set to year of data collections.
In addition to the parameters listed above, the following options are available:
This key word can be used to improve the clarity of the control
file and specify the beginning of options. It has no effect.
Select which errors to check. Possible keywords are:
Check the values of the ADCP bit status.
This keyword is mandatory and closes the selected list of selected errors to check.
Specify which configuration changes to look for. Possible keywords are:
This keyword is mandatory and terminates the list of selected configuration changes to check.
ALL !signal_noise_threshold !percent_good_threshold
This option allows to select which statistics to calculate. Possible keywords are:
This keyword is mandatory and terminates the list of selected statistics to perform.
Select which flag changes to report in the log file. Possible keywords are:
This keyword is mandatory and terminates the list of selected flags to check.
This option allows to correct for heading and tilt values if these are known. It can be followed by one or more of:
This keyword is mandatory and terminates the list of selected ship's attitude corrections.
0.0 by default.
If this option is specified, data saved in the binary file will
be saved in addition in ASCII format into the log file. This
allows a quick overview over some of the data found in the raw
files and can also be used as a debugging information. However,
generated files can be very large.
This keyword is mandatory and terminates the list of selected options.
To allow a finer tuning of which pings to scan, the control file must be terminated by a list of time ranges. See time_rng(5) for the syntax of these.
The following files are generated:
file.log - log file
file.sta - statistics
file.bin - binary data
where file correspond to the value of parameter
out_file.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999