comboVPs
Description
comboVPs concatenates multiple along-track multibeam water-column vertical profile files (*.vert_prof, produced by makeWC or comboTAs) side-by-side into a single long-line .vert_prof echogram in OMG1 (JHC_header) format.
CLI Options & Usage
comboVPs [-v] -out <comboprefix> <file1.vert_prof> [<file2.vert_prof> ...]
-out <comboprefix>: Output combined.vert_proffilename.-v: Verbose mode reporting thexmax à ymaxdimensions of each input.vert_proffile as it is appended.<file1.vert_prof> ...: Ordered list of.vert_proffiles to concatenate horizontally along the X (ping/time) axis.
Algorithm
- Reads the
JHC_headerof every input.vert_proffile, summing the total along-track ping count (tot_x += head.xmax) and finding the deepest vertical sample dimension (max_y = max(max_y, head.ymax)). - Allocates a
tot_x à max_y8-bit canvas initialized to255(background). - Sequentially copies each input
.vert_profarray into its horizontal column offset[start_x .. start_x + head.xmax - 1]and writes the combinedOMG1header and raster payload to<comboprefix>.