close all
clear all

rel_path = 'Deployments\April2013\134.89.12.189\data\R00000\'
rel_results_path = 'Deployments\April2013\DecodedResults\R00000\'
if (ispc)
  path = ['X:\707976 EPBuoyPrototypeAndTesting\' rel_path];
  results_path = ['X:\707976 EPBuoyPrototypeAndTesting\' rel_results_path];
end
if (isunix)
  path = ['/mbari/ProjectLibrary/707976 EPBuoyPrototypeAndTesting/' strrep(rel_path, '\', '/')];
  results_path = ['/mbari/ProjectLibrary/707976 EPBuoyPrototypeAndTesting/' strrep(rel_results_path, '\', '/')];
end



files = dir([path 'D*']);

for i = 1:length(files)

%    if(~idx(i))
      filename = files(i).name
      SurfaceLogFileDecoderRing(path,filename,results_path)
%    end
end   
