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 |
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 |
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 |