seagrid2roms

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

seagrid2roms

#1 Unread post by fereshteh »

Hi dear
I am using seagrid2roms.m. For this i have installed snctools and mexnc and ROMS matlabtoolkit(from roms site) that latter included mexcdf5 and netdfc directories. there is 2 errors in running this function:

>> seagrid2roms('test','m','a','spline',1)
## SeaGrid Source File : test
## ROMS Destination File: m
Undefined function or variable 'ncwhatsnew'.
Error in netcdf (line 263)
ncwhatsnew
Error in seagrid2roms (line 152)
nc = netcdf(theRomsFile, 'clobber');


When i type matlab console 'which -all mat2str' it show three paths like this:
/home/fkomijani/ROMS/matlab_toolkit/mexcdf5/mat2str.m
/home/fkomijani/MATLAB/R2012a/toolbox/comm/comm/@gf/mat2str.m % gf method
/home/fkomijani/MATLAB/R2012a/toolbox/matlab/strfun/mat2str.m % Shadowed


with regar to mlicer recommend i rmpath of two first one and then execute seagrid2roms. but it has not soled my problem and another error appear

>> seagrid2roms('test','m','a','spline',1)
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.
Error in horzcat

it take long time to focusing this problem

Someone help me
Thank you!

ac412
Posts: 9
Joined: Mon Sep 30, 2013 4:28 pm
Location: Tongji University

Re: seagrid2roms

#2 Unread post by ac412 »

hi, I'm just starting ROMS. Could you please help me to solve one problem?

I want to use ROMS_Tools to plot the results of upwelling case. The version of matlab is 2013a. However, it always gets problems as "netcdf is not defined". Since the later version of matlab does not use the netcdf plug-in, I don't know what to do.

Thank you very much~~

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

Re: seagrid2roms

#3 Unread post by tony1230 »

A netcdf toolbox is expected in the Matlab when process the *.nc files. You can download the box from website, but i have no idea where it located. Hope that help.

Post Reply