aodn / imos-toolbox

Graphical tool for QC'ing and NetCDF'ing oceanographic datasets
GNU General Public License v3.0
46 stars 31 forks source link

Rewrite Nortek ad2cp binary #659

Open ocehugo opened 4 years ago

ocehugo commented 4 years ago

The ad2cp binary reader is too slow, which is blocking the processing of big adcp data files. For Example, SAIMOS facility cannot feasibly import a big file (~4gb).

The problem appears on the logic of the reader since it's sequentially detecting lengths/sizes even though those are pre-defined. The solution appears a vectorization/bulk read of the fields instead of using a long iterative loop.

Requirements: