
   instclass = os;
   pingtype = 'first';
   yearbase = 2005;
   cruiseid = 'oc415';

   files = {'/home/howitt/adcp_nb/work/pingdata/OC415-2001_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2002_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2004_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2005_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2006_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2007_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2008_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2009_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2010_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2012_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-2013_000000.LTA',...
'/home/howitt/adcp_nb/work/pingdata/OC415-3005_000000.LTA'};

   for ifile = 1:length(files)
      file = files{ifile}
      load_avg(instclass, file,yearbase);
end
