netcelli / adcptools

Automatically exported from code.google.com/p/adcptools
GNU General Public License v3.0
2 stars 0 forks source link

readADCP.m: missing read in of first RTC data field #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
RDI devices store the real time clock (RTC) information partly redundant in two 
blocks, the first block does not contain the century information, the second 
block does. Currently the first RTC field is not read in by readADCP.m. 
However, some RDI devices such as the StreamPro ADCP do not store the second 
RTC field correctly. However, without timing information the integration of 
bottom tracking velocities to positions and hence computation of discharge is 
impossible. Therefore the first RTC field has to be read in as well. Suggested 
is the introduction of the variable timeV1C (one century) holding the 
information of the first RTC field.

It remains to be investigated why the StreamPro ADCP does not store the second 
RTC field correctly. The RDI documentation 
adcp-workhorse-commands-and-output-data-format-teledyne-rdi-2013 and 
streampro-adcp-operation-manual-rdi-teledyne-2004 do not indicate any 
difference of the between workhorse and StreamPro generated PD0 data files. A 
bug report will be submitted to RDI Teledyne.

A patch is attached.

Original issue reported on code.google.com by kastner....@gmail.com on 11 Jul 2014 at 9:19

Attachments: