/[MITgcm]/MITgcm_contrib/gmaze_pv/compute_EKL.m
ViewVC logotype

Diff of /MITgcm_contrib/gmaze_pv/compute_EKL.m

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

revision 1.1 by gmaze, Fri Oct 6 19:23:50 2006 UTC revision 1.2 by gmaze, Thu Feb 1 17:02:02 2007 UTC
# Line 1  Line 1 
1  %  %
2  % [] = compute_EKL(SNAPSHOT)  % [EKL] = compute_EKL(SNAPSHOT)
3  %  %
4  % Here we compute the Ekmal Layer Depth as:  % Here we compute the Ekmal Layer Depth as:
5  % EKL = 0.7 sqrt( |TAU|/RHO )/f  % EKL = 0.7 sqrt( |TAU|/RHO )/f
# Line 24  Line 24 
24  % 08/16/06  % 08/16/06
25  % gmaze@mit.edu  % gmaze@mit.edu
26    
27  function compute_EKL(snapshot)  function varargout = compute_EKL(snapshot)
28    
29  global sla toshow  global sla toshow
30  global netcdf_suff netcdf_domain  global netcdf_suff netcdf_domain
# Line 145  nc{ncid}(:,:,:)        = EKL; Line 145  nc{ncid}(:,:,:)        = EKL;
145  nc=close(nc);  nc=close(nc);
146    
147    
148    
149    % Output:
150    output = struct('EKL',EKL,'lat',RHOlat,'lon',RHOlon);
151    switch nargout
152     case 1
153      varargout(1) = {output};
154    end

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

  ViewVC Help
Powered by ViewVC 1.1.22