after seagrid...could not save *.nc using seagrid2roms

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
belmiro
Posts: 1
Joined: Fri Mar 23, 2007 12:33 pm
Location: Oceanographic Institute - University of Sao Paulo

after seagrid...could not save *.nc using seagrid2roms

#1 Unread post by belmiro »

Well, I think there is some problem about the MatLab 7.3.0 r2006b with netcdf converter...could you help me?
the problem is as follows:

I use seagrid to create a grid *.mat. Then, try to use seagrid2roms('archive_name.mat','archive_name.nc','title') as instructions of seagrid, but at matlab command line I've receive the message:

>??? Undefined function or method 'netcdf' for input arguments of type 'char'.
Error in ==> seagrid2roms at 142
nc = netcdf(theRomsFile, 'clobber');
..
It seems there isn't a netcdf function...but I already have downloaded and added to path the 'mexnc' folder with netcdf routines for matlabr2006b...what's wrong?
....thanks a lot for some help!

User avatar
cvl
Posts: 18
Joined: Tue Jun 03, 2003 7:39 pm

NetCDF Toolbox

#2 Unread post by cvl »

Go to: http://mexcdf.sourceforge.net

Click Download at the top.

Go to the end of the page. Click NetCDF Toolbox.

Download the preferred format archive: netcdf_toolbox-1.0.12.*.

Untar/zip it. Follow the instructions in the README. I believe it needs the mexcdf toolbox installed, so your first attempt should still be of value.

Post Reply