/[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/profiles_misc/MITprof_subset.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/profilesMatlabProcessing/profiles_misc/MITprof_subset.m

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

revision 1.3 by roquet, Wed Apr 13 20:54:19 2011 UTC revision 1.4 by gforget, Tue Dec 11 19:06:35 2012 UTC
# Line 44  for iSub=1:nSub; Line 44  for iSub=1:nSub;
44          if strcmp('depth',varargin{(iSub-1)*2+1}) & strcmp(fldNames{iFld},'prof_depth');          if strcmp('depth',varargin{(iSub-1)*2+1}) & strcmp(fldNames{iFld},'prof_depth');
45              tmp1=tmp1(KK);              tmp1=tmp1(KK);
46          elseif strcmp('depth',varargin{(iSub-1)*2+1});          elseif strcmp('depth',varargin{(iSub-1)*2+1});
47              if size(tmp1,2)==length(MITprofSub.prof_depth); tmp1=tmp1(:,KK); end;              if size(tmp1,2)==length(MITprof.prof_depth); tmp1=tmp1(:,KK); end;
48          else;          else;
49              if size(tmp1,1)==size(prof_sub,1); tmp1=tmp1(KK,:); end;              if size(tmp1,1)==size(prof_sub,1); tmp1=tmp1(KK,:); end;
50          end;          end;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22