Problem with seagrid2roms.m

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Problem with seagrid2roms.m

#1 Unread post by angelolemos »

Hi everybody,

When I execute the file seagrid2roms.m, an error appeared in the line 200.
disp(' ## Defining Dimensions...')

nc('xi_psi') = L;


The error is:

>> nc('xi_rho') = LP;
??? Error using ==> finite
FINITE is obsolete. USE ISFINITE instead.

Error in ==> ncdim.ncdim at 70
if ~finite(theDimsize), theDimsize = 0; end

Error in ==> netcdf.subsasgn at 91
result = ncdim(theDimname, other, self);


Someone know how to solve that?!

Thanks a lot!

tony1230
Posts: 87
Joined: Wed Mar 31, 2010 3:29 pm
Location: SKLEC,ECNU,Shanghai,China

Re: Problem with seagrid2roms.m

#2 Unread post by tony1230 »

just to use "isfinite" instead of "finite", i think. have a try...

kchu.tw
Posts: 3
Joined: Tue Dec 14, 2010 4:37 pm
Location: Tainan Hydraulics Laboratory

Re: Problem with seagrid2roms.m

#3 Unread post by kchu.tw »

Yes ! That is the same way that I did !

Post Reply