%grid sector scans not volume scans
hurricane='isabel';
rep='meanless\temp\filtered\2000\';
files=dir(['C:\Documents and Settings\sylvie lorsolo\My Documents\research\',hurricane,'\data\modified\',rep,'*1.5*.dat']); 
for fil=42:44%:length(files)
    sweepfile=files(fil).name;
    data=load(['C:\Documents and Settings\sylvie lorsolo\My Documents\research\',hurricane,'\data\modified\',rep,sweepfile]);
    az=data(length(data),:);
    data=data(1:140,:);
    rg=33.35:66.7:(140-1)*66.7+33.35;
    pas=25;
    [x,y,image1]=cart_grid(az,rg,data,pas);
    save(['C:\Documents and Settings\sylvie lorsolo\My Documents\research\',hurricane,'\data\modified\',rep,'gridded_data\',sweepfile(1:40),'mat'],'x','y','image1');
    clear('x','y','image1')
end
