% Provides for Batch processing of all data taken by a particular AUV.
%
% Need to set:
%    start and end Julian day (day number of year)
%    start and end mission
%    vehicle identifier (file prefix, e.g. 'X' for xanthos)
%
% The actual process itself is contained in the file 'mabay_process'.
%
% J. G. Bellingham

start1 = 1;
for day = 268:-1:261,
   for mission = start1:40,  
      if mission < 10,
         name = sprintf('X98%3d0%1d', day, mission);
      else
         name = sprintf('X98%3d%2d', day, mission);
      end;
      
      % close all;
      % mabay_parse(name);
      mabay_process(name, 3);
      start1 = 1;
   end;
end;

	