do_names2
[m,n]=size(cdf_groups);
for i=1:m
  group=eval(cdf_groups(i,:)) 
  cdf=group(1,:)
  lon(i)=mcagt(cdf,'NC_GLOBAL','longitude');
  lat(i)=mcagt(cdf,'NC_GLOBAL','latitude');
  inst_depth(i)=mcagt(cdf,'east','''sensor_depth(m)''');
  water_depth(i)=mcagt(cdf,'NC_GLOBAL','''water_depth(m)''');
end

