Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Tue Jul 23, 2019 3:43 pm




Post new topic Reply to topic  [ 4 posts ] 

All times are UTC

Author Message
 Post subject: easygrid and mexnc
PostPosted: Thu Apr 14, 2011 4:44 pm 
Offline
User avatar

Joined: Thu May 27, 2010 3:19 pm
Posts: 11
Location: University of Maine
I'm trying to use "easygrid" to make a grid. I guess I'm getting my wires crossed with mexnc. Below is the error in matlab. I've tried various versions and haven't been able to get it to work. Anyone seen this?



??? Error using ==> feval
Undefined function or method 'vanilla_mexnc' for input arguments of type
'char'.

Error in ==> mexnc>mexnc_classic at 610
[varargout{:}] = feval('vanilla_mexnc', varargin{:});

Error in ==> mexnc at 560
[varargout{:}] = backend(varargin{:});

Error in ==> mexcdf53 at 9
[varargout{:}] = feval('mexnc', varargin{:});

Error in ==> ncmex at 140
[varargout{:}] = feval(fcn, varargin{:});

Error in ==> netcdf.create at 13
[theNCid, status] = ncmex('create', name(self), thePermission);

Error in ==> netcdf.netcdf at 428
result = create(result, thePermission);

Error in ==> easygrid_1D at 505
nc = netcdf(grd_name,'clobber');


Top
 Profile  
Reply with quote  
 Post subject: Re: easygrid and mexnc
PostPosted: Fri Apr 15, 2011 1:18 pm 
Offline

Joined: Wed Mar 16, 2011 12:55 am
Posts: 3
Location: FSU-COAPS
I have similar problem when I use rnt toolbox to gridload the grid file. I think there is something that may be caused by the similar issue. Anyone here can help??

Thanks in advance!

Yangxing


Top
 Profile  
Reply with quote  
 Post subject: Re: easygrid and mexnc
PostPosted: Sat Apr 16, 2011 1:26 pm 
Offline
User avatar

Joined: Thu May 27, 2010 3:19 pm
Posts: 11
Location: University of Maine
Hi Yangxing,

I decided to recode easygrid.m using netcdf commands that I know work on my platform, like nc_addvar, nc_varput, and so on. It was annoying, but it works now.

-Nick


Top
 Profile  
Reply with quote  
 Post subject: Re: easygrid and mexnc
PostPosted: Fri Apr 22, 2011 4:58 am 
Offline

Joined: Fri Jul 08, 2005 5:42 pm
Posts: 22
Location: Kyoto University
Dear easygrid users,

I rewrote it for using snctools user Matlab R2010b.
Please use it and find bugs for future use.


Attachments:
easygrid_snctools_sample.m [51.49 KiB]
Downloaded 247 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group