binTide
Description
binTide is a utility that converts ASCII listings of tide data into the jcu_nav binary format for merging with other navigation data. It reads time and tide height values from an ASCII file and outputs them in a structured binary format suitable for integration into OMG processing workflows.
Usage
binTide (-v) (-1970time) (-addsine) (-scale 0.01) (-offset -0.63) (-delay 180) (-position lat lon) -year 1996 (or -V2 -V3) asciitidefile binarytidefile
Arguments
| Option | Description |
|---|---|
-v | Enable verbose output |
-1970time | Use 1970-based time format |
-addsine | Add sine wave component |
-scale | Scale factor for tide values |
-offset | Offset to apply after scaling |
-delay | Time delay in seconds |
-position lat lon | Position coordinates |
-year | Year for date calculation |
-V2 | Version 2 format (has year) |
-V3 | Version 3 format (has yyyymmdd) |
asciitidefile | Input ASCII tide file |
binarytidefile | Output binary tide file |
How It Works
- Input Parsing: Reads ASCII tide data with time and height values
- Format Conversion: Converts to jcu_nav binary format
- Optional Processing: Applies scaling, offsets, delays, and position information as specified
- Output: Writes structured binary file for merging