AnsweredAssumed Answered

raster iteration - output file naming

Question asked by todd93 on May 3, 2013
Latest reply on May 3, 2013 by todd93
I have set up a simple model in model builder (graphic attached) and I would like to have the final "Output Raster" named based on name of the raster that is currently being processed. For example, I would like the output raster named as "soil_clay1". The next raster in the workspace is named "soil_ph" and I would like this raster to be named "soil_ph1", and so on.

My only option in "Mosaic to New Raster" is to provide a static output name. This name is then be used to create the output for each raster in the workspace and is overwritten on each iteration.

How can I dynamically name the output raster based on the input raster file name?