OceanStreamIO / oceanstream

Oceanstream is a Python library which can be used as a CLI tool to process raw acoustic data from echosounders. It uses echopype as a backend. Developed at @pineviewlabs
https://oceanstream.io
MIT License
4 stars 3 forks source link

Error when opening non-EK60 .raw files in file_integrity_checking function of the raw_reader module in L0 #72

Closed simedroniraluca closed 1 year ago

simedroniraluca commented 1 year ago

When using the file_integrity_checking function to open .raw files that are not of type EK60, the program throws an error. The issue seems to be in the exception handling within the loop that iterates over SUPPORTED_SONAR_MODELS. Only ValueError exceptions are caught, but other exceptions can be raised by ep.open_raw.

Possible Solution: