Changeset 1024 for trunk/src/find_field_cells.m
- Timestamp:
- Dec 24, 2017, 9:50:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_cells.m
r1023 r1024 79 79 end 80 80 end 81 % if ~check_var && ~(isfield(Data,'ListDimName')&& isfield(Data,'DimValue')&& isequal(numel(Data.ListDimName),numel(Data.DimValue)))82 % errormsg=['missing dimension values'];83 % return84 % end85 86 81 87 82 %% role of variables and list of requested operations … … 122 117 % look for variables sharing dimension(s) with ivar_coord_x(icell) 123 118 check_cell=zeros(numel(DimCell),nbvar); 124 for idim=1:numel(DimCell) 119 for idim=1:numel(DimCell);% for each variable with role coord_x, look at which other variables contain the same dimension 125 120 for ivar=1:nbvar 126 121 check_cell(idim,ivar)=max(strcmp(DimCell{idim},Data.VarDimName{ivar}));
Note: See TracChangeset
for help on using the changeset viewer.