ggebbie / OPT2k.mat

Ocean Potential Temperature for the last 2k years - MATLAB legacy
MIT License
1 stars 0 forks source link

[E_bains.m] Line 51: is the last input of mixed correction? #6

Closed duochanatharvard closed 3 years ago

duochanatharvard commented 3 years ago

c_ind = mixit(d_ind,it,jt,kt,ones(Nfield,1)); Seems the last input should be "inmixlyr" for the function to return an indicator of wether in the mix-layer.

duochanatharvard commented 3 years ago

Nevermind, this function seems to find the weight for depth instead of only in the mixing layer.

ggebbie commented 3 years ago

Right, the original code attempts to get the volume of the Indian Ocean. It knows the surface definition of the Indian, and then needs to identify all subsurface gridcells below that surface.