Hello. I'm new to Arc and have a question regarding if/then/else statements within model builder.
If this post would be more appropriate in another forum, please let me know and I'll move it there.
I'm currently using model builder to iterate calculations on multiple DEMs that produce elevation shapefiles based on those respective DEMs. However, the model bombs on the first iteration because it encounters a negative value. The calculation in question is:
"%Raster%" - 12
What I'd like to do is add an if/then/else statement to determine if the value is less than 0 and, if so, skip to the next step in the model.
If there is no way to make the model skip a step, then perhaps the if/then/else statement could
be used to add and arbitrary value (ex: 200) to the raster. This would produce a shapefile that is noticeably too large and could be culled at the end of the process.
Any ideas if either of these two options is viable, and if so, what the if/then/else statement should look like?
Thanks in advance.