mbbath
Section: MB-System 5.0 (l)
Updated: 13 July 2001
Index
NAME
mbbath - Recalculates bathymetry swath bathymetry data using new sound velocity profile, roll bias, pitch bias and draft values.VERSION
Version 5.0SYNOPSIS
mbbath [-Broll_bias -C -Ddraft -Fformat -Iinfile -Kssv -Ooutfile -Ppitch_bias -Rrollfile -Sstaticfile -Tttscale -U -Wvelfile -Z -V -H]DESCRIPTION
mbbath is a utility for recalculating swath bathymetry data using new values for some of the fundamental sonar operational parameters. Users may apply changes to the water sound velocity profile, roll bias, pitch bias, and draft parameters. Static corrections can also be applied to the depth values.If a file containing a water sound velocity profile (SVP) is specified with the -W option, then the bathymetry will be recalculated from the raw travel times and arrival angles by raytracing through the SVP. Raytracing can only be performed using data formats that store both travel times and arrival angles for each sounding.
The input SVP is specified in terms of velocity values at specific depths with linear interpolation between these "nodes". Because the velocity gradients are constant between nodes, the geometrical raypaths take the form of circular arcs within each layer, allowing analytical solutions for raypaths and travel times. The initial position used in the raytracing is the transducer depth as determined by the sum of the draft and heave values.
The surface sound velocity (SSV - the sound speed at the transducer arrays) used by the sonar is a critical element in the depth calculation because the SSV is used in the beamforming calculation by multibeam sonars and in the phase calculation by interferometry sonars. When recalculating bathymetry, users have two options:
1) Assume that the SSV used by the sonar is
correct (default).
2) Change the SSV, using the sound speed at
the transducer depth in the SVP
(the -C option).
For the first option, in general the SSV will not be the same as the initial sound speed used in the raytracing. This situation requires that the initial ray angles be adjusted for the sound speed change using Snell's law (and assuming an horizontal interface for the calculation).The -C option should only be used if the original SSV is known to be incorrect and the new SSV derived from the SVP is closer to correct. This situation requires that the initial ray angles be adjusted to correct the errors in the beamforming or phase calculations done by the sonar. If the transducer receiver arrays are flat and horizontal, this correction is equivalent to the Snell's law adjustment in the first option. If the transducer receiver arrays are tilted, then this correction is made in a reference frame rotated by the tilt angle. The MBIO i/o library knows about the array geometries of the supported sonars and provides the relevent information to mbbath.
In all cases, the SSV must be known for the raytracing to proceed. Unfortunately, in some data formats the SSV is recorded only sporadically in special data records, and thus users may encounter data files which contain no information about the SSV. Normally, mbbath makes a preliminary pass through an input data file looking for the first SSV value and then uses this value from the beginning of the file until overridden by other values. If no SSV values are found, a default value (specified with the -Kssv option) is used. This preliminary pass is inconsistent with input from stdin (e.g. using mbbath in a pipe), and users may turn off the preliminary pass with the -Z option.
The newly raytraced depths can be saved in corrected meters, where the depth values obtained by raytracing are not adjusted further, or in uncorrected meters, where the depth values are adjusted to correspond to a vertical mean water velocity of 1500 m/s.
If the raytracing recalculation is done, then any roll bias (-B and -R options) and pitch bias (-P option) corrections specified will be applied to the arrival angles prior to the raytracing. If no raytracing is done, then the roll and pitch bias corrections are performed by rigid rotations of the sounding positions. Users should be aware that the roll and pitch bias corrections are made in addition to the roll and pitch bias corrections originally made by the sonar. Users therefore should NOT reenter the original roll bias and pitch bias values!
If no SVP is specified, then any roll bias (-B and -R options) and pitch bias (-P option) corrections specified are applied by performing rigid rotations of the soundings in a ship-centered reference frame.
Static corrections to the bathymetry as a function of beam number can be read from a file and applied to the bathymetry regardless of the other options specified. Any bathymetry data flags set in the input data are preserved in the output.
The default input and output streams are stdin and stdout.
AUTHORSHIP
David W. Caress (caress@mbari.org)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (dale@ldeo.columbia.edu)
Lamont-Doherty Earth ObservatoryOPTIONS
Last Updated: 13 July 2001