- Timestamp:
- Oct 23, 2010, 3:13:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r106 r118 1017 1017 % ref_time=[]; 1018 1018 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 times1021 siztime=size(time);1022 nbfield=siztime(1);1023 nbfield2=siztime(2);1024 % test_imadoc=1;1025 else1019 % 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 1026 1026 % test_imadoc=0;%no image documentation file 1027 1027 nbfield=50; 1028 1028 nbfield2=50;%default max number of pairs 1029 end1029 % end 1030 1030 %look for existing processed pairs involving the field at the middle of the series if civ1 will not 1031 1031 % be performed, while the result is needed for next steps. … … 1039 1039 dtunit='e-03'; 1040 1040 end 1041 if isequal(mode,'series(Di)') 1041 if strcmp(mode,'series(Di)') 1042 nbfield 1042 1043 for index=1:min(nbfield-1,50) 1043 1044 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.