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

Diff of /MITgcm_contrib/gmaze_pv/compute_EKLx.m

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

revision 1.1 by gmaze, Tue Jan 30 22:10:10 2007 UTC revision 1.2 by gmaze, Thu Feb 1 17:02:02 2007 UTC
# Line 1  Line 1 
1  %  %
2  % [] = compute_EKLx(SNAPSHOT)  % [EKL] = compute_EKLx(SNAPSHOT)
3  %  %
4  % Here we compute the Ekman Layer Depth as:  % Here we compute the Ekman Layer Depth as:
5  % EKL = 0.7 sqrt( TAUx/RHO )/f  % EKL = 0.7 sqrt( TAUx/RHO )/f
# Line 23  Line 23 
23  % 12/04/06  % 12/04/06
24  % gmaze@mit.edu  % gmaze@mit.edu
25    
26  function compute_EKLx(snapshot)  function varargout = compute_EKLx(snapshot)
27    
28  global sla toshow  global sla toshow
29  global netcdf_suff netcdf_domain  global netcdf_suff netcdf_domain
# Line 144  close(ncRHO); Line 144  close(ncRHO);
144  close(nc);  close(nc);
145    
146    
147    
148    % Output:
149    output = struct('EKL',EKL,'lat',RHOlat,'lon',RHOlon);
150    switch nargout
151     case 1
152      varargout(1) = {output};
153    end

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

  ViewVC Help
Powered by ViewVC 1.1.22