I have 101 raster images stacked inside a folder. The Rasters are of arcinfo grid type (*.asc) while having a long string name 'NW2D_T100_05_base_depthXXX.asc' where XXX ranges from 000 to 100. What I would like to do is to add each of them with a single DTM. I tried to use ArcGIS 10.1 model builder by inserting raster iterators and raster calculator tool and the model looks as follows:
When I ran the model, the following error message was displayed:
It looks like that I have a very long string name for each raster data. How can I rename the raster with the 8 digits of the name (i.e., depthXXX.asc) for each file ? And how can I save 101 new rasters in anew directory.