Changeset 1050 for trunk/src/read_civdata.m
- Timestamp:
- Jun 11, 2018, 9:17:44 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_civdata.m
r1033 r1050 96 96 97 97 %% reading data 98 Data=nc2struct(FileName,'ListGlobalAttribute','CivStage');99 if isfield(Data,'Txt')100 errormsg=[' error in read_civdata: ' Data.Txt];98 [Data,tild,tild,errormsg]=nc2struct(FileName,'ListGlobalAttribute','CivStage'); 99 if ~isempty(errormsg) 100 errormsg=['read_civdata: ' errormsg]; 101 101 return 102 102 end … … 104 104 [varlist,role,VelTypeOut]=varcivx_generator(ProjModeRequest,VelType,Data.CivStage); 105 105 if isempty(varlist) 106 errormsg=[' error inread_civdata: unknow velocity type ' VelType];106 errormsg=['read_civdata: unknow velocity type ' VelType]; 107 107 return 108 108 else
Note: See TracChangeset
for help on using the changeset viewer.