3 |
% [psi,mskG,ylat] = calcEulerPsiCube(d,g,flu,rstar,blkFile,[optional]); |
% [psi,mskG,ylat] = calcEulerPsiCube(d,g,flu,rstar,blkFile,[optional]); |
4 |
% |
% |
5 |
% Input arguements: |
% Input arguements: |
6 |
% d [Field data] Velocity field (Mass-weighted if rstar=1) |
% d [Field data] Velocity field (Mass-weighted if rstar=1): |
7 |
|
% UVELMASS,VVELMASS for rstar=1 |
8 |
|
% UVEL,VVEL for rstar=0 |
9 |
% g [Grid data ] drF,dxG,dyG,HFacW,HFacS |
% g [Grid data ] drF,dxG,dyG,HFacW,HFacS |
10 |
% flu (str) 'O' or 'A' for ocean or atmosphere |
% flu (str) 'O' or 'A' for ocean or atmosphere |
11 |
% rstar (int) 0 or 1 if you are using r* coordinates or not |
% rstar (int) 0 or 1 if you are using r* coordinates or not |