mbnavadjustSection: MB-System 5.0 (1)
Updated: 3 June 2013
NAMEmbnavadjust - Package that solves for optimal navigation by matching bathymetry of overlapping swaths.
SYNOPSISmbnavadjust [-V -H -D -R]
DESCRIPTIONMBnavadjust is an interactive graphical program used to adjust swath data navigation by matching bathymetric features in overlapping and crossing swaths. The primary purpose of mbnavadjust is to eliminate relative navigational errors in swath data obtained from poorly navigated sonars. Submerged platforms such as towed vehicles, remotely operated vehicles (ROVs) and autonomous underwater vehicles (AUVs) are frequently not navigated with accuracy equivalent to the lateral resolution of swath bathymetry obtained with high frequency sonars operated close to the seafloor. This is particularly true for systems that depend on ultra-short baseline navigation (USBL) or on inertial navigation (as opposed to long baseline (LBL) navigation obtained using transponder networks). Many old, pre-GPS surveys with hull mounted sonars also suffer from poor navigation relative to the resolution of the swath bathymetry, and can thus be improved with application of this tool. MBnavadjust also works well to co-register surveys at different scales. For instance, our initial use of this tool involved co-registering a deep-towed Reson 8101 multibeam survey of the Loihi Seamount summit (offshore Hawaii) with a hull mounted Simrad EM300 multibeam survey.
When swath surveys are poorly navigated, features clearly imaged by the sonar may not match in overlapping and crossing swaths. However, by systematically determining the positional offsets between matching features throughout a survey, it is possible to solve, or invert, for a navigation model which is consistent with the original navigational constraints, satisfies the requirement of reasonableness, and also causes features in overlapping swaths to match within the sonar's resolution. The analysis and adjustment can be limited to lateral (x and y or longitude and latitude) offsets when all vertical offsets have been corrected prior to importation into MBnavadjust (e.g. tidal corrections have been made). Otherwise, the offset analysis and inversions are three dimensional.
Previous attempts to address this problem (e.g. Nishimura et al. ) have focused on automating the identification of matching features and their navigational offsets. The automated approach is problematic because seafloor features are complex, and the cross correlation function of matching features often exhibits multiple local minima. Our approach is to automate the identification of matching features and the ultimate solution for an optimal indentification while depending on interactive determination of the navigational offsets. We have not found an automatic algorithm that can reliably replace the human eye and brain in correctly lining up real seafloor features.
MBnavadjust operates within the context of the mbprocess parallel processing scheme, but it should used on data for which the initial navigation processing (e.g. mbnavedit is complete. When swath data files are imported into mbnavadjust, the data is taken from processed files generated by mbprocess whenever possible (when those files exist). If no processed file exists, the raw data is used. When the processing with mbnavadjust is completed and an optimal navigation solution is achieved, new navigation files are generated (".na#" files, see below for full description) which supercede the ".nve" files generated by mbnavedit. Rerunning mbprocess will merge the new navigation into a new set of processed files. Once a swath file is processed with mbnavadjust, any further attempts to process the navigation with mbnavedit will only produce navigation files that are ignored by mbprocess. This behavior can be reversed manually using mbset, but then the user will unnecessarily complicating his or her efforts.
The inversion for an optimal navigation which fits the offsets identified at matching features must also be reasonable. This is achieved by minimizing perturbations to speed and acceleration in the inversion. This approach of penalizing first and second derivatives within a linear inverse problem is common within the geophysical inverse theory literature (e.g. Parker ).
Users are advised that mbnavadjust is complicated in both conception and implementation. We strongly recommend that users read all of the documentation provided below prior to attempting a first use of this software. The meaning and use of the individual widgets and windows employed in the graphical interface is provided in the INTERACTIVE CONTROLS section. The USING MBNAVADJUST section provides a more coherent discussion of how to use mbnavadjust, how this program interacts with the mbprocess parallel processing scheme, and the underlying concepts and algorithms.
AUTHORSHIPDavid W. Caress (firstname.lastname@example.org)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (email@example.com)
Lamont-Doherty Earth Observatory
The first group includes the Show Surveys, Show Data Files, Show Data File Sections, Show All Crossings, Show All Crossings, Show >25% Crossings, Show >50% Crossings, Show True Crossings, and Show Ties items.
The second group includes the Show All Surveys, Show Only Selected Survey, Show Only Selected File, and Show Only Selected Section items. One of these options is always active, and modifies what is displayed in the Data Table list.
The third group includes two options:
The survey list will look something like:
00 53 2009/08/03 08:18:49.484999 2009/08/03 22:52:59.375000
01 51 2009/08/04 09:03:11.938999 2009/08/04 23:02:03.470999
02 01 1998/05/13 01:33:36.791000 1998/05/13 02:42:11.703999
Here the first column is the survey counter, the second is the number of swath files included in each survey, and the following information consists of the start and end times of the data in each survey shown in YYYY/MM/DD HH:MM:SS.SSSSSS format.
The file list will look something like:
0000:00 gd 11 0.0 0.0 ../../20090803/20090803_081706.mb88
0001:00 gd 11 0.0 0.0 ../../20090803/20090803_083332.mb88
0002:00 gd 11 0.0 0.0 ../../20090803/20090803_085004.mb88
0003:00 gd 11 0.0 0.0 ../../20090803/20090803_090636.mb88
0004:00 gd 10 0.0 0.0 ../../20090803/20090803_092307.mb88
0053:01 gd 12 0.0 0.0 ../../20090804/20090804_090127.mb88
0054:01 gd 10 0.0 0.0 ../../20090804/20090804_092036.mb88
0055:01 gd 11 0.0 0.0 ../../20090804/20090804_093707.mb88
0056:01 gd 10 0.0 0.0 ../../20090804/20090804_095339.mb88
0057:01 gd 11 0.0 0.0 ../../20090804/20090804_101010.mb88
0104:02 fx 8 0.0 0.0 ../../MBARI/1998em300/mbari_1998_630_msn.mb57
Here the first column is the file counter and survey counter separated by a colon. The second column indicates the file navigations state; "gd" indicates good navigation, "pr" indicates poor navigation, and "fx" indicates fixed navigation. The third column shows the number of sections extracted from this file. The fourth and fifth columns show any heading or roll bias offsets in degrees applied to the swath data for that file. The sixth column gives the name of the swath data file imported into mbnavadjust. Note that the name shown here is that of the "raw" swath file. The data imported by mbnavadjust is, if possible, extracted from a "processed" swath file generated by mbprocess rather than the associated "raw" file.
The file section list will look something like:
00:0000:00 2009/08/03 08:17:07.546998 2009/08/03 08:18:49.484999
00:0000:01 2009/08/03 08:18:49.984999 2009/08/03 08:20:26.952999
00:0000:02 2009/08/03 08:20:27.452999 2009/08/03 08:22:05.890999
00:0000:03 2009/08/03 08:22:06.390999 2009/08/03 08:23:43.344001
00:0000:04 2009/08/03 08:23:43.844001 2009/08/03 08:25:19.796999
00:0000:05 2009/08/03 08:25:20.296999 2009/08/03 08:26:57.265997
00:0000:06 2009/08/03 08:26:57.765997 2009/08/03 08:28:35.219001
00:0000:07 2009/08/03 08:28:35.719001 2009/08/03 08:30:16.155999
00:0000:08 2009/08/03 08:30:16.655999 2009/08/03 08:31:57.594001
00:0000:09 2009/08/03 08:31:58.094001 2009/08/03 08:33:36.546999
00:0000:10 2009/08/03 08:33:37.046999 2009/08/03 08:33:37.546999
Here the first column shows the section id with the survey counter, the file counter, and the section counter separated by colons. The following information consists of the start and end times of each section shown in YYYY/MM/DD HH:MM:SS.SSSSSS format.
The crossing list will look something like:
-X 0 000:009 001:000 21 0
- 1 001:009 002:000 10 0
- 2 002:009 003:000 10 0
U 3 003:009 004:000 6 0
- 4 005:009 006:000 13 0
U 5 007:009 008:000 3 0
U 6 009:008 009:010 2 0
* 7 009:008 010:000 16 1
*X 8 009:009 010:000 41 1
- 9 009:008 010:001 1 0
Here the first column indicates the processing status for the crossing. The first character is the status flag. If the status flag is "U", then no decision has been made about skipping or tieing this crossing. New crossings always show a "U" flag prior to being inspected by a user. If the first character is "-", then the crossing has been skipped, and if the first character is "*", then at least one tie point has been set. The second column is the crossing counter. The third and fourth columns identify the swath data sections that overlap in this crossing. Each are identified by their file id and section id separated by ":". The fifth column indicates the percentage of overlap of the two sections in this crossing. The larger the degree of overlap, the more likely that diagnostic matching topographic features exist that can be used to determine the navigation offsets required for this crossing. The sixth, and last column gives the number of tie points that have been defined for each crossing. New crossings always begin with 0 tie points prior to being inspected by a user.
The tie point list will look something like:
7 0 009:008:07 010:000:04 00:00 1.02 -2.87 0.00 | 9.61 8.49 1.40 | 0.041 0.107 0.027
8 0 009:009:02 010:000:00 00:00 0.90 -4.47 0.00 | 7.37 6.30 2.29 | 0.040 0.184 0.033
12 0 009:008:04 010:002:04 00:00 4.11 -8.24 0.00 | 9.28 5.99 1.80 | 0.037 0.021 0.025
14 0 010:000:02 010:002:06 00:00 2.12 -4.38 0.00 | 7.50 6.70 1.10 | 0.007 0.065 0.005
16 0 009:007:04 010:003:04 00:00 5.90 -5.90 0.00 | 8.66 6.84 1.70 | 0.019 0.085 0.027
19 0 009:006:04 010:004:04 00:00 8.32 -6.83 0.00 | 8.78 8.55 6.65 | 0.026 0.066 0.024
21 0 009:005:05 010:005:03 00:00 8.96 -8.75 0.00 | 12.38 8.74 5.16 | 0.008 0.045 0.008
23 0 009:004:04 010:006:04 00:00 12.23 -5.98 0.00 | 7.03 4.49 1.40 | 0.019 0.034 0.010
26 0 009:003:04 010:007:04 00:00 17.42 -4.36 0.00 | 13.92 10.11 1.80 | 0.025 0.037 0.028
Here the first column indicates the crossing which contains the tie point, and the second column shows which tie point (of those defined for that crossing) is displayed in a particular line. The third and fourth columns identify the navigation control points of the tie point. The navigation control points are specified by file, section, and nav point numbers separated by ":". The fifth through seventh columns are the longitude, latitude and vertical offsets (in meters) set interactively by the user. These represent the distance the second navigation control point must be moved relative to the first in order to make the bathymetry in the two swaths match. The tenth through twelth columns show the magnitude of the three axes of the uncertainly ellipsoid associated with each tie. The uncertainly ellipsoid is estimated as a 3x3 tensor and used to weight the tie offsets in the navigation adjustment inversion. Here the major and second axes are always close to horizontal, and the minor is axis is always close to vertical. The last three columns are nonzero only after an inversion for an optimal navigation solution has been performed. These represent the residual, or difference, between the offset calculated for this tie point in the inversion and that set by the user (displayed in the fifth through seventh columns).
If the file list is displayed and one file is selected by clicking in the list, then the user can fix or unfix the navigation of that file using the <Action->Fix File> or <Action->Unfix File> pulldown menu items. If either the crossing list or the tie point list are displayed, selecting one crossing or one tie point by clicking in the list widget will cause the specified crossing to be loaded and displayed in the Nav Err window.
The Nav Err window includes a number of button widgets and three display canvases. The larger display to the right shows bathymetric contour maps of the overlapping swaths overlain by navigation tracks and any tie points that have been defined for the current crossing. The smaller canvas on the middle left shows the RMS bathymetry misfit between the two swaths as a function of lateral (x and y) offset using the current vertical (z)offset. The smallest canvas on the lower left shows the RMS Bathymetry misfit between the two swaths as a function of vertical offset using the current lateral offset.
The main mbnavadjust window displays basic information in a set of labels in the upper left, including the open project name, the number of files imported, the number of crossings found, the number of crossings analyzed, the number of navigation tie points set, and whether an up-to-date inversion for optimal navigation has been performed. A scrollable text window in the lower left displays messages regarding all actions performed by the program during the current session. Another scrollable window on the right displays one of three tables of information according a user selection under the <View> menu. The three choices are a table of the imported swath files, a table of the swath crossings, and a table of the interactively defined navigation tie points. If no swath data has yet been imported, then the all of the tables will be empty. Once some data files are imported, the swath file table will have entries and some number of crossings will be defined (assuming that swaths do overlap and cross), but no tie points will yet be defined.
In order to import swath data into an mbnavadjust project, pull down the <File->Import Swath Data> menu item. A file selection dialog will appear. Swath data can be imported in single files or through datalists (see the MB-System manual page for a description of recursive datalists). As with other MB-System programs, the format id will be automatically determined if possible for each file selected. If a filename does not follow the the MB-System naming convention, the user may need to manually set the format id in the appropriately labeled dialog text widget.
Each file that is imported is broken into a number of sections. The maximum size of the sections in line length or in number of soundings is set in a dialog opened by clicking on <Option->Controls>. Navigation control points are selected at regular intervals within each section. The control point distance interval is approximately one tenth of the specified segment length, so there are up to 11 control points for each section. The data for each section is written as a format 71 bathymetry-only file in the "*.dir" directory. As the files are imported, the areal extent of each section is compared to the other sections. Any pair of sections that overlap is added to a list of crossings to be investigated graphically. This list can be displayed by pulling down the <View->Show Crossings> menu item.
As the user later works through the crossings, he or she will will define tie points whenever the overlapping bathymetry allows the navigational offset to be determined reliably in three dimensions. Each tie point will reference two of the navigation control points, one from each swath in the crossing. Ultimately, some crossings will allow one, or in some case multiple tie points to be defined. Other crossings will still have no tie points, either because the swaths don't really overlap or because there aren't any distinctive features to match. When all of the crossings have been inspected, then the user can invoke inversion for an optimal navigation solution. In cases where the data are known to be already corrected for vertical offsets, such as tides, then the user can uniformly set the vertical (z) components of offsets to zero.
The heart of mbnavadjust is the interactive inspection of the swath crossings. One can bring up the crossing inspection window (entitled "Nav Error") in a number of ways. If one pulls down the menu option <Action->Analyze Crossings>, then the "Nav Error" window will come up with the first crossing loaded. Alternatively, if the <View->Show Crossings> menu item has been selected so that a table of crossings is displayed, clicking once on any of the crossing items in this tabel will bring up the "Nav Error" window with that crossing loaded. Similarly, if tie points have been established and the tie point table displayed by selecting the <View->Show Ties> menu item, then clicking on any of the tie items this table will bring up the "Nav Error" window and load the crossing that includes the selected tie point. If the "Nav Error" window is already displayed, clicking on crossing or tie items in the display tables will load the selected crossing in place of whatever crossing was previously shown.
Once the "Nav Err" window is displayed, the user can also move through the crossings by clicking on the <Previous>, <Next>, and <Next Unset> buttons. The <Previous> and <Next> buttons will load the previous or next, respectively, crossings in the crossing list. As discussed below, each crossing must ultimately be "resolved" by either having one or more navigation offsets set at particular "tie points", or by being "skipped" because no matchable seafloor features are found. The <Next Unset> button will load the next crossing that has not been resolved. To close the "Nav Err" window, click the <Dismiss> button.
The "Nav Error" window is complicated in appearance, and regrettably complicated in function also. The purpose is to allow the user to determine if any seafloor features can be confidently matched in the overlapping swaths. If so, one or more tie points can be defined. In order to ease the identification of matching features, two simultaneous displays are provided. The larger plot on the right consists of overlain bathymetric contours derived from each of the two swaths. The smaller canvas on the left shows a color two dimensional plot of the RMS misfit between the two swaths. The misfit is shown as a function of relative lateral offsets between the two swaths. Put another way, the misfit plot shows how good, or bad, the misfit becomes as one moves one swath relative to another. The lowest misfit values are shown in red; higher misfits are shown in blues to purples. The location of the global (three dimensional) minimum misfit is marked by the large black "X", the location of the minimum misfit using the current vertical offset value is marked by a small black "x", and the location of the current navigation offset is shown by a small red square with a black outline.
The interactive aspect of the "Nav Error" window works simultaneously in both displays. If the user holds down the left mouse button in the contour plot and moves the cursor, the bathymetry contours from one swath will move along with the cursor. In this way, the user can move one of the swaths around relative to the other until the contours line up and features match. As the contours move, the red square showing the current offset location also moves on the misfit plot. The user can thus visually relate the contour matching to the misfit function. The combination of these two displays greatly improves a user's ability to reliably determine navigational offsets (and to conclude where navigational offsets cannot be determined).
The "Nav Err" window includes two buttons that are particularly useful during efforts to match seafloor features. The <Minimum Misfit> button below the misfit display will cause mbnavadjust to set the current navigational offset to that associated with the smallest misfit for the current misfit display. This button is often used first to get close to the right offsets. The <Zero Offset> button above the contour display will return both displays to a state of zero navigational offset.
The relationship between the contoured bathymetry and the misfit plot is usually quite clear. If a strongly matching seafloor feature exists, then a distinct minimum will show up in the misfit plot. If the navigation is good and the feature already matches, then the misfit minimum will be located at the center of the plot, corresponding to an offset that is zero distance in both the east-west and north-south directions. If the navigation is bad, then the misfit minimum will be offset from the origin, and the offset vector will correspond to how far and what direction one must move one swath so that the features in both swaths match. In cases where there is no distinctive seafloor feature to match, the misfit plot will not display a strong minimum and it will be impossible to determine the relative navigational offset. Alternatively, the existence of multiple similar features can produce multiple local minima in the misfit map. In this case, the ambiguity between multiple possible solutions prevents the determination of the navigational offset. We have found that combining both contour and misfit displays allows interactive, visually based decision making that is more generally reliable than any automated scheme we can devise.
Navigational offsets can only be used when they are associated with specific points on the overlapping swath navigation. These points are called "tie points". All crossings will begin with no tie points, and users can generate one or more tie points for any crossing as required. The creation and manipulation of tie points is discussed in detail in a later section.
It is also important to understand that any apparent navigation offset observed in the contour and misfit plots is relative. It may turn out that both swaths are poorly navigated and have to be moved, or that all of the offset can be applied to one swath or the other. The set of decisions about how to distribute the relative navigation offsets among the affected swath files intrinsically involves speed and acceleration changes. Fortunately, we are able to formulate the automated inversion process discussed below to obtain an optimal navigation solution.
The user controls the appearance of the bathymetry contour plot. The contours are generated at regular intervals in depth, and also change color and are annotated with downhill facing tickmarks at regular intervals. A controls dialog brought up by clicking on the <Settings->Contours> button allows the user to set the contour, color change, and tickmark intervals. This same dialog also sets a decimation parameter that causes the contours to be calculated from fewer soundings (the data are decimated by ignoring pings). The application of decimation may speed up the crossing loadings, but is not generally recommended unless the bathymetry is strongly oversampled.
Users may also use a "zoom" feature to focus on small areas in the contour plot. The center mouse button is used to drag a box over a region of interest in the contour plot. When the center button is released, both the contour and misfit plots are regenerated to show the smaller area. Users may zoom as many times in succession as desired. One cannot undo the individual zoom events, but clicking the <Full Size> button in the "Nav Err" window will cause the plots to show the original, full area covered by the two swaths in the current crossing.
The misfit plot represents lateral offsets scaled according to the current contour plot display. Specifically, the width and height of the misfit plot correspond to one half the width and height of the bathymetry contour plot. When the bathymetry plot area changes due to a zoom event, the misfit is recalculated and redisplayed centered around the current offset. The color map used for the misfit display is automatically scaled according to the minimum and maximum misfit values.
In order to actually set the relative navigational offset between two particular points on overlapping or crossing swaths, the user must first create a tie point. This is accomplished by clicking on the <Add Tie> button in the "Nav Err" window. Once a tie point exists, it will be shown on the contour plot as two yellow or red-filled, black outlined squares connected by a thin black line. Each of the squares is located along one of the swath navigation tracks, and represents one of the navigation control points defined during data importation. There can be multiple tie points for each crossing, and each one is created by clicking on the <Add Tie> button.
Only one tie point will be active at any time. The active tie point is displayed with larger boxes (the inactive tie points are only 1/4 the size. If only one tie point has been defined, it will always be active. If more than one tie point exists, clicking on the <Select Tie> button in the "Nav Err" window will change the active tie point to the next in the list for the displayed crossing (the tie points are selected in the order in which they were created). If the user wishes to delete a tie point, then click <Select Tie> until the undesirable tie point is active, and then click <Delete Tie>. The active tie point will be displayed in red fill if either the associated navigation control points or the navigational offset have been changed since it was created or last set. If the active tie point is up-to-date, then it will be displayed in yellow fill. Each new tie point is initially displayed in yellow. All inactive tie points will be shown in yellow fill.
When viewing a crossing with one or more tie points, the offsets displayed are associated with the current tie point. As one moves the contours to match overlapping features, it is important to remember that the navigational offset will be applied to the navigation points indicated for the current tie. Thus, the feature being matched should derive from data (soundings) associated with those particular points on the shiptrack. This is accomplished by clicking on the bathymetric feature in the contour display with the right mouse button. The "right-click" causes mbnavadjust to find the soundings from each swath that are closest to the point clicked, and then to shift the current tie point to the navigation points on each swath that include these soundings (that is, the navigation points associated with the sonar pings that include the closest soundings).
In order to set, and save, a navigational offset that causes a bathymetric feature to be matched in overlapping swaths, the user must click the <Set Offset> button above the contour display. If a user changes the active tie point or loads a different crossing without clicking <Set Tie>, then no offset information will be saved. Conversely, for any crossing with one or more tie points, the <Reset Offset> button will reset the navigational offset to the last value set for the current crossing and tie point.
So, in practice, setting navigational offsets that will be used in obtaining
an optimal navigation solution involves the following steps:
1. Identify a bathymetric feature with
overlapping data so that it can be
2. Create a tie point by clicking the
<Add Tie> button.
3. Set the tie point location by right
-clicking on the feature.
4. If necessary, zoom the display to
focus on the bathymetric feature
of interest by dragging a box
with the middle mouse button.
5. Adjust the offsets so that the
feature is matched in both swaths
(operating in the contour display,
the misfit display, or both).
6. Click the <Set Offset> button.
These steps should be followed for every feature that can be matched in overlapping swaths.
In some cases, the user will find it useful to create and set multiple tie points in a single crossing. Other crossings may not allow any features to be matched. Users should click the <Skip Crossing> button on crossings that do not allow one or more offsets to be determined. In fact, mbnavadjust will only allow the calculation of a navigation solution when all of the crossings have been acted on by either having tie points set or by having been explicitly skipped.
Users should feel free to iterate any way they like during crossing inspection. Crossings may be displayed as many times as desired, and ties can be created, deleted, and changed without restriction. Users may also quit mbnavadjust and then later reopen the same project without losing any information.
The adjusted navigation model produced by MBnavadjust should be accurate to the bathymetric resolution in a relative sense, but fitting a set of relative offset ties does not provide constraints on the global location of the survey data. MBnavadjust provides two means to control the global location of the adjusted navigation. First, the global location of the model is essentially an average of the overall offsets associated with good navigation. Users may use the <Action->Set File Poor Navigation> menu item to set selected surveys or files to be ignored in setting the global model. Second, if certain data files are thought to have correct navigation, they can be fixed (e.g. to have zero adjustment) using the <Action->Set File Fixed Navigation> menu item. In this case, all of the non-fixed files are adjusted relative to the fixed files.
Once the user has interactively analyzed all of the crossings and closed the "Nav Err" window by clicking the <Dismiss> button, the <Action->Invert navigation> button becomes enabled. Clicking this button causes mbnavadjust to construct and solve an inversion for the optimal navigation.
The inversion solves for navigation adjustments at each navigation control point which satisfy the offsets at the tie points while minimizing speed and acceleration. The speed and acceleration penalty is set using a penalty weight value that may be varied. If the penalty weight is large, the navigation adjustments may be smooth and small but not fit the tie point offsets well. An infinite penalty weight produces uniformly zero adjustments. In contrast, a small penalty weight allows the tie point offsets to be fit as well as possible even if large speed and acceleration spikes are a consequence. Hoever, even with a zero penalty weight the inversion may not be able to exactly satisfy all of the tie point offsets. If some of the tie point offsets are conflicting (e.g. one tie point requires a navigation control point to move to the west while another tie point requires a move to the east), then the offsets cannot all be simultaneously fit exactly.
The inversion is actually performed many times with different penalty weights, and the "best" solution is selected and applied to the data. The details of how the "best" solution is identified are given in the section "Details of the Inversion" section below. A log of the inversion parameters, the results from each of the inversion iterations, and detailed results from the final inversion are output to the Message text window. The program then outputs an adjusted navigation file for each of the input swath files and updates (or creates) the parameter file for each swath file so that mbprocess will merge the adjusted navigation.
The output adjusted navigation files are named by adding a ".na#" suffix
to the original swath data filename. If a swath file imported into
mbnavadjust for the first time is named:
then the adjusted navigation resulting from that project will be named:
If this file is imported into a second mbnavadjust project, the result from inversion in that project will be:
In addition to generating the adjusted navigation, mbnavadjust also sets the NAVADJMODE and NAVADJFILE values in the mbprocess parameter file. In this case, the parameter file is named:
and the processed swath file generated by running mbprocess is:
Refer to the mbprocess and mbset manual pages for details on the control and use of mbprocess.
Note that the relevant parameter file settings will reflect the most recent inversion in mbnavadjust. Users do need to be aware that the order of navigation processing is important because, when possible, mbnavadjust imports existing processed data files. The data within the mbnavadjust projects are not, however, updated when the source data are updated. Consequently, standard navigation processing should be completed and applied with mbprocess before a swath file is imported into an mbnavadjust project. If a swath file is to be used in multiple mbnavadjust projects, the first project should be finalized and the results applied before data are imported into the second.
Once an inversion has been performed, the user should inspect the fit for each of the tie points before accepting and applying the adjusted navigation. The relationship between the interactively defined navigation offsets and the offsets associated with the inversion can be investigated numerically in the tie points table or visually in the "Nav Err" window.
We suggest first examining the tie points table by pulling down the <View->Show Ties> menu item. This table shows, from left to right, the identity of each tie point, the longitude and latitude offsets defined by the user (in meters), and the longitude and latitude residuals, or differences between these offsets and those associated with the inversion (in meters). If any of these residuals are unexpectedly large, simply clicking on the table line showing the suspect navigation tie will bring up the "Nav Err" window and load the crossing including that navigation tie. Once an inversion is performed, the "Nav Err" crossing displays show the inverted offset as a small '+' symbol on the misfit plot. The user can then determine whether the previously set navigation offset is truly required by the data. On occasion, one discovers that the offset obtained in the inversion is as consistent with the bathymetry as the offset originally set by the user. Once the offset values have been adjusted as necessary, they can be reset by clicking on the <Set Offset> button (just as in the earlier interactive sessions).
Once all of the suspect navigation ties have been inspected, and perhaps corrected, another inversion can be generated using the revised set of offsets. In this way, users can iterate over cycles of inversion and inspection until a satisfactory (self-consistemt) solution is obtained. When the final inversion has been performed, the user can then run mbprocess on all of the affected swath data files to produce a set of processed files incorporating the optimally adjusted navigation. Once again, we emphasize that users should always finalize an mbnavadjust project before importing affected swath data into another mbnavadjust project.
The inversion is constructed as a sparse overdetermined least squares
matrix problem. Suppose we have N navigation control points in all of the
swath files and have defined M tie points. The form of the problem is:
A X = D
Here X is the vector of unknowns, which happen to be the changes in the longitude and latitude values of all of the navigation control points. So, there are 2N unknowns. Note that we do not solve directly for longitude and latitude, but rather for the change, or perturbation, to the longitude and latitude values. The matrix A contains 2N columns corresponding to the unknowns and a row for each of the constraints we can apply to the navigation adjustment problem. The number of elements in the "data" vector D also corresponds to the number of constraints. We apply four sets of constraints in this inverse problem:
1) Fixed navigation points
2) Penalize speed (first derivative)
3) Penalize acceleration (second derivative)
4) Fit navigation offsets at tie points
The first kind of constraint is simply expressed as:
XLONj = 0
XLATj = 0
where XLONj is the longitude change and XLATj is the latitude change for the "j"th navigation control point.
The second contraint (speed) is also one of minimization:
-XLONj + XLONj+1
---------------- = 0
-Tj + Tj+1
-XLATj + XLATj+1
---------------- = 0
-Tj + Tj+1
Here XLONj+1 and XLATj+1 are the longitude and latitude changes for the "j+1"th navigational control point and Tj and Tj+1 are the times of the "j"th and "j+1"th navigational control points. The denominator in these expressions is thus the time difference between the two navigation points. The speed constraint can only be applied to navigation control points that are sequential, and is not applied across breaks in the swath data. Note that multiple swath files may be sequential without breaks, while time gaps or breaks can occur within a single swath file. The existence of gaps or breaks in the swath data is determined solely on the basis of time gaps as the data are imported.
The third contraint (acceleration) is also one of minimization:
XLONj - 2 * XLONj+1 + XLONj+2
----------------------------- = 0
-Tj + Tj+2
XLATj -2 * XLATj+1 + XLATj+2
----------------------------- = 0
-Tj + Tj+2
The second derivative calculation requires three sequential navigation control points: j, j+1, and j+2. Here XLONj+2 and XLATj+2 are the longitude and latitude changes for the "j+2"th navigational control point and Tj and Tj+2 are the times of the "j"th and "j+2"th navigational control points. The denominator in these expressions is thus the time difference between the "j"th and "j+1"th navigation points.
The final, and most important constraints
are the relative navigation ofsets defined for each of the M tie points.
Since each offset has a longitude and a latitude value, there are 2M
rows in A and elements in D associated with the tie points.
If the "i"th tie point specifies an offset DLONi and DLATi between the "j1"th and "j2"th
navigation control points, then the constraint may be expressed as:
-XLONj1 + XLONj2 = DLONi
-XLATj1 + XLATj2 = DLATi
The size of the matrix problem will vary with the number of navigation control points, tie points, fixed points, and time gaps. However, the addition of the speed and acceleration minimization constraints guarentees that the number of constraints will always be larger than the number of unknowns, and so we will always be solving an overdetermined least squares problem. Each of the above equations contribute one row to the matrix problem, and each of these rows has at most three nonzero elements in A. As a result, this matrix problem is also always extremely sparse. This condition allows us to use one of a class of approximate least squares solution algorithms that are efficient in solving sparse problems. The algorithm used for mbnavadjust inversions is that of Olsen .
The importance of the speed and acceleration minimization constraints is varied
by multiplying the associated matrix row elements by a penalty weight value.
In practice, the inversion is constructed and solved with many different
penalty weights, and the "best" inversion is selected and applied. Generally
speaking, we seek the smoothest inversion that satisfactorily fits the
tie point offsets. We set smoothness using the penalty weight value so that larger
penalty weights correspond to smoother solutions.
We measure the fit to the tie point offsets using the usual least squares
2 2 2
Fit = Chi = SUM( (DLONi - (XLONj2 - XLONj1))
+ (DLATi - (XLATj2 - XLATj1)) )
using the same notation as above. Note that the units of Chi are distance, and so are physically meaningful. A smaller Chi corresponds to a better fit to the tie point offsets. The Chi value will be smallest for a zero penalty weight, and increase as more smoothing is applied.
The initial solution is generated using a very small penalty weight to insure that the smoothing is negligible and that the tie point offsets are fit to the maximum degree possible. This first inversion is used to set a "reference" value of Chi. In some cases, the tie points offsets do not substantially conflict and it is possible for the inversion to fit the offsets nearly exactly so that Chi is quite small. If the initial Chi is greater than the target precision for the inversion (set from the Controls panel), mbnavadjust sets the reference fit to this initial value. Otherwise, the reference fit is set to the target precision. The default value is 0.1 meters, which is appropriate for high resolution, low-altitude surveys. Larger values will be more appropriate for large altitude (e.g. deep water hull-mounted) surveys. The program then recalculates solutions with different penalty weights until the resulting Chi is between 1.05 and 1.1 times the reference fit. This last solution is chosen as the best solution, reported as the navigation adjustment inversion solution, and applied to that swath data navigation. The justification for choosing the optimal solution in this fashion is that this approach insures that the smoothness constraint is sufficient large to be impacting the fit, but not so large that the fit has been substantially degraded.
Nishimura, C. E., and D. W. Forsyth, Improvements in navigation
using SeaBeam crossing errors, Mar. Geophys. Res., 9, 333-352, 1988.
Olson, A. H., A Chebyshev condition for accelerating convergence of iterative tomographic methods - Solving large least squares problems, Phys. Earth Planet. Inter., 47, 333-345, 1987.
Parker, R. L., Geophysical Inverse Theory, Princeton University Press, Princeton, NJ, 1994.
Last Updated: 3 June 2013
Return to list of MB-System manual pages...
Back to MB-System Home Page...