RNT error:MAIN_grid.m,rnt_griddata

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
DongYe
Posts: 7
Joined: Mon Oct 13, 2008 6:21 pm
Location: Institue of Atmospheric Physics,CAS

RNT error:MAIN_grid.m,rnt_griddata

#1 Unread post by DongYe »

hi,everyone who use RNT.now I want to make grid file,the matlab file is MAIN_grid.m, when I enter the command' tic; h=rnt_griddata(vlon,vlat,image_data,grd.lonr,grd.latr,'cubic');toc;',the error is "??? Undefined command/function 'rnt_hindicesTRI_mex'.

Error in ==> rnt_hindicesTRI at 41
[Ipos,Jpos,triX,triY,Ival,Jval]=rnt_hindicesTRI_mex(Xpos,Ypos,Xgrd,Ygrd);

Error in ==> rnt_griddata at 35
[Ipos,Jpos]=rnt_hindicesTRI(lon(:),lat(:),Xgrd,Ygrd);"

I had added the RNT path to the matlab , and I find there is no rnt_hindicesTRI_mex.m here ,only 'rnt_hindicesTRI_mex.f'.can any one help me ?

lliu
Posts: 5
Joined: Wed Jul 03, 2013 2:12 pm
Location: Stony Brook University

Re: RNT error:MAIN_grid.m,rnt_griddata

#2 Unread post by lliu »

Hi, Dongye, have you resolved the problem? I actually met the same problem... Or anybody else could help me?? Thanks..

coldstreet
Posts: 2
Joined: Fri Apr 12, 2013 12:40 pm
Location: Sun Yet-sen university

Re: RNT error:MAIN_grid.m,rnt_griddata

#3 Unread post by coldstreet »

lliu wrote:Hi, Dongye, have you resolved the problem? I actually met the same problem... Or anybody else could help me?? Thanks..
you need to rebuild the f program yourself
which rnt_hindicesTRI_mex
you will get the direct then
mex ..copy direct here.../rnt_hindicesTRI_mex.f
that will be ok

Post Reply