Select to view content in your preferred language

Arc Hydro Pro Identify Flat Areas Error

472
1
06-18-2024 09:49 AM
Labels (2)
MollyMuscato
New Contributor

Hi, 

I'm in the process of creating flood depth rasters for a DEM with the goal of using the rasters to run the Flood Impact Analysis Solution on ArcGIS. Every time I attempt to run the "identify flat areas" tool, using the DEM data, I receive the following error message: ArcGIS Error.png

I was wondering if anyone had any insight to what might be causing the tool to fail. I was concerned that it might be due to the size of the dataset as I'm looking at elevation data for an entire county. 

 

Thank you so much!

0 Kudos
1 Reply
JeffreyMitzelfelt
New Contributor

I had the same issue when I was trying to use the tool. I found that line 383 of identifyflatareas.py called arcpy.management.GetRasterProperties with the ALLNODATA option. This function was returning an error when using the ALLNODATA option.

I remarked the line and added a line that set the value of bvalidroi to 0.

The Identify Flat Areas tool ran properly. I believe this is just checking to see that there are flat areas present in the out_ifraster before proceeding with the rest of the tool. I knew I had flat areas present so this was not a problem for me.

0 Kudos