alexschimel / CoFFee

Matlab toolbox for multibeam sonar data processing
MIT License
26 stars 6 forks source link

.ALL file format water column data cannot be read by using the read alldata function #1

Open 17GES0979 opened 8 months ago

17GES0979 commented 8 months ago

I used this toolbox to process the multi beam water column data. its a very good toolbox to read , covert and doing some filtering options to water column data. but some sonar datafiles cannot be read by using the read function. i want to know what is the reason for that.

[ALLdata,datagrams_parsed_idx] = CFF_read_all('D:\hydro-pending\hypack-classroom data\2 Fish Traps\0005_20040617_145627_Pingeline.all')

Error using fread Invalid size.

Error in CFF_read_all_from_fileinfo (line 1089) tmp_end = fread(fid,nbDatag-(pos_end-pos_1+1)-15,'int8=>int8');

Error in CFF_read_all (line 233) ALLdata = CFF_read_all_from_fileinfo(ALLfilename{1}, info);

the above error message is come to me. i want to know what is the reason and how to overcome to this issue?

alexschimel commented 6 months ago

Hi,

Thanks for reaching out and sorry for the delay in responding - I am only now discovering GitHub's "Issues" feature!

My best guess is that your file is corrupted and CoFFee does not detect it (it should). If you can send me the file (with a service such as WeTransfer), I can examine this issue more in depth.

Cheers, Alex