problem with ROMS_AGRF's make_runoff

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
limaolin
Posts: 45
Joined: Wed Nov 07, 2012 5:48 pm
Location: Dalian University

problem with ROMS_AGRF's make_runoff

#1 Unread post by limaolin »

after input "make_runoff" in matlab, there are errors as follows:

??? Attempt to execute SCRIPT grid as a function:
/home/limaolin/model/Roms_Agrif/SOFT/loaddap-3.7.2/testsuite/matlab/grid.m

Error in ==> runoff_glob_extract at 58
box on, grid on

Error in ==> make_runoff at 60
[latriv,lonriv,my_flow,myrivername,rivernumber]=runoff_glob_extract(grdname,global_clim_rivername);

when i comment the 'box on, grid on' in 'runoff_glob_extract', there is no error, but why?

after comment the 'box on, grid on' in 'runoff_glob_extract', input "make_runoff" in matlab, there are errors as follows:

??? Attempted to access masku(35,43); index out of bounds because size(masku)=[44,42].

Error in ==> locate_runoff at 32
while masku(j,i)~=1

Error in ==> make_runoff at 219
[jj2,ii2]=locate_runoff(dir2,jj,ii,mask,masku,maskv);

can somebody help me, thanks a lot

Post Reply