[MITgcm-support] tsearch

Menemenlis, Dimitris (3248) Dimitris.Menemenlis at jpl.nasa.gov
Mon Jul 8 18:07:46 EDT 2013


Angela you are right, tsearch has been replaced by DelaunayTri function in recent matlab.
You could try replacing tsearch with DelaunayTri function in griddata_preprocess.m
But this routine is not needed for reading MITgcm files.
It is used for computing interpolation weights.

Dimitris Menemenlis

On Jul 8, 2013, at 5:50 PM, Angela Zalucha wrote:

> Hi,
> 
> I am running Matlab 2013a and I am unable to read in any files due to a Matlab function that is no longer supported, tsearch.  This function is called in the mitgcm-provided script griddata_preprocess.m.  I checked the repository and there is no update there.  Has anyone fixed this problem?
> 
>  Angela




More information about the MITgcm-support mailing list