Core Multibeam & Backscatter Processing (omg)
The omg directory is the central suite of command-line processing programs in the Ocean Mapping Group software tree. These tools operate directly on OMG-HDCS swath bathymetry files (.merged, v1βv4), water-column archives (.watercol), transmit sector logs (.sectors), runtime parameter logs (.param), and GLORIA sidescan files (.ss).
1. Inspection, Indexing & Format Utilities
readOMG&readHDCSβ Inspect and dump OMG-HDCS summary headers, ping profile headers, and per-beam records.EMlistβ Summarizes Kongsberg runtime settings, depth modes, pulse lengths, and ping counts across.mergedfiles.getBoundsβ Computes.global_boundsand.100_ping_boundsspatial/temporal index files for fast querying injview,weigh_grid, andmos2.inAreaβ Filters a list of.mergedswath files to those intersecting a targetJHC_headermapsheet or bounding box.dumpXYZ,dumpReflect,dumpFlagsβ Exports georeferenced(X, Y, Z)soundings, beam reflectivity, or edit status flags to ASCII/binary streams.packOMG,rationalOMG,splitOMG,stackOMG,reSortOMG,replaceOMG,diffOMGβ File-level packing, version upgrading, splitting, concatenation, chronological sorting, and differencing utilities.
2. Navigation, Attitude, Lever-Arm & Refraction Re-Integration
mergeAtt&newMergeAttβ Merges high-rate attitude (.att,.net_att) and navigation (.nav) into.mergedswath files with time-latency and lever-arm compensation.repointβ Full 3D non-orthogonal cone re-pointing and ray-tracing engine (j_non_ortho_cones+DCM_rthand) for recalculating beam positions after attitude, mounting-angle, or sound-speed edits.deRefract&RefractEdβ Interactive and batch refraction correction tools for removing sound-velocity profile (SVP) βsmilesβ and βfrownsβ.applyOffset,unrollOMG,getRollResidual,makeAziTwirlβ Static mounting offset application, roll-bias estimation, and azimuth patch-test analysis.reSync,smoothTime,smthTimeOMG,showPingRate,useCMG,guessSwellHeave,deHump,deJawβ Clock drift synchronization, timestamp smoothing, course-made-good heading calculation, and motion artifact removal.
3. Automated Cleaning, Flagging & Target Detection
autorejectSoundings,rejectSounding,rejectJIM,preFlag,deOuterMistrack,LPFbeamsβ Automated outlier rejection, outer-beam mistrack cleaning, and along/across-track low-pass filtering.edReject,edsumm,checkSDβ Summarizes and modifies beam edit flags and standard deviation metrics.targethunt(targethunt.h) β Automated hydrographic target and shoal/wreck detector.
4. Backscatter Calibration, Sidescan Generation & Beam Patterns
makess&updateSSheaderβ Converts.mergedmultibeam snippet/seabed image time series into 1024-sample GLORIA.sssidescan lines (plus.grzgrazing angle and.altralong-track offset files formos2).deTVG,correctBS,removeAngular,understand_KM_BS,parse_Bscorr(parse_Bscorr.h) β Reverses manufacturer Time-Varying Gain (TVG), applies radiometric and grazing-angle backscatter corrections, and parses KongsbergBScorr.txtcalibration tables.getBeamPattern,newGetBP,get8101BeamPattern,getSnippetBP,getSnippetVarianceβ Extracts empirical transmit/receive beam directivity patterns from seafloor backscatter.applySectBP,multiMode2Calib,filterBP,smthBP,stackBP,traceBP,diff_MS_bp,hackSectorsβ Multi-sector beam pattern calibration, smoothing, stacking, and application tools.getAngularResponse,getGraz,get_GRA,get_ADH_SRA,classSelβ Computes true seafloor grazing angles (using a reference.r4DTM) and extracts angular response curves.
5. Water Column Processing
makeWCβ Processes and projects multibeam.watercolacoustic water-column fans, extracts gas flares/plumes, and generates water-column curtains.compress_OMG_watercolumn&moveOverWCinfoβ Compresses binary.watercolfiles and transfers water-column byte offsets between.mergedheaders.
Table of contents
- deTVG
- getSnippetBP
- hackSectors
- inArea
- LPFbeams
- makeAziTwirl
- makess
- makeWC
- mergeAtt
- modProfHead
- moveOverWCinfo
- multiMode2Calib
- newGetBP
- newMergeAtt
- packOMG
- parse_Bscorr
- parse_Bscorr.h
- preFlag
- rationalOMG
- readHDCS
- readOMG
- RefractEd
- rejectJIM
- rejectSounding
- removeAngular
- replaceOMG
- repoint
- reSortOMG
- reSync
- shiftSStraces
- showPingRate
- sm2file.h
- smoothTime
- smthBP
- smthTimeOMG
- splitOMG
- stackBP
- stackOMG
- targethunt
- targethunt.h
- traceBP
- understand_KM_BS
- unrollOMG
- updateSSheader
- useCMG
- applyOffset
- applySectBP
- autorejectSoundings
- checkSD
- classSel
- compress_OMG_watercolumn
- correctBS
- deHump
- deJaw
- demo_fernando
- deOuterMistrack
- deRefract
- diff_MS_bp
- diffOMG
- dumpFlags
- dumpReflect
- dumpXYZ
- edReject
- edsumm
- EMlist
- filterBP
- fixEM3K_V3
- get_ADH_SRA
- get_GRA
- get8101BeamPattern
- getAngularResponse
- getBeamPattern
- getBounds
- getGraz
- getRollResidual
- getSnippetVariance
- guessSwellHeave