I am trying to transform several ASCII files into RASTER files using the ASCII to Raster tool. For that purpose, I have created the following model builder (see Captura). The names of the ASCII files are higher than 13 digits, then I try to shorten the name of the file to save the raster. Looking at some posts, I have tried to use the Calculate Value with the expression shown in Captura2 where I want to keep only from the 24 to the 27 digits of the ASCII name. I am not able to make it work and my questions are:
How is possible to define the calculate value as precondition for the ASCII to Raster tool? and
how can I use the output of calculate value as an inline variable to give the name to my rasters?
Solved! Go to Solution.
save the raster to a *.tif to avoid esri grid limitations
save the raster to a *.tif to avoid esri grid limitations
Thank you, it works! I have not thought about that option, thanks!