% this m file calls the function "convertYSI6600_profile2MAT" which will take the micro CTD files in 
%the filename below and removes the headers and makes a structure array of
%the data and the function "getaverageCTD" which will get the average data
%from TSS depths, the start and stop times and the number of records
%averaged

%replace the files in "filename" to reflect the ones you want to group together

%NOTE:  Be sure to choose profile first and depth indexes from top to
%bottom

clear all

filename=[

%'C5589',
%'C5590',
%'C5591',
%'C5592',
%'C5593',
%'C5594',
%'C5595',
%'C5596',
%'C5597',
%'C5598',
%'C5599',
'C5600',
]


convertYSI6600_profile2MAT (filename) 
 
 
getaverageCTD(filename)
 
