<?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 Re: Model Builder Error Collect Values to Mosaic to New Raster in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353320#M12245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without your tbx file it's a bit difficult to give you advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model validation can be very tricky for sure. I would the the copy raster would do the trick by creating a verifiably one-band dataset. Perhaps running that output through the Select Data tool will enforce the output's one-banded raster reality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 20:32:58 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2015-04-09T20:32:58Z</dc:date>
    <item>
      <title>Model Builder Error Collect Values to Mosaic to New Raster</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353319#M12244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a model to iterate through a series of rasters, perform a couple operations to each raster, collect the values, and then mosaic them together into a new raster. My submodel includes Iterate Rasters&amp;gt;Make Raster Layer&amp;gt;Copy Raster&amp;gt;Collect Values, and then my main model has the Mosaic to New Raster. When I try to connect the output from my submodel to Mosaic to New Raster, I get the error that the number of bands from the input raster must match the number in the output, and I cannot run the model. My original data has 4 bands, but during the submodel I reduce the number to 1, and then my output also has 1. Has anyone else run into this problem in model builder? Any ideas how to get around it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 13:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353319#M12244</guid>
      <dc:creator>HeatherWelch2</dc:creator>
      <dc:date>2015-04-09T13:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Error Collect Values to Mosaic to New Raster</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353320#M12245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without your tbx file it's a bit difficult to give you advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model validation can be very tricky for sure. I would the the copy raster would do the trick by creating a verifiably one-band dataset. Perhaps running that output through the Select Data tool will enforce the output's one-banded raster reality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353320#M12245</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2015-04-09T20:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder Error Collect Values to Mosaic to New Raster</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353321#M12246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm interested to try the Select Data tool and see if it allows Mosaic to New Raster to recognize the number of bands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is, I found a work around. I fed my sub model 'scan1'&lt;/P&gt;&lt;P&gt;&lt;IMG alt="submodel.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/83699_submodel.PNG" style="width: 620px; height: 300px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into the Mosaic tool with Create Raster Dataset run as a precondition - which allowed me to set the number of bands without the model needing to recognize the number of bands in the input.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="model.PNG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/83700_model.PNG" style="width: 620px; height: 449px;" /&gt;&lt;/P&gt;&lt;P&gt;A little clunky, but it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-error-collect-values-to-mosaic-to/m-p/353321#M12246</guid>
      <dc:creator>HeatherWelch2</dc:creator>
      <dc:date>2015-04-09T20:57:32Z</dc:date>
    </item>
  </channel>
</rss>

