Changeset 533 for trunk/src/read_civxdata.m
- Timestamp:
- Aug 31, 2012, 11:44:55 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_civxdata.m
r530 r533 85 85 end 86 86 var_ind=find(vardetect); 87 %for ilist=1:length(FieldNames)88 % testinterp=~isempty(regexp(FieldNames{ilist},'(^curl|^div|strain|norm)', 'once'));%test need for gridded data89 %if testinterp, break;end90 %end87 for ilist=1:length(FieldNames) 88 testinterp=isempty(regexp(FieldNames{ilist},'(^vec|^C)', 'once'));%test need for gridded data 89 if testinterp, break;end 90 end 91 91 for ivar=1:length(var_ind) 92 92 Field.VarAttribute{ivar}.Role=role{var_ind(ivar)}; … … 94 94 if strcmp(role{var_ind(ivar)},'vector_x') 95 95 Field.VarAttribute{ivar}.Operation=FieldNames; 96 if testinterp 97 Field.VarAttribute{ivar}.FieldRequest='interp_lin'; 98 end 96 99 end 97 100 end … … 151 154 Field.Dt=0; 152 155 end 153 154 155 156 156 157 %% rescale fields to pixel coordinates
Note: See TracChangeset
for help on using the changeset viewer.