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

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

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

revision 1.3 by baylor, Wed Oct 19 18:30:02 2005 UTC revision 1.4 by baylor, Wed Oct 19 18:47:16 2005 UTC
# Line 1  Line 1 
1  %function interpicks(dirin,dirout,varargin)  function interpickups(dirin,dirout,varargin)
2  % function interpicks(dirin,dirout,snap)  % function interpickups(dirin,dirout,snap)
3  %  %
4  % This function interpolates the data in  % This function interpolates the data in
5  % a set of mnc pickup files and grid files from the MITgcm  % a set of mnc pickup files and grid files from the MITgcm
# Line 15  Line 15 
15  %  %
16  % Snap is an optional argument if there is more than one timestep  % Snap is an optional argument if there is more than one timestep
17  % in the file.  The default is 1.  % in the file.  The default is 1.
18    %
19    % May be fishy near boundaries if grid is not uniform...
20    
21  %if nargin==2  if nargin==2
22    snap=1    snap=1
23  %else  else
24  %  snap=varargin{1}    snap=varargin{1}
25  %endif  endif
26    
27  if (strcmp(dirin,dirout))  if (strcmp(dirin,dirout))
28    error('dir','You cant use the same input and output directories!')    error('dir','You cant use the same input and output directories!')

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

  ViewVC Help
Powered by ViewVC 1.1.22