Changeset 1090 for trunk/src/series
- Timestamp:
- Jan 21, 2021, 3:59:54 PM (4 years ago)
- Location:
- trunk/src/series
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r1089 r1090 331 331 end 332 332 if CheckInputFile 333 OutputPath=fullfile(Param.OutputPath,Param.Experiment,Param.Device); 333 334 if iview_A==0 % no nc file has been entered 334 ncfile=fullfile_uvmat( Param.InputTable{1,1},Param.InputTable{1,2},Param.InputTable{1,3},Param.InputTable{1,5},...335 ncfile=fullfile_uvmat(OutputPath,Param.InputTable{1,2},Param.InputTable{1,3},Param.InputTable{1,5},... 335 336 NomTypeNc,i1_series_Civ1(ifield),i2_series_Civ1(ifield),j1_series_Civ1(ifield),j2_series_Civ1(ifield)); 336 337 else% an existing nc file has been entered … … 341 342 end 342 343 if strcmp(Param.ActionInput.ListCompareMode,'PIV') 343 ncfile=fullfile_uvmat( RootPath_A,Civ1Dir,RootFile_A,'.nc',NomTypeNc,i1_series_Civ1(ifield),i2_series_Civ1(ifield),...344 ncfile=fullfile_uvmat(OutputPath,Civ1Dir,RootFile_A,'.nc',NomTypeNc,i1_series_Civ1(ifield),i2_series_Civ1(ifield),... 344 345 j1_series_Civ1(ifield),j2_series_Civ1(ifield)); 345 346 else 346 ncfile=fullfile_uvmat( RootPath_A,Civ1Dir,RootFile_A,'.nc',NomTypeNc,i2_series_Civ1(ifield),[],...347 ncfile=fullfile_uvmat(OutputPath,Civ1Dir,RootFile_A,'.nc',NomTypeNc,i2_series_Civ1(ifield),[],... 347 348 j1_series_Civ1(ifield),j2_series_Civ1(ifield)); 348 349 end 349 350 end 350 351 ncfile_out=ncfile;% by default 352 351 353 if isfield (Param.ActionInput,'Civ2') 352 354 i1_civ2=i1_series_Civ2(ifield); … … 409 411 end 410 412 end 411 if ~exist(ImageName_A,'file')413 if isempty(regexp(ImageName_A,'(^http://)|(^https://)')) && ~exist(ImageName_A,'file') 412 414 disp([ImageName_A ' missing']) 413 415 continue … … 425 427 FileType_B=FileInfo_B.FileType; 426 428 end 427 if ~exist(ImageName_B,'file')429 if isempty(regexp(ImageName_B,'(^http://)|(^https://)')) && ~exist(ImageName_B,'file') 428 430 disp([ImageName_B ' missing']) 429 431 continue … … 492 494 par_civ1.Mask=mask; %use mask already opened 493 495 else 494 if exist(maskname,'file')496 if ~isempty(regexp(maskname,'(^http://)|(^https://)'))|| exist(maskname,'file') 495 497 try 496 498 par_civ1.Mask=imread(maskname);%update the mask, an store it for future use -
trunk/src/series/merge_proj.m
r1084 r1090 252 252 CheckOverwrite=Param.CheckOverwrite; 253 253 end 254 OutputPath=fullfile(Param.OutputPath,Param.Experiment,Param.Device); 254 255 for index=1:NbField 255 256 update_waitbar(WaitbarHandle,index/NbField) … … 276 277 end 277 278 end 278 OutputFile=fullfile_uvmat( RootPath{1},OutputDir,RootFileOut,FileExtOut,NomTypeOut,i1,i2,j1,j2);279 OutputFile=fullfile_uvmat(OutputPath,OutputDir,RootFileOut,FileExtOut,NomTypeOut,i1,i2,j1,j2); 279 280 if ~CheckOverwrite && exist(OutputFile,'file') 280 281 disp(['existing output file ' OutputFile ' already exists, skip to next field'])
Note: See TracChangeset
for help on using the changeset viewer.