/[MITgcm]/MITgcm/utils/matlab/rdmnc.m
ViewVC logotype

Diff of /MITgcm/utils/matlab/rdmnc.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by enderton, Tue Feb 28 23:55:28 2006 UTC revision 1.7 by enderton, Fri May 12 16:52:09 2006 UTC
# Line 155  function [S] = rdmnc_local(nc,varlist,it Line 155  function [S] = rdmnc_local(nc,varlist,it
155          end          end
156                    
157          dims = ncnames(dim(nc{cvar}));        % Dimensions          dims = ncnames(dim(nc{cvar}));        % Dimensions
           
158          adj = 0;          adj = 0;
159          if dims{1} == 'T'          if dims{1} == 'T'
160              if isempty(find(fii)), return, end              if isempty(find(fii)), return, end
161              tmpdata = nc{cvar}(find(fii),:);              
162                tmpdata = nc{cvar}(fii,:);
163              if ismember('Zd000001' ,dims), adj = adj - 1; end              if ismember('Zd000001' ,dims), adj = adj - 1; end
164              if ismember('Zmd000001',dims), adj = adj - 1; end              if ismember('Zmd000001',dims), adj = adj - 1; end
165              it = length(dims) + adj;              it = length(dims) + adj;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22