out the NaN</span>
0177                 <span class="comment">% values.</span>
0178                 hytempzcurrent = hytempz(:, :, zi);
0179 
0180                 <span class="comment">% Strip out NaNs so we can extrapolate with TriScatteredInterp.</span>
0181                 nanmask = ~isnan(hytempzcurrent);
0182                 plonclean = plon(nanmask);
0183                 platclean = plat(nanmask);
0184                 hytempzclean = hytempzcurrent(nanmask);
0185                 <span class="comment">%