creare-com / pydem

Python library for Global Hydrology Analysis. Used to calculate upstream contributing area, aspect, slope, and topographic wetness index.
Apache License 2.0
114 stars 35 forks source link

Runtime Error #11

Closed kothawadegs closed 7 years ago

kothawadegs commented 7 years ago

I'm able to install package and import functions. I instantiated the instance with the raster file but getting maximum recursion depth error while calculating aspect and slope magnitude. I'm using ASTER-DEM data. Can anyone help me to resolve this one?

jmilloy commented 7 years ago

This is a bug that I fixed in https://github.com/creare-com/pydem/commit/ab039508d1490a97751009acd67891744afff8fd, which has not yet been merged to the master branch. You may have more luck with the develop branch at the moment, or @mls-creare would have more info about when the next release will come out.

ghost commented 7 years ago

forwarding comment to @mpu-creare (i think the intended reference)

mpu-creare commented 7 years ago

We're working on a few more tweaks, so not quite ready for a new release, although I could be convinced to do a hotfix on this one...

Does ab03950 solve your problem?

kothawadegs commented 7 years ago

Yes, ab03950 solved my problem. Thank you..!