Ignore:
Timestamp:
Dec 24, 2017, 9:50:18 AM (7 years ago)
Author:
sommeria
Message:

pb for reading images repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/find_field_cells.m

    r1023 r1024  
    7979    end
    8080end
    81 % if ~check_var &&  ~(isfield(Data,'ListDimName')&& isfield(Data,'DimValue')&& isequal(numel(Data.ListDimName),numel(Data.DimValue)))
    82 %     errormsg=['missing dimension values'];
    83 %     return
    84 % end
    85 
    8681
    8782%% role of variables and list of requested operations
     
    122117    % look for variables sharing dimension(s) with ivar_coord_x(icell)
    123118    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
    125120        for ivar=1:nbvar
    126121            check_cell(idim,ivar)=max(strcmp(DimCell{idim},Data.VarDimName{ivar}));
Note: See TracChangeset for help on using the changeset viewer.