I'm working on a model that processes lidar data from a public layer file, one quadrangle at a time, as I don't have a powerful enough machine, or enough storage to do it all at once. I am looking for cliff bands based on slope, through raster calculator I convert the slope layer into a binary representation, showing only areas above a certain steepness threshold, next I contour the binary slope representation, buffer the contours, then am performing zonal statistics on the buffered contours. The issue I'm running into, is that if there are no cliffs I get an error at the zonal statistics, because of an empty feature class.
Is there a way to make my model move to the next iteration when a particular error arises, so that I may process my whole area of interest, despite some of the individual chunks I analyze have no cliffs/will produce an error?
Dissolving... WARNING 000953: Extent of the overlay operation will be empty. WARNING 000117: Warning empty output generated. Succeeded at Fri Jun 22 14:27:16 2018 (Elapsed Time: 0.66 seconds) Executing (Zonal Statistics): ZonalStatistics "C:\Users\NAME\Desktop \CLIFFFINDERPURGEFOLDER\CLIFFFINDERPURGEGDB1.gdb\TIGHTANALYSISBUFFER_2" OBJECTID "C:\Users\NAME\Desktop\CLIFFFINDERPURGEFOLDER \CLIFFFINDERPURGEGDB1.gdb\DEMCLP2" "C:\Users\NAME\Desktop \CLIFFFINDERKEEPFOLDER\CLIFFFINDERKEEPERGDB1.gdb\MAXCLIFFHEIGHT_2" RANGE DATA Start Time: Fri Jun 22 14:27:16 2018 ERROR 999999: Error executing function. The table was not found. [VAT_DEMCLP2] ERROR 010151: No features found in C:\Users\NAME\Desktop \CLIFFFINDERPURGEFOLDER\CLIFFFINDERPURGEGDB1.gdb\TIGHTANALYSISBUFFER_2. Possible empty feature class. Failed to execute (Zonal Statistics).