Depression identification error

7 views
Skip to first unread message

Judith DeLury

unread,
Jul 18, 2026, 1:10:09 PMJul 18
to ACPF Forum
I get the following error when running the 4a Depression Identification tool...ant suggestions? I have tried starting over, using my DEM as a .img, and more.

Judy DeLury



Start Time: Saturday, July 18, 2026 1:00:32 PM
filling DEMfinding sinksdepressions exist8301676 depressions identified initiallyDeleting sinks less than 0.25 acres in sizeTraceback (most recent call last):  File "F:\ACPF\ACPF_V7_Pro_032026\Scripts\DepressionsV7.py", line 352, in <module> DepressionIdentification(DEM, gSSURGO, ZFactor, FBIn, StreamReach, MinHydric, MinPWS, LimitByDepth, MinimumSize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "F:\ACPF\ACPF_V7_Pro_032026\Scripts\DepressionsV7.py", line 113, in DepressionIdentification arcpy.MakeFeatureLayer_management(Depressions, "small_sinks", "\"Shape_Area\" < %s" % MinSize) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 2782, in wrapped result = fn(*args, **kwargs)  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16033, in MakeFeatureLayer raise e  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16027, in MakeFeatureLayer gp.MakeFeatureLayer_management( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ *gp_fixargs((in_features, out_layer, where_clause, workspace, field_info), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 541, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^ arcgisscripting.ExecuteError: ERROR 000358: Invalid expression Failed to execute (MakeFeatureLayer). Failed script a. Depression Identification...Failed to execute (DepressionIdentification1).Failed at Saturday, July 18, 2026 1:05:17 PM (Elapsed Time: 4 minutes 45 seconds)

David James

unread,
Jul 18, 2026, 1:23:43 PMJul 18
to Judith DeLury, ACPF Forum
Judy
We can never recommend using data that are outside the ACPF fgdb. We also strongly encourage using the ACPF naming conventions. Please provide a listing of the tool inputs.

It's difficult to interpret the error message without some understanding of the structure in your file geo-database. Could you take a screenshot of the catalog listing of this watersheds fgdb? 


--
You received this message because you are subscribed to the Google Groups "ACPF Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acpf-group+...@umn.edu.
To view this discussion visit https://groups.google.com/a/umn.edu/d/msgid/acpf-group/743c6e1b-68ff-407f-bf93-4a1e9219f06en%40umn.edu.
Reply all
Reply to author
Forward
0 new messages