netcelli / adcptools

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

Error in readGGA (line 76) #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run on Kubu adcp transect data, the GPS file is small and most of the 
samples are corrupted.

What is the expected output? What do you see instead?

Reading data from file all/Station_5_000_GPS.TXT
RDENS proprietary data found, reading...
GGA data found, reading...
Error using +
Matrix dimensions must agree.

Error in readGGA (line 76)
NMEA_GGA.lat=tmplat{1}+tmplat{2}/60;

Error in readNMEA (line 123)
             [NMEA(cntfile).GGA,discard]=readGGA(rawdat(ggaidx));

Error in readNMEAADCP (line 50)
innmea=readNMEA(nmeafilename);                                             % 
Read the data from the NMEA files

Error in readDeployment (line 56)
    outADCP.nFiles=readNMEAADCP(outADCP,nfiles);

Error in preload (line 5)
A = readDeployment(iname,folder);

76  NMEA_GGA.lat=tmplat{1}+tmplat{2}/60;

What version of the product are you using? On what operating system?

Rev 20

Please provide any additional information below.

That one seams more complicated. The routine should check more careful the 
format of the read data.

Original issue reported on code.google.com by kastner....@gmail.com on 4 Mar 2014 at 12:56