<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ModelBuilder: renaming of raster files during iterative model run in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/modelbuilder-renaming-of-raster-files-during/m-p/170307#M9631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using an iterative model to run a set of raster files (as list variables) through several tools, namely: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. define projection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. build attribute table &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. project raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. resample&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. calculate statistics&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the model reaches step 4 (Project Raster), it fails to execute. I identified the problem as being the numeric characters at the beginning of each filename in the intermediate dataset between steps 3 and 4; that is, the filenames that are output from step 3 (Clip) all begin with a number (e.g. 01_Clip.tif, 02_Clip.tip, 03_Clip.tif, etc.). These filenames were automatically generated by Model Builder when I built the model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To remedy the problem, I manually changed each filename in that intermediate dataset, such that they end with a number (e.g. Clip_01.tif, Clip_02.tif, Clip_03.tif, etc.). However, as soon as I ran the model again, those filenames defaulted back to their original format, and the same problem occurred at step 4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure of how to control the filenames if Model Builder automatically generates an unacceptable format at the start of each model run. Any suggestions would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Apr 2013 22:45:21 GMT</pubDate>
    <dc:creator>DanBlythe</dc:creator>
    <dc:date>2013-04-22T22:45:21Z</dc:date>
    <item>
      <title>ModelBuilder: renaming of raster files during iterative model run</title>
      <link>https://community.esri.com/t5/data-management-questions/modelbuilder-renaming-of-raster-files-during/m-p/170307#M9631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using an iterative model to run a set of raster files (as list variables) through several tools, namely: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. define projection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. build attribute table &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. project raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. resample&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. calculate statistics&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the model reaches step 4 (Project Raster), it fails to execute. I identified the problem as being the numeric characters at the beginning of each filename in the intermediate dataset between steps 3 and 4; that is, the filenames that are output from step 3 (Clip) all begin with a number (e.g. 01_Clip.tif, 02_Clip.tip, 03_Clip.tif, etc.). These filenames were automatically generated by Model Builder when I built the model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To remedy the problem, I manually changed each filename in that intermediate dataset, such that they end with a number (e.g. Clip_01.tif, Clip_02.tif, Clip_03.tif, etc.). However, as soon as I ran the model again, those filenames defaulted back to their original format, and the same problem occurred at step 4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure of how to control the filenames if Model Builder automatically generates an unacceptable format at the start of each model run. Any suggestions would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 22:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/modelbuilder-renaming-of-raster-files-during/m-p/170307#M9631</guid>
      <dc:creator>DanBlythe</dc:creator>
      <dc:date>2013-04-22T22:45:21Z</dc:date>
    </item>
    <item>
      <title>ModelBuilder: renaming of raster files during iterative model run</title>
      <link>https://community.esri.com/t5/data-management-questions/modelbuilder-renaming-of-raster-files-during/m-p/170308#M9632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using an iterative model to run a set of raster files (as list variables) through several tools, namely: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. define projection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. build attribute table &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. project raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. resample&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. calculate statistics&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the model reaches step 4 (Project Raster), it fails to execute. I identified the problem as being the numeric characters at the beginning of each filename in the intermediate dataset between steps 3 and 4; that is, the filenames that are output from step 3 (Clip) all begin with a number (e.g. 01_Clip.tif, 02_Clip.tip, 03_Clip.tif, etc.). These filenames were automatically generated by Model Builder when I built the model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To remedy the problem, I manually changed each filename in that intermediate dataset, such that they end with a number (e.g. Clip_01.tif, Clip_02.tif, Clip_03.tif, etc.). However, as soon as I ran the model again, those filenames defaulted back to their original format, and the same problem occurred at step 4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure of how to control the filenames if Model Builder automatically generates an unacceptable format at the start of each model run. Any suggestions would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 22:48:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/modelbuilder-renaming-of-raster-files-during/m-p/170308#M9632</guid>
      <dc:creator>DanBlythe</dc:creator>
      <dc:date>2013-04-22T22:48:25Z</dc:date>
    </item>
  </channel>
</rss>

