OSOceanAcoustics / echopype

Enabling interoperability and scalability in ocean sonar data analysis
https://echopype.readthedocs.io/
Apache License 2.0
99 stars 73 forks source link

Support for ER60 Simrad .raw files ? #1095

Closed Tchiimy closed 1 year ago

Tchiimy commented 1 year ago

Hello,

In my project I need to read and use data from an echo-sounder. The data seems readable with Simrad ER60. I would like to be able to read the .raw files, for this I have checked this documentation that presents the data formats.

I don't have that much experience in .raw files reading but I suppose that If I have the data formats I could use some python library to create a function to read it ?

Do you have any tips on how to do it or already have tried it ?

If you want I can give you a random .raw file I made to give you a better idea of the file format. TRIFREC_B859_120KHZ_200W_300MS80M-D20220915-T100451 (2).zip

Alban

emiliom commented 1 year ago

You don't mention if you've tried echopype, but I believe it should be able to open your files. Note that ER60 is the Simrad software that writes raw files from Simrad EK60 sonar instruments.

See the documentation on Converting raw files. For the sonar_model parameter, use "EK60". So, this should work (substitute your file name):

ed = open_raw('FILENAME.raw', sonar_model='EK60')
Tchiimy commented 1 year ago

Sorry for the late answer !

You were right, echopype worked fine with these files ! I had trouble installing the library so I didn't thought it would be compatible with my system, but after your message I regave it a try and it worked thanks !!

leewujung commented 1 year ago

Oh awesome! If you have some inputs on how to improve the installation instructions, let us know as well!