- Timestamp:
- Jan 26, 2015, 3:23:10 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r856 r857 2262 2262 if numel(SubDir)>1 2263 2263 for ilist=2:numel(SubDir) 2264 SubDirOut=[SubDirOut '-' SubDir{ilist}];2264 SubDirOut=[SubDirOut '-' regexprep(SubDir{ilist},'^/','')]; 2265 2265 end 2266 2266 end -
trunk/src/series/merge_proj.m
r829 r857 248 248 disp_uvmat('ERROR',['ERROR in merge_proj/read_field/' errormsg],checkrun) 249 249 return 250 end 251 ListVar=Data{iview}.ListVarName; 252 for ilist=1:numel(ListVar) 253 Data{iview}.(ListVar{ilist})=double(Data{iview}.(ListVar{ilist}));% transform all fields in double before all operations 250 254 end 251 255 % get the time defined in the current file if not already defined from the xml file … … 444 448 errormsg='sizes of the input matrices do not agree, need to interpolate on a common grid using a projection object'; 445 449 return 446 else 450 else 451 447 452 MergeData.(VarName)=MergeData.(VarName) + Data{iview}.(VarName);%add data 448 453 NbAver=NbAver + ~check_bad;% add 1 for good data, 0 else
Note: See TracChangeset
for help on using the changeset viewer.