/[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.25 by mlosch, Thu Jun 23 08:40:09 2011 UTC revision 1.26 by mlosch, Tue Jun 28 09:36:42 2011 UTC
# Line 255  function [S] = rdmnc_local(nc,varlist,it Line 255  function [S] = rdmnc_local(nc,varlist,it
255      % modifications make the output field smaller, let us see, if it is      % modifications make the output field smaller, let us see, if it is
256      % robust      % robust
257      if (firstiter)      if (firstiter)
258        S.i_first.(cvar) = i0;        S.attributes.i_first.(cvar) = i0;
259        S.j_first.(cvar) = j0;        S.attributes.j_first.(cvar) = j0;
260      end      end
261      i0 = i0 - S.i_first.(cvar);      i0 = i0 - S.attributes.i_first.(cvar);
262      j0 = j0 - S.j_first.(cvar);      j0 = j0 - S.attributes.j_first.(cvar);
263      % end code by Bruno Deremble      % end code by Bruno Deremble
264            
265      Sstr = '';      Sstr = '';
# Line 430  function [S] = rdmnc_local_matlabAPI(fna Line 430  function [S] = rdmnc_local_matlabAPI(fna
430      % modifications make the output field smaller, let us see, if it is      % modifications make the output field smaller, let us see, if it is
431      % robust      % robust
432      if (firstiter)      if (firstiter)
433        S.i_first.(cvar) = i0;        S.attributes.i_first.(cvar) = i0;
434        S.j_first.(cvar) = j0;        S.attributes.j_first.(cvar) = j0;
435      end      end
436      i0 = i0 - S.i_first.(cvar);      i0 = i0 - S.attributes.i_first.(cvar);
437      j0 = j0 - S.j_first.(cvar);      j0 = j0 - S.attributes.j_first.(cvar);
438      % end code by Bruno Deremble      % end code by Bruno Deremble
439    
440      Sstr = '';      Sstr = '';

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.22