- Timestamp:
- May 9, 2012, 11:03:37 PM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_civxdata.m
r415 r420 49 49 function [Field,VelTypeOut,errormsg]=read_civxdata(filename,FieldNames,VelType) 50 50 errormsg=''; 51 Field=[]; 52 VelTypeOut=[]; 51 53 DataTest=nc2struct(filename,'ListGlobalAttribute','Conventions','CivStage'); 52 54 if isfield(DataTest,'Txt') -
trunk/src/series/aver_stat.m
r394 r420 347 347 Data{iview}.CoordUnit='pixel'; 348 348 elseif testcivx 349 [Data{iview},VelTypeOut]=read_civxdata(filename,FieldName,VelType); 349 [Data{iview},VelTypeOut,errormsg]=read_civxdata(filename,FieldName,VelType); 350 if ~isempty(errormsg) 351 msgbox_uvmat('ERROR',['error of input reading: ' errormsg]) 352 return 353 end 350 354 else 351 355 [Data{iview},var_detect]=nc2struct(filename,SubField.ListVarName); %read the corresponding input data
Note: See TracChangeset
for help on using the changeset viewer.