Skip to content

Convert multiband sonar data into latitude/longitude/depth points

Notifications You must be signed in to change notification settings

srjskam/dms2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

dms2csv

Convert multibeam sonar data into latitude/longitude/depth points.

NOAA (probably among others) provides their multibeam sonar bathymetry data in .dms format, which is a simpleish fixed field width text file. This script converts it into a comma-separated list (latitude, longitude, depth), which should be easy to import into any GIS program.

Requirements: Python >3.0

Usage: Provide a file name or pipe the data to stdin, .csv is printed to stdout.

./dms2csv.py path/to/data.dms > output.csv

NOAA data comes zipped, so you might do something like

for a in path/to/data/*.gz; do gunzip --stdout $a ; done | ./dms2csv.py > output.csv

About

Convert multiband sonar data into latitude/longitude/depth points

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages