%get all the cdf group names for each moored location
%
clear
do_names3

%the whole thing
start=[1989 12 5 19 0 0];
stop=[1991 9 14 23 1 0];
%
%  each one of the cdf_groups is a text matrix containing the 
%  names of the cdf files that make up this group
%
cdf_groups=[
'broad_18  '
'lnb_5     '
'lnb_23    '
'lnb_33    '
'race_55   '
'stell_75  '
'stell_84  '
'mano_29   '
'scit_23   '
];
var=[
'transmission'
'attenuation '
'attenuation '
'attenuation '
'attenuation '
'attenuation '
'attenuation '
'attenuation '
'transmission'
];
[m,n]=size(cdf_groups);
%
% merge the files of each group together
%
for i=1:m
  cdf_groups(i,:);
  group=eval(cdf_groups(i,:)) 
  [trans(:,i),jd]=merge_trans(group,start,stop,var(i,:));
  cdf_names(i,:)=group(1,:);
end
