pingpath = 'np0101_raw/adcp_pings';
files = dirs(fullfile(pingpath, '*.log'));


all = NaN+ones(6600*500,2);

count = 1;
for filei = 1:length(files)
   logfile = files(filei).name;
   filei
   [logger_time, offsets] = textread(fullfile(pingpath,logfile));
   all(count + [1:length(logger_time)]-1,:) = [logger_time,offsets];
   count = count + length(logger_time);
end


plot(diff(all(:,2)/779),'.')