Reading Current Data .aqd in MATLAB
Hi,
I have .hdr, .dat, and .aqd files that have information from the aquadopp current sensor.
I am using MATLAB to read the dataset, however I am having little luck parsing through the file. I was able to read the .hdr file using textscan. But, I am unable to use that to read the .dat and .aqd files.
How can I extract the data from these files?
Thank you for the support.
-
Official comment
Hi Kritika, thank you for posting in the Nortek forum!
The .aqd file is the raw binary data that is collected by the Aquadopp, so this cannot be read into Matlab. The .dat file is simply numeric ASCII data, so you should be able to read this into Matlab as a matrix using the Import Data function. The .hdr file describes the contents of the .dat file, so you will know which columns correspond to which data type, and pull them out of the matrix as required.
Please let me know if you have any more problems with getting the data into Matlab.
Comment actions -
I'm glad to hear it! :)
There are two options for sound speed value, you can either calculate the sound speed using the temperature measured at the head of the instrument, or you can use a fixed sound speed value which is used for the entire deployment. If the sound speed isn't changing when the temperature does, it's possible that the deployment was set up with a fixed sound speed.
You can check this in the .hdr file; in the first section you will find a line with "Sound Speed" that will state "FIXED" or "MEASURED".
Please sign in to leave a comment.
Comments
5 comments