% 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=[
%'C5417',
%'C5418',
%'C5419',
%'C5420',
%'C5421',
'C5422',


]

 convertYSI6600_profile2MAT (filename) 
 
 
 getaverageCTD (filename)

