Changeset 668 for trunk/src/series/check_peaklock.m
- Timestamp:
- Jul 15, 2013, 2:50:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/check_peaklock.m
r592 r668 110 110 for iview=1:nbview 111 111 if ~exist(filecell{iview,1}','file') 112 disp l_uvmat('ERROR',['the first input file ' filecell{iview,1} ' does not exist'],checkrun)112 disp_uvmat('ERROR',['the first input file ' filecell{iview,1} ' does not exist'],checkrun) 113 113 return 114 114 end … … 146 146 [DataOut,tild,errormsg] = read_field(filecell{1,1},FileType{1},InputFields{1},1); 147 147 if ~isempty(errormsg) 148 disp l_uvmat('ERROR',['error reading ' filecell{1,1} ': ' errormsg],checkrun)148 disp_uvmat('ERROR',['error reading ' filecell{1,1} ': ' errormsg],checkrun) 149 149 return 150 150 end … … 211 211 % stop program if the first field reading is in error 212 212 if ~isempty(errormsg) 213 disp l_uvmat('ERROR',['time_series / sub_field / ' errormsg],checkrun)213 disp_uvmat('ERROR',['time_series / sub_field / ' errormsg],checkrun) 214 214 return 215 215 end … … 218 218 nbvar=length(Field.ListVarName); 219 219 if nbvar==0 220 disp l_uvmat('ERROR','no input variable selected',checkrun)220 disp_uvmat('ERROR','no input variable selected',checkrun) 221 221 return 222 222 end … … 227 227 var_role=Field.VarAttribute{ivar}.Role;%'role' of the variable 228 228 if isequal(var_role,'errorflag') 229 disp l_uvmat('ERROR','do not handle error flags in time series',checkrun)229 disp_uvmat('ERROR','do not handle error flags in time series',checkrun) 230 230 return 231 231 end … … 265 265 if isequal(Param.ProjObject.ProjMode,'inside')% take the average in the domain for 'inside' mode 266 266 if isempty(VarVal) 267 disp l_uvmat('ERROR',['empty result at frame index ' num2str(i1_series{iview}(index))],checkrun)267 disp_uvmat('ERROR',['empty result at frame index ' num2str(i1_series{iview}(index))],checkrun) 268 268 return 269 269 end … … 278 278 VarInit=DataOut.(VarName); 279 279 if isempty(errormsg) && ~isequal(VarVal,VarInit) 280 disp l_uvmat('ERROR',['time series requires constant coordinates ' VarName],checkrun)280 disp_uvmat('ERROR',['time series requires constant coordinates ' VarName],checkrun) 281 281 return 282 282 end … … 331 331 % display nbmissing 332 332 if ~isequal(nbmissing,0) 333 disp l_uvmat('WARNING',[num2str(nbmissing) ' files skipped: missing files or bad input, see command window display'],checkrun)333 disp_uvmat('WARNING',[num2str(nbmissing) ' files skipped: missing files or bad input, see command window display'],checkrun) 334 334 end 335 335 … … 340 340 display([OutputFile ' written']) 341 341 else 342 disp l_uvmat('ERROR',['error in Series/struct2nc: ' errormsg],checkrun)342 disp_uvmat('ERROR',['error in Series/struct2nc: ' errormsg],checkrun) 343 343 end 344 344
Note: See TracChangeset
for help on using the changeset viewer.