Changeset 988 for trunk/src


Ignore:
Timestamp:
Jan 22, 2017, 11:21:54 PM (7 years ago)
Author:
g7moreau
Message:
  • Rewrite some case item
Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/@xmltree/add.m

    r925 r988  
    6969                                    'parent',[],...
    7070                                    'uid',l+1);
    71         case  'cdata'
     71        case 'cdata'
    7272            tree.tree{l+1} = struct('type','cdata',...
    7373                                    'value',parameter,...
  • trunk/src/calc_field_interp.m

    r977 r988  
    8383            end
    8484            InputVarList=[InputVarList UName{ilist}]; %the variable is added to the list if it is not already in the list
    85         else % case  'norm' for instance
     85        else % case 'norm' for instance
    8686            UName{ilist}=r.UName;
    8787            VName{ilist}=r.VName;
  • trunk/src/mask_proj.m

    r977 r988  
    5353        end
    5454        switch CellInfo{icell}.CoordType;
    55             case  'scattered'   
     55            case 'scattered'   
    5656                XName=FieldData.ListVarName{CellInfo{icell}.Coord_x};
    5757                YName=FieldData.ListVarName{CellInfo{icell}.Coord_y};
     
    7474                end
    7575                ProjData.(FFName)(checkfalse)=1;% update the existing error flag             
    76             case  'grid'
     76            case 'grid'
    7777                XName=FieldData.ListVarName{CellInfo{icell}.CoordIndex(2)};
    7878                YName=FieldData.ListVarName{CellInfo{icell}.CoordIndex(1)};
  • trunk/src/struct2nc.m

    r977 r988  
    120120            case {'int8','uint8','int16','uint16','int32','uint32','int64','uint64'}
    121121                VarType='nc_int';
    122             case  'logical'
     122            case 'logical'
    123123                VarType='nc_byte';
    124124        end
Note: See TracChangeset for help on using the changeset viewer.