I'm trying to build a simple model that prompts operators for an Input DEM, and a name to use for the model tool outputs, and to then run a simply avalanche proneness model (above snowline, certain aspects, steep slopes). I'm using inline subsituttion to name each tool output with the Input Name....and it works fine for the first set of operations. Then when I try to query the slope and aspect in the raster calculator, the slope raster name is interpreted as a string, rather than as raster data, and the tool/model fails.
Does anyone have any suggestions for how to get the second 'set' of model tools to recognize the outputs from the first tools as legitimate inputs?
I've attached the model and a screenshot of the error message I always get..
(II've also tried just iterating through the folder of DEMs, and with the same results/failure at the same point, where only the Name variable is read into the Raster Calculator, instead of the raster dataset it refers to)