Tools in code/tide/ for converting, modeling, differencing, interpolating, and merging tidal water-level records, PPK/RTK GPS elevations, and dynamic draft (squat) corrections onto OMG-HDCS .merged multibeam files.
Typical Tide Processing Workflow
Format Conversion (Agency ASCII / PPK $\rightarrow$ JHC ASCII or Binary): Convert raw tide gauge tables or predictions (from CHS, MEDS, NOAA, USGS, XTide, Simrad, or .wlv files) into 4-column JHC ASCII (jday hour min tide_m), or convert PPK GNSS exports directly to binary using GrafNav_2_OMG or posProc_2_OMG.
Binary Compilation (JHC ASCII $\rightarrow$ jcu_nav_rec.bin): Run binTide to convert the JHC ASCII tide listing into an OMG binary jcu_nav_rec file (where UTC epoch time is stored in time/centisecs and vertical tide offset in meters is stored in azi).
Merging onto Multibeam Pings (.bin $\rightarrow$ .merged): Run mergeTide to interpolate the binary tide series (or two-station cotidal zone via -interpolate) onto each ping of your OMG-HDCS .merged survey lines.
Converts JHC ASCII tide files (jday hour min tide or -V2/-V3) into OMG binary jcu_nav_rec tide files, with optional scaling, datum offset, time delay, and station coordinates.
Computes the vertical difference or sum between two binary jcu_nav_rec tide files (with optional phase delay, attenuation, and datum offset), or computes horizontal meter offsets (-calc_horiz_diff) between two navigation files.
Generates a synthetic binary jcu_nav_rec station template at a fixed latitude/longitude over a specified start/end time range and time step for harmonic tide predictors.
Computes speed-dependent vessel settlement/squat ($\text{scaler} \times v^{\text{power}}$) from binary .nav velocity records and stores the vertical offset in azi for merging via mergeTide -DDC.
3. Canadian (CHS / DFO MEDS / Environment Canada) Format Converters