shamrin / pyxtf

View and convert eXtended Triton Format (XTF) files
MIT License
8 stars 1 forks source link

XTF to SON #1

Open MBollinger89 opened 9 years ago

MBollinger89 commented 9 years ago

Hello, Thank you for producing this script to convert xtf as it is one of the most universal side scan sonar file types. I was wondering if your script can be adapted to convert XTF to the SON files used by Humminbird? Thanks, Mike

shamrin commented 9 years ago

Hi Mike,

I believe implementing XTF-to-SON conversion is doable. According to PyHum data formats notes, .SON and .DAT formats are pretty straightforward. You may want to take a look at how export_SEGY function is implemented. I think hypothetical export_SON function would work in a similar fashion.

I can dig deeper if you have any questions. Feel free to ask!

By the way, what is your use case? What would you do with .SON files?

shamrin commented 9 years ago

I've just realized you are dealing with XTF side-scan data. I wrote this software mainly to deal with subbottom data. I haven't seriously tried xtf.py module with side-scan. As far as I remember, @dbuscombe-usgs tried loading side-scan data into pyxtf and it didn't work out of the box.

shamrin commented 9 years ago

Then I've made a short attempt to adapt pyxtf for reading @dbuscombe-usgs's side scan files. But I've lost interest (I no longer work on geophysical/hydrographic survey). Can you point me to some of the side scan files you want to convert?

MBollinger89 commented 9 years ago

I've corresponded with Daniel quite a bit regarding PyHum. I would like to use the processing simplicity of pyhum and apply it to this more widely used file type. I am mostly interested in water column data collected with the side scan (You can see an example here: https://github.com/MBollinger89/PyHumAdaptation). I will see if I can send you some files today.