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
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:
Consider catching a more general exception or specifically handling the exceptions raised by ep.open_raw for unsupported or unreadable files.
When using the
file_integrity_checking
function to open.raw
files that are not of typeEK60
, the program throws anerror
. 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: