/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_IO/rdmds.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/matlab_class/gcmfaces_IO/rdmds.m

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

revision 1.2 by gforget, Thu Sep 11 19:35:35 2014 UTC revision 1.4 by gforget, Fri Sep 12 20:13:59 2014 UTC
# Line 140  for iter=1:size(itrs,2); Line 140  for iter=1:size(itrs,2);
140   end   end
141    
142  % Figure out if there is a path in the filename  % Figure out if there is a path in the filename
143   NS=findstr('/',fname);   [Dir,NAME,EXT] = fileparts(fname);
144   if size(NS)>0   if ~isempty(Dir); Dir=[Dir filesep]; end;
   Dir=fname(1:NS(end));  
  else  
   Dir='./';  
  end  
145    
146  % Match name of all meta-files  % Match name of all meta-files
147    %fprintf(' search for file "%s".*meta\n',fname);    %fprintf(' search for file "%s".*meta\n',fname);

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

  ViewVC Help
Powered by ViewVC 1.1.22