UNB Ocean Mapping Group (OMG) Multibeam & Acoustic Software Documentation
Welcome to the documentation portal for the University of New Brunswick (UNB) Ocean Mapping Group (OMG) multibeam sonar, sidescan, ADCP, scientific echosounder, sub-bottom profiler, and bathymetric LiDAR processing software suite.
Developed across three decades of ocean mapping research, this C/X11/Motif codebase provides 1,000+ specialized command-line tools, interactive editors, and core C libraries for unpacking, calibrating, ray-tracing, editing, gridding, and mosaicking marine acoustic dataβwith deep support for Kongsberg Maritime systems (.kmall, .kmwcd, .all, .wcd, .raw), as well as Teledyne RDI ADCP, GeoAcoustics GeoSwath+ / Submetrix 2000, Reson SeaBat 7k/8k, R2Sonic, EdgeTech JSF, Klein SDF/XTF, Knudsen / SEG-Y, and Optech SHOALS LiDAR.
[!TIP] New to the OMG Software Suite? Start with the Processing Workflows & Guides, explore the Interactive Tool Finder & Cheat Sheet, or try the Live 349-Line Antarctica (
02_Bransfield) Survey Monitor.
Featured Portals & Interactive Tools
π 11 Step-by-Step Workflows
Complete command-by-command pipelines for Kongsberg .kmall & .all unraveling, bathymetric gridding, sidescan mosaicking, ADCP, EK60/EK80, GeoSwath, and sub-bottom profiling.
π Interactive Tool Finder & Cheat Sheet
Filter OMG executables instantly by file extension (.kmall, .merged, .r4, .sun, .decnav, .ss, .vert_prof), processing stage, or keyword.
πΊοΈ QGIS Monitor & Live Antarctica Demo
Qimera/HIPS-style QGIS 3.x plugin for zero-copy .r4/.sun/.vert_prof rasters and .decnav trackline QC, demonstrated on 349 EM124 lines from Bransfield Strait.
π€ LocalAI / LLM & RAG Dataset
Machine-readable JSON tool schemas (omg_tools_catalog.json) and JSONL instruction/troubleshooting pairs for local AI sonar processing assistants.
End-to-End Kongsberg .kmall & .kmwcd Processing Architecture
flowchart TD
subgraph Raw["1. Raw Acquisition (raw/{day}/)"]
KMALL["<line>.kmall\n(#MRZ Bathymetry + Snippets, #SPO Nav, #SKM Att, #SVP)"]
KMWCD["<line>.kmwcd\n(#MWC Water Column Amplitude & Phase)"]
end
subgraph Unpack["2. Unpacking & Stream Selection (merged/{day}/)"]
RKM1["read_kmall -just_wc <line>.kmwcd"]
RKM2["read_kmall <line>.kmall"]
MOV["moveOverWCinfo <line>.merged justWC_<line>.merged"]
SEL["Select Active Streams:\ncp .nav_1 -> .nav | cp .net_att_2 -> .orientation"]
end
subgraph Merge["3. Nav Filtering, Attitude, Ray-Tracing & Curtains"]
SNAV["stripNav + mergeNav\n+ appendNav -skip 10 -> decnav/{day}/<line>.decnav"]
MATT["mergeAtt / newMergeAtt\n(Lever Arms .param + 3D Ray-Trace .sv_filtered)"]
MKSS["makess -Redo_as_new\n+ deTVG -box -> ss/{day}/<line>.ss"]
MKWC["makeWC -vert_prof -> <line>.vert_prof\n+ getBounds -100 -> shpFiles/{day}/"]
end
subgraph Products["4. Gridding, Editing, Mosaicking & QGIS Visualization"]
SWATH["swathed <area>\n(Interactive 6-Panel Sounding & Calibration Editor)"]
GRID["weigh_grid -> <grid>.r4\n+ meds_sun -> <grid>.sun"]
MOS["mos2 / comboMOS -> <mosaic>.mos"]
QGIS["QGIS Monitor Plugin & jview\n(Zero-Copy .vrt Rasters + .decnav Trackline QC)"]
end
KMWCD --> RKM1 --> MOV
KMALL --> RKM2 --> MOV --> SEL
SEL --> SNAV --> MATT
MATT --> MKSS --> MOS
MATT --> MKWC --> QGIS
MATT --> SWATH --> GRID --> QGIS
MOS --> QGIS
End-to-End Processing Workflows (workflows/)
| Workflow Guide | Sensors & Formats Covered | Key Executables |
|---|---|---|
| 1. OMG File Formats & Directory Architecture | OMG_HDCS (.merged), JHC_header (OMG1: .r4, .sun, .8bit, .vert_prof), jcu_nav_rec (.nav, .decnav), .orientation, .param | read_kmall, unravel, dump_merged, head_info, check_nav |
2. Kongsberg .kmall & .kmwcd Unraveling | Kongsberg EM2040, EM712, EM304, EM124 (.kmall, .kmwcd), multi-day Julian directory layouts (74..81) | read_kmall, moveOverWCinfo, stripNav, mergeNav, appendNav, mergeAtt, newMergeAtt, makess, deTVG, makeWC, getBounds |
3. Kongsberg .all & .wcd Legacy Unraveling | Kongsberg EM120, EM300, EM302, EM710, EM1002, EM3000 (.all, .wcd) | unravel, stripNav, mergeNav, mergeAtt, makess, makeWC |
| 4. Bathymetric Gridding, Swath Editing & Mosaicking | .merged $\rightarrow$ .r4, .sun, .mos, GeoTIFF / ArcGrid, interactive 3D editing | weigh_grid, meds_sun, swathed, mos2, comboMOS, jview, r4toESRI, r4toTIFF |
| 5. Troubleshooting & Diagnostics Reference | Roll/pitch/latency wobbles, refraction smiles/frowns, 0-byte .net_att_2 fallbacks, navigation spikes | dump_merged, dumpFlags, check_nav, att2ascii, DelayEditor, swathed |
| 6. QGIS & GIS Integration Architecture | Zero-copy GDAL .vrt wrappers for .r4/.sun/.vert_prof, .decnav GeoJSON tracklines | omg_qgis_cli.py, r4toESRI, r4toTIFF, getBounds |
| 7. ADCP Current Processing Workflow | Teledyne RDI Workhorse / Ocean Surveyor PD0 (.000, .PD0), tidal current ellipses | readADCP, readWinADCP, combineMultiADCP, calc_ellipse, makeVectorPlot |
| 8. Simrad EK60 / EK80 Echosounder Workflow | Simrad EK500 / EK60 / EK80 (.raw), split-beam target strength, sphere calibration | EKlook, BatchProcEK, comboCalibEK_ARCs, readWave |
| 9. GeoSwath & Sidescan Workflows | GeoAcoustics GeoSwath+ / Submetrix 2000 (.rdf), Klein .sdf, Triton .xtf, EdgeTech .jsf | sub2k, sub2k_motif, debeam, destripe, nadirdamp, glgain |
| 10. Multi-Vendor Multibeam Converters | Reson .s7k, R2Sonic .r2s, WASSP, ELAC, SeaBeam, GSF, XSE, HYPACK, CARIS HIPS | 7k2omg, 8k2omg, r2s2omg, gsf2omg, xse2omg, refoELAC |
| 11. Sub-Bottom Profiler & Bathymetric LiDAR | SEG-Y (.sgy), Knudsen Chirp (.keb), EdgeTech Chirp (.jsf), Optech SHOALS LiDAR | segy, knudsen, jsf, Optech, glseis |
Browse Codebase Documentation by Domain Category
All 68 source directories (1,050+ documented tools, C sources, and headers) are organized into 5 logical domain categories in the left sidebar:
| Domain Category | Directories Included |
|---|---|
| 1. Multibeam Unpacking, Nav & Ray-Tracing | kmall, omg, nav, att, ray, RTLite, RT, tide, Tidecor, QC |
| 2. Gridding, Mosaicking & Interactive Editors | grid, newmos, SE, JV, DE, image, plot, cmaps, gl, glseis, bpdemo |
| 3. Sidescan, Echosounders, ADCP & Sub-Bottom | sidescan, EKlook, Wave, adcp, class, segy, knudsen, jsf, xtf, sdf, mr1, singlebeam |
| 4. Multi-Vendor Sonar & LiDAR Converters | reson, Sbat, r2sonic, wassp, elac, sb2k, sub2k, sub2k_motif, M3, mb1, humm, xse, gsf, hypack, hips_goodies, Optech, ROSS, netcdf |
| 5. Core Libraries, Researcher Suites & Utilities | subr, subr_graphics, plotlib, gsf_lib, shapelib-1.3.0a2, ianc, jonnyb, james, steve, bin, scripts, misc-tools, line, vers, tests, labs, howto, doc, wiki |