synSurface
Overview
synSurface is a minimal utility stub designed to open an existing 32-bit floating-point .r4 grid (data_type == 3), verify and print its JHC_header metadata, and prepare a synthetic depth surface for use with synSwath / makeSynPing.
Syntax & CLI Options
synSurface [-normal <depth>] [-reset] <r4file>
| Flag / Argument | Description |
|---|---|
-normal <depth> | Nominal depth value in meters (default: 100.0). |
-reset | Set reset flag. |
<r4file> | Target 32-bit floating-point .r4 file. |
How It Works
- Opens
<r4file>in read/write mode ("r+"). - Reads and prints the
JHC_headerviaget_print_JHC_header(floatfile, 1)and verifiesJHChead.data_type == 3. - Seeks to the end of the 1024-byte
JHC_headerand closes the file.
Examples
Inspect an .r4 surface header for synthetic swath generation
synSurface -normal 150.0 test_sheet.r4
Workflow Context
- Related Tools:
makeSynPing,make_blank.