Changeset 188 for trunk/src/series.m


Ignore:
Timestamp:
Feb 2, 2011, 1:22:05 AM (10 years ago)
Author:
sommeria
Message:

various bug repairs and cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r179 r188  
    10151015ref_i=str2num(get(handles.ref_i,'String'));
    10161016ref_j=str2num(get(handles.ref_j,'String'));
    1017 % time=[];
    1018 % ref_time=[];
    1019  ref_time=0;
    1020 % if isfield(SeriesData,'Time')&~isempty(SeriesData.Time{Val})&~isequal(SeriesData.Time{Val},0)
    1021 %     time=SeriesData.Time{Val}; %get the set of times
    1022 %     siztime=size(time);
    1023 %     nbfield=siztime(1);
    1024 %     nbfield2=siztime(2);
    1025 % %     test_imadoc=1;
    1026 % else
    1027 %     test_imadoc=0;%no image documentation file
    1028     nbfield=50;
    1029     nbfield2=50;%default max number of pairs
    1030 % end
     1017ref_time=0;
     1018nbfield=50;
     1019nbfield2=50;%default max number of pairs
     1020
    10311021%look for existing processed pairs involving the field at the middle of the series if civ1 will not
    10321022% be performed, while the result is needed for next steps.
     
    10411031end
    10421032if strcmp(mode,'series(Di)')
    1043     nbfield
    10441033     for index=1:min(nbfield-1,50)
    10451034         filename=name_generator(filebase,ref_i-floor(index/2),ref_j,'.nc',NomType,1,ref_i+ceil(index/2),ref_j,subdir);
     
    10791068                displ_num(3,ind_exist)=0;
    10801069                displ_num(4,ind_exist)=0;
    1081                 %[cte_detect,vdt,cte_read]=read_netcdf(filename,{'dt','dt2','absolut_time_T0','absolute_time_TO_2'});
    10821070                [Cte,var_detect,ichoice]=nc2struct(filename,{});
    10831071                if isfield(Cte,'dt2')
Note: See TracChangeset for help on using the changeset viewer.