Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 76fc422b authored by Gildas Cambon's avatar Gildas Cambon
Browse files

In Preprocessing_tools, during geostrophic calculation,

add the Ekman transport only of forcing file (containing wind strss) exists
parent 37e88f21
No related branches found
No related tags found
No related merge requests found
......@@ -162,8 +162,8 @@ for l=1:tlen
%
% Ekman transport
%
if ~isempty(frcname)
% disp('Add the Ekman transport')
if exist(frcname)
disp('Add the Ekman transport')
sustr(:,:)=nfrc{'sustr'}(l,:,:);
svstr(:,:)=nfrc{'svstr'}(l,:,:);
% rhoA=1.3; Cd=1.4e-3;
......
......@@ -193,8 +193,8 @@ for l=1:tlen
%
% Ekman transport
%
if ~isempty(frcname)
% disp('Add the Ekman transport')
if exist(frcname)
disp('Add the Ekman transport')
if obcndx==1
tmp=squeeze(nfrc{'sustr'}(l,1,:));
sustr=0*h;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment