mdbartos / pysheds

:earth_americas: Simple and fast watershed delineation in python.
GNU General Public License v3.0
707 stars 191 forks source link

Error in messy_dem recipy: "Kernel Restarting/The kernel appears to have died. It will restart automatically." #62

Open hikmet34 opened 5 years ago

hikmet34 commented 5 years ago

Hi @mdbartos

in the messy_dem recipy:

grid.catchment(x, y, data='dir', out_name='catch',
               dirmap=dirmap, xytype='index')

After that kernel restart.

mdbartos commented 5 years ago

Hmmm, it's hard to say without a traceback, or without looking at the data source you are using. One issue is that there could be cycles (loops) in the flow direction grid. You may have also gone past the recursion limit for your system (although I think that would throw an error rather than crashing the kernel). I would probably need to see the dataset to diagnose the problem though.

hikmet34 commented 5 years ago

I tried increase to the recursion limit, but have same result. On the other hand same problem exist on the performance example. I can share dataset. What is your mail? Dataset is too much big for this.

DominiqueBrunet commented 5 years ago

Might be related to #81.