salt = trisalt(Mobj.lon,Mobj.lat);
0160     
0161     tridepth = TriScatteredInterp(tlon(keep),tlat(keep),pcdepth2(keep),<span class="string">'natural'</span>);
0162     idepth = tridepth(Mobj.lon,Mobj.lat);
0163     
0164     <span class="comment">% Put the results in this intermediate array.</span>
0165     itempz(:, j) = itemp;
0166     isalz(:, j) = isalt;
0167     idepthz(:,j) = idepth;
0168 <span class="keyword">end</span>
0169 
0170 <span class="comment">% Now we've interpolated in space, we can inte