Changeset 1030 for trunk/src/series/merge_proj.m
- Timestamp:
- Feb 7, 2018, 7:48:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/merge_proj.m
r1027 r1030 143 143 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 144 144 FileType{iview}=FileInfo{iview}.FileType; 145 if strcmp(FileType{iview},'civdata')&& ~isfield(Param.InputFields,'VelType') 146 FileType{iview}='netcdf'; 147 end 145 148 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images 146 149 if CheckImage{iview} … … 313 316 314 317 %% calculate tps coefficients if needed 315 check_proj_tps= isfield(Param,'ProjObject')&&~isempty(Param.ProjObject)&& strcmp(Param.ProjObject.ProjMode,'interp_tps')&&~isfield(Data{iview},'Coord_tps'); 318 319 check_proj_tps= strcmp(FileType{iview},'civdata') && isfield(Param,'ProjObject')&&~isempty(Param.ProjObject)... 320 && strcmp(Param.ProjObject.ProjMode,'interp_tps')&&~isfield(Data{iview},'Coord_tps'); 316 321 Data{iview}=tps_coeff_field(Data{iview},check_proj_tps); 317 322
Note: See TracChangeset
for help on using the changeset viewer.