opengeos / lidar

A Python package for delineating nested surface depressions from digital elevation data.
https://lidar.gishub.org
MIT License
248 stars 53 forks source link

Issue on the Scripts and Hydro Analyst tool #20

Open wagle1996 opened 2 years ago

wagle1996 commented 2 years ago

Description

Hi Dr. Wu,

I was trying to work on flow path delineation in the place where there is a high number of depressions. I tried to use tools on ArcGIS Pro and scripts which are in the lidar folder of the package using conda environment. Both the script and tool extracted sinks without any error but I am facing some of the issues while using script and tool on other tools:

  1. While using the flow path delineation tool, I am getting no field name "volume" error. I tried to work using the script given in the Lidar folder and saw that it is trying to do some calculation using the volume field on the sink but there is no volume field created from the sink extraction tool. I tried to fix that error and run on the conda environment. I am getting an incomplete result using the script. The flow path generated is not in whole dem but only in the lower part of the DEM. The issue can be seen in the figure given in the link below: https://drive.google.com/file/d/1WZzvtzs8-XhATwjGC7B86iMjNOAMzIrT/view?usp=sharing

  2. For the simulate inundation tool and script I am getting maximum recursion depth exceeded error. I tried to decrease the size of the area in which I am working and it has only 12 regions but also I am getting maximum recursion depth exceeded error. I tried to solve this error by setting the recursion limit but it did not work. Instead, the code crashed my tool.

    File "C:\Users\na\Anaconda3\envs\py37\lib\site-packages\skimage\measure\_regionprops.py", line 323, in __getattr__
    if attr in self._extra_properties:
    RecursionError: maximum recursion depth exceeded
    Data preparation time: 0.09323954582214355
    Total number of regions: 12
    Iteration: 1 ( H = 2 )

    Please help me to solve the error. I think this script and tool is very useful for me in my work.

The DEM which I used in work is : DEM.zip