What steps will reproduce the problem?
Call readDeployment for the second bifurcation dataset:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect
Reading ADCP raw data files...
Found 34 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_01_000.PD0
Found 42 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_02_000.PD0
Found 262 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_03_000.PD0
Found 302 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_04_000.PD0
Warning: No valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_04_001.PD0
> In readADCP at 110
In readDeployment at 43
In preload_vadcp_all at 21
Found 3 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_05_000.PD0
Found 12 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_06_000.PD0
Found 29611 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_07_000.PD0
Found 3929 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_08_000.PD0
Found 2197 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_08_001.PD0
Found 2125 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_08_002.PD0
Found 1640 valid ensembles in file:
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_09_000.PD0
Found 40157 valid ensebles
Warning: The configuration seems to change between files.
Using readadcp2 on files with different configuration is not recommended, but will still work
> In readADCP at 143
In readDeployment at 43
In preload_vadcp_all at 21
Reading data...
WinRiver II GGA data found
Reading WinRiver navigation files...
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_01_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
ZDA data found, reading...
Discarding 6 malformed ZMA string(s)
RMC data found, reading...
HDT data found, reading...
VTG data found, reading...
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_02_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
ZDA data found, reading...
Discarding 9 malformed ZMA string(s)
RMC data found, reading...
HDT data found, reading...
VTG data found, reading...
Discarding 2 malformed VTG string(s)
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_03_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
Discarding 6 malformed GGA string(s)
ZDA data found, reading...
Discarding 1 malformed ZMA string(s)
RMC data found, reading...
HDT data found, reading...
VTG data found, reading...
Discarding 27 malformed VTG string(s)
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_04_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
ZDA data found, reading...
Discarding 26 malformed ZMA string(s)
RMC data found, reading...
Discarding 2 malformed RMC string(s)
HDT data found, reading...
VTG data found, reading...
Discarding 1 malformed VTG string(s)
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_04_001_GPS.TXT
GGA data found, reading...
ZDA data found, reading...
Discarding 1 malformed ZMA string(s)
RMC data found, reading...
Discarding 1 malformed RMC string(s)
HDT data found, reading...
VTG data found, reading...
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_05_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
Discarding 1 malformed GGA string(s)
ZDA data found, reading...
RMC data found, reading...
HDT data found, reading...
VTG data found, reading...
Discarding 1 malformed VTG string(s)
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_06_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
Discarding 1 malformed GGA string(s)
ZDA data found, reading...
Discarding 6 malformed ZMA string(s)
RMC data found, reading...
Discarding 3 malformed RMC string(s)
HDT data found, reading...
VTG data found, reading...
Discarding 5 malformed VTG string(s)
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_07_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
Discarding 166 malformed GGA string(s)
ZDA data found, reading...
Discarding 955 malformed ZMA string(s)
RMC data found, reading...
Discarding 90 malformed RMC string(s)
HDT data found, reading...
Discarding 1 malformed HDT string(s)
VTG data found, reading...
Discarding 874 malformed VTG string(s)
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_08_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
GSA data found, reading...
RMC data found, reading...
VTG data found, reading...
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_08_001_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
GSA data found, reading...
RMC data found, reading...
VTG data found, reading...
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_08_002_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
GSA data found, reading...
RMC data found, reading...
VTG data found, reading...
Reading data from file
/home/pia/Desktop/phd/dat/kapuas/2014-04-15-bifurcation-ii-neap/vadcp-transect/s
tation_09_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
Discarding 9 malformed GGA string(s)
ZDA data found, reading...
Discarding 74 malformed ZMA string(s)
RMC data found, reading...
Discarding 2 malformed RMC string(s)
HDT data found, reading...
VTG data found, reading...
Discarding 39 malformed VTG string(s)
Searching for time and date...
Warning: Time difference between adcp clock and UTCtime is changing too much,
something might be wrong
> In readNMEAADCP at 130
In readDeployment at 59
In preload_vadcp_all at 21
Warning: Time difference between adcp clock and UTCtime is changing too much,
something might be wrong
> In readNMEAADCP at 130
In readDeployment at 59
In preload_vadcp_all at 21
Attempt to reference field of non-structure array.
Error in readNMEAADCP (line 116)
fline=(innmea(cntfile).RDENS.lineid >= lines{cntfile}(lineswtime(1)) & ...
Error in readDeployment (line 59)
outADCP.nFiles=readNMEAADCP(outADCP,nfiles);
Error in preload_vadcp_all (line 21)
vadcp = readDeployment('',folder_C{idx});
116 fline=(innmea(cntfile).RDENS.lineid >=
lines{cntfile}(lineswtime(1)) & ...
What is the expected output? What do you see instead?
readDeployment should return a valid ADCP data structure containing the data.
What version of the product are you using? On what operating system?
revision 20
Please provide any additional information below.
Original issue reported on code.google.com by kastner....@gmail.com on 12 Jun 2014 at 3:11
Original issue reported on code.google.com by
kastner....@gmail.com
on 12 Jun 2014 at 3:11