Changeset 118 for trunk/src


Ignore:
Timestamp:
Oct 23, 2010, 3:13:45 PM (14 years ago)
Author:
gostiaux
Message:

Champs reconnu par ses paires sans temps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r106 r118  
    10171017% ref_time=[];
    10181018 ref_time=0;
    1019 if isfield(SeriesData,'Time')&~isempty(SeriesData.Time{Val})&~isequal(SeriesData.Time{Val},0)
    1020     time=SeriesData.Time{Val}; %get the set of times
    1021     siztime=size(time);
    1022     nbfield=siztime(1);
    1023     nbfield2=siztime(2);
    1024 %     test_imadoc=1;
    1025 else
     1019% if isfield(SeriesData,'Time')&~isempty(SeriesData.Time{Val})&~isequal(SeriesData.Time{Val},0)
     1020%     time=SeriesData.Time{Val}; %get the set of times
     1021%     siztime=size(time);
     1022%     nbfield=siztime(1);
     1023%     nbfield2=siztime(2);
     1024% %     test_imadoc=1;
     1025% else
    10261026%     test_imadoc=0;%no image documentation file
    10271027    nbfield=50;
    10281028    nbfield2=50;%default max number of pairs
    1029 end
     1029% end
    10301030%look for existing processed pairs involving the field at the middle of the series if civ1 will not
    10311031% be performed, while the result is needed for next steps.
     
    10391039    dtunit='e-03';
    10401040end
    1041 if isequal(mode,'series(Di)')
     1041if strcmp(mode,'series(Di)')
     1042    nbfield
    10421043     for index=1:min(nbfield-1,50)
    10431044         filename=name_generator(filebase,ref_i-floor(index/2),ref_j,'.nc',NomType,1,ref_i+ceil(index/2),ref_j,subdir);
Note: See TracChangeset for help on using the changeset viewer.