Hi, I’m building a model in 10.5 that I hope to replicate for various project extents. The model takes various inputs of pervious and impervious land cover types. For each input, the model clips it to the project extent, converts it to a raster, reclassifies the raster, then combines the rasters with cell statistics.
The only problem I’m having is that if a project extent contains 0 features after being clipped, then the model fails when it tries to convert the empty shapefile to a raster. What can I add into the model to prevent empty rasters from breaking the model? Is there a way to tell the model that after it clips, if it has 0 features then stop that process?
I’ve used GIS for a while, but am fairly new to using modelbuilder, and do not have experience scripting anything in python but would pursue that if it’s the answer to my issue. I've searched around this community but was unable to find a solution. Thanks!