hurricane='frances';
rep='meanless\temp\filtered\2000\gridded_data\25m grid\';
rep2='temp\azimuth time\';
files=dir(['C:\Documents and Settings\sylvie lorsolo\My Documents\research\',hurricane,'\data\modified\',rep,'*.mat']); 
first_file=1:length(files)-3;
min_x=2000;
max_x=4000;
min_y=3000;
max_y=4500;
for ref=1:length(first_file)
    
    fichier_1=first_file(ref);
    sweepfile=files(fichier_1).name;
       load(['C:\Documents and Settings\sylvie lorsolo\My Documents\research\',hurricane,'\data\modified\',rep2,sweepfile]);
    t1=find_az_time(min_x,max_x,min_y,max_y,az,time_ray);
    for fil=fichier_1+2:fichier_1+3
        sweepfile=files(fil).name;
                load(['C:\Documents and Settings\sylvie lorsolo\My Documents\research\',hurricane,'\data\modified\',rep2,sweepfile]);

    dt=(corre(ref).delta_t(fil))/2;
    t1_temp=t1;
    t1_temp(6)=t1_temp(6)+dt;
    DT=datenum(t1_temp);
    
    corre(ref).time(fil,:)=datevec(DT);
end
end
    