Changeset 317 for trunk/src/civ_matlab.m
- Timestamp:
- Dec 5, 2011, 7:48:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ_matlab.m
r316 r317 79 79 80 80 else 81 Data=nc2struct(ncfile,'ListGlobalAttribute','absolut_time_T0'); %look for the constant 'absolut_time_T0' to detect old civx data format 81 Data=nc2struct(ncfile,'ListGlobalAttribute','absolut_time_T0') %look for the constant 'absolut_time_T0' to detect old civx data format 82 if isfield(Data,'Txt') 83 errormsg=Data.Txt; 84 return 85 end 82 86 if ~isempty(Data.absolut_time_T0')%read civx file 83 87 check_civx=1;% test for old civx data format … … 90 94 end 91 95 end 92 if isfield(Data,'Txt') 93 msgbox_uvmat('ERROR',Data.Txt) 94 return 95 end 96 96 97 end 97 98 … … 295 296 296 297 %% write result in a netcdf file if requested 297 if exist('ncfile','var') 298 if exist('ncfile','var') && ~(isfield(Param,'CheckOuputFile')&&Param.CheckOuputFile) 298 299 errormsg=struct2nc(ncfile,Data); 299 300 end … … 413 414 414 415 %% compute image correlations: MAINLOOP on velocity vectors 415 %corrmax=0;416 %sum_square=1;% default416 corrmax=0; 417 sum_square=1;% default 417 418 % vector=[0 0];%default 418 419 for ivec=1:nbvec
Note: See TracChangeset
for help on using the changeset viewer.