🛠️ Day 27: Data Conversion and Navigation Editing
🔄 DAY 27: DATA CONVERSION & NAVIGATION CORRECTION
Masterpiece Edition – From Raw Sensor Logs to Clean, Synchronised Navigation
Instructor: Engr. Rokib Hossain | River Warrior Academy
📖 Table of Contents (Serialised)
- Why Data Conversion & Navigation Correction Matter
- Raw Data Formats – A Quick Review
- Conversion Workflow: From .ALL/.S7K to .XTF/.GSF
- Time Synchronisation – PPS, NTP, and Latency
- Latency Correction (Time Delay)
- Position Filtering – Removing GPS Jumps
- Integrating Motion Data (Heave, Roll, Pitch)
- Data Conversion & Navigation Correction Checklist
- Tools & Software for Conversion
- Frequently Asked Questions
- Action Items & Next Steps
1. Why Data Conversion & Navigation Correction Matter
Raw hydrographic data from different manufacturers comes in proprietary formats (.all, .s7k, .raw, .son). Before processing, we must convert to an exchange format (e.g., .xtf, .gsf) or load directly into processing software. During this step, we also correct navigation errors: time synchronisation, latency, position jumps, and motion integration.
Without proper navigation correction, even a perfectly cleaned bathymetry will be misaligned – causing features to appear in the wrong place and cross‑line mismatches.
2. Raw Data Formats – A Quick Review
| Manufacturer | Raw Format | Typical Extension | Contains |
|---|---|---|---|
| Kongsberg | .all | .all | Bathymetry, water column, backscatter, attitude, position |
| .s7k, .xse | .s7k, .xse | Swath, snippet, water column, navigation | |
| .son | .son | Raw beam data, navigation, attitude | |
| .raw (Hypack) | .raw | Proprietary but can be exported |
Most processing software can import these natively. However, for interoperability (e.g., between acquisition and third‑party processors), we often convert to .xtf (eXtensible Transducer Format) or .gsf (Generic Sensor Format).
3. Conversion Workflow: From .ALL/.S7K to .XTF/.GSF
Typical conversion pipeline: raw → exchange format → processing.
Conversion utilities include:
- Kongsberg .all to .xtf: Use `all2xtf` (command line) or Qimera's import.
- Teledyne .s7k to .xtf: Use S7K to XTF converter (Teledyne provides).
- R2Sonic .son to .xtf: Use `son2xtf` from R2Sonic.
- Hypack .raw: Hypack natively exports to XTF.
4. Time Synchronisation – PPS, NTP, and Latency
For accurate navigation, all sensors (GNSS, motion, sonar) must share a common time reference. Two methods:
- PPS (Pulse Per Second) + UTC string: GNSS sends a 1 Hz pulse and a serial time message. Sonar and IMU use this to timestamp their data.
- NTP (Network Time Protocol): All devices synchronise to a common NTP server (often the GNSS receiver). Less accurate (milliseconds) but sufficient for many systems.
During conversion, the software aligns data streams using timestamps. If timestamps are off, you will see position‑depth mismatches (e.g., a wreck appears shifted along the line).
5. Latency Correction (Time Delay)
Latency is the delay between when the sonar ping occurs and when the GNSS position is recorded. Typical values: 10‑50 ms. A constant latency causes a along‑track shift proportional to speed.
How to determine latency: Run a patch test (Day 14) or compare positions of a fixed target at two different speeds.
Applying latency correction: In processing software, you enter a positive or negative offset (in milliseconds) that shifts the position relative to the depth. Most converters (e.g., Qimera) allow you to apply latency during import.
6. Position Filtering – Removing GPS Jumps
Raw GNSS positions sometimes contain spikes (momentary jumps) due to multipath or cycle slips. These jumps must be filtered out during conversion or early processing.
Filters used:
- Velocity filter: Rejects positions where vessel speed > max vessel speed + margin.
- Acceleration filter: Rejects unrealistic acceleration.
- Kalman smoother: A statistical filter that smooths the trajectory (often built into IMU).
Animated example: Red outlier disappears after 2 seconds, leaving a clean profile (green dashed). This simulates automatic or manual cleaning.
7. Integrating Motion Data (Heave, Roll, Pitch)
The motion sensor (IMU) provides real‑time heave, roll, pitch. During conversion, these values are interpolated to each sounding time. Key points:
- Heave: Vertical motion. Applied to depth.
- Roll & pitch: Angular motion. Corrects the beam pointing angle.
- Heading (yaw): Used to rotate swath to geographic coordinates.
Most conversion software (e.g., Qimera, Caris) automatically merges motion data based on timestamps. Ensure the motion sensor and sonar clocks are synchronised.
8. Data Conversion & Navigation Correction Checklist
- ✅ Raw files organised by line / date.
- ✅ Conversion utility selected and tested on one line.
- ✅ Time synchronisation verified (PPS/NTP).
- ✅ Latency value from patch test applied.
- ✅ GPS jumps filtered (visual check).
- ✅ Motion data present and within expected ranges.
- ✅ Converted file successfully loaded into processing software.
- ✅ Navigation plot shows vessel path without unrealistic jumps.
- ✅ Original raw files archived (never delete).
Click on any checklist item to toggle completion (saved in your browser). Reload the page to see your progress preserved.
9. Tools & Software for Conversion
| Tool | Purpose | Link / Notes |
|---|---|---|
| Kongsberg all2xtf那样Convert .all to .xtf那样Part of Kongsberg SIS / Qimera | ||
10. Frequently Asked Questions
11. Action Items & Next Steps
- 📌 Identify the conversion utility for your MBES system. Download and test on a sample line.
- 📌 Practice applying a latency offset (e.g., +20 ms) and observe the position shift in a processing viewer.
- 📌 Create a checklist for your own data conversion workflow (customise the one above).
- 📌 Proceed to Day 28: Tide & SVP Corrections.
Comments
Post a Comment