Open dnrwaterqualitymodeling opened 9 years ago
I also had this problem in step 5a.
Hello Lindsay,
I fixed the code for step 5a in the same way I did for step 2c. Apologies for the bug and thank you for pointing it out. You can download the latest version of the tool on the dev branch.
Please let us know if you have any further issues.
Cheers,
Aaron Ruesch
The issue is on line 540 where the cell size to the polygon to raster function is denoted by a layer rather than a number. To fix, replace line 540 with:
cs = arcpy.Describe('conditioned_dem').children[0].meanCellHeight arcpy.PolygonToRaster_conversion(nonContribFiltered, colNm \ , nonContribUngrouped, 'CELL_CENTER', '', cs)