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?