Error when using make_runoff.m

asked 2023-03-02 05:33:26 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >5 is welcome to improve it.

Hi all!
My pre-processing process reported an error, when I make a river file. And I found that the comments in the locate_runoff.m about the direction of the river did not match the information in the matlab command lines.And I want to know if it is the reason of the error.

for example:

"River Han Choose the orientation of the flow 0=zonal or 1=meridional. 1"

while in ...\croco_tools-v1.3\Rivers\locate_runoff.m:

if dir(1)==0 if insea if dir(2)==-1 %est - west => TESTED

edit retag flag offensive close merge delete