<?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 Combine Tool Fails in Arcpy but not in Model Builder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430702#M33840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a model builder tool that uses the Combine tool in one of the steps, and have increased the maximum number of unique values to render in the ArcCatalog and ArcMap's Raster Dataset option to accommodate the number of unique value. The tool works. However, when I trying to call the combine tool with the same inputs in arcpy, it is not recognizing the setting, and would give the following error message: "ExecuteError: ERROR 999999: Error executing function. ("esriDataSourcesRaster.RasterCalcUniqueValues") Too many unique values". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 10.1, are there modules and environmental setting that I should be calling to resolve the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The codes runs right up to the combine step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, os, sys
from arcpy import env
from arcpy.sa import *
arcpy.CheckOutExtension("Spatial")


env.overwriteOutput = "True"


##RegionFile= arcpy.GetParameterAsText(0)
RegionFile = r'C:\Temp\RegionFile.csv'

#constant input
inBFE = r'C:\Work\SDE_Connections_us\SV2_FEMA.sde\FEMA.FEMA.Polyline_01_16_13\FEMA.FEMA.BFE_01_16_13'
NED30M = r'\\rsarcsv3\Model_08\ArcSDE\SDE_Connections\SV2_NED_30m.sde\NED_30m.NED_30M.NED_30M'



rows = arcpy.SearchCursor(RegionFile, "", "", "Region", "")
currentRegion = ""
for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentRegion = row.Region
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print currentRegion
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MF = r'C:\Work\Flowlines'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fGDB = arcpy.CreateFileGDB_management(r'C:\Temp', "R" + currentRegion, "CURRENT")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = fGDB
##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fGDB = r'C:\Temp\R.gdb'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #outputnames
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outClipBFE = str(fGDB) + "\clipBFE" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outIntersetBFE_MF = str(fGDB) + "\BFE_MF_Intersect"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outpt2Ras = str(fGDB) + "\BFE_MF_Pt2Ras"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outint100yr = str(fGDB) + "\int100yr"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outintNED30 = str(fGDB) + "\intNED20"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outCombine = str(fGDB) + "\combineBFE_NED"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; twentyoneLyrFolder = r'C:\Work\21Layers'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; airFldMap = twentyoneLyrFolder + "\Region" + currentRegion + "\wl_R" + currentRegion + "_tif_09.tif"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regionBND = "C:\Work\BOUNDARY" + currentRegion + "_BuffClip"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Environment
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.cellSize = FldMap
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.extent = FldMap
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.snapRaster = NED30M
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clipBFE = arcpy.Clip_analysis(inBFE, regionBND, outClipBFE)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intersectBFE_MF = arcpy.Intersect_analysis([clipBFE, MF], outIntersetBFE_MF, "ALL", "", "POINT")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pt2Ras = arcpy.PointToRaster_conversion(outIntersetBFE_MF, "OBJECTID", outpt2Ras, "MOST_FREQUENT", "NONE", "30")

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #multiplying raster by 1000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int100yr = (SetNull(airFldMap &amp;lt;= -9999, FldMap))* 1000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int100yr.save(outint100yr)
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intNED30 = Raster(NED30M) * 1000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intNED30.save(outintNED30) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #combine Rasters
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; combineBFE_NED= Combine([outpt2Ras, outintNED30, outint100yr])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; combineBFE_NED.save(outCombine)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 16:54:53 GMT</pubDate>
    <dc:creator>JiaxinYu</dc:creator>
    <dc:date>2013-07-02T16:54:53Z</dc:date>
    <item>
      <title>Combine Tool Fails in Arcpy but not in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430702#M33840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a model builder tool that uses the Combine tool in one of the steps, and have increased the maximum number of unique values to render in the ArcCatalog and ArcMap's Raster Dataset option to accommodate the number of unique value. The tool works. However, when I trying to call the combine tool with the same inputs in arcpy, it is not recognizing the setting, and would give the following error message: "ExecuteError: ERROR 999999: Error executing function. ("esriDataSourcesRaster.RasterCalcUniqueValues") Too many unique values". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 10.1, are there modules and environmental setting that I should be calling to resolve the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The codes runs right up to the combine step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, os, sys
from arcpy import env
from arcpy.sa import *
arcpy.CheckOutExtension("Spatial")


env.overwriteOutput = "True"


##RegionFile= arcpy.GetParameterAsText(0)
RegionFile = r'C:\Temp\RegionFile.csv'

#constant input
inBFE = r'C:\Work\SDE_Connections_us\SV2_FEMA.sde\FEMA.FEMA.Polyline_01_16_13\FEMA.FEMA.BFE_01_16_13'
NED30M = r'\\rsarcsv3\Model_08\ArcSDE\SDE_Connections\SV2_NED_30m.sde\NED_30m.NED_30M.NED_30M'



rows = arcpy.SearchCursor(RegionFile, "", "", "Region", "")
currentRegion = ""
for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentRegion = row.Region
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print currentRegion
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MF = r'C:\Work\Flowlines'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fGDB = arcpy.CreateFileGDB_management(r'C:\Temp', "R" + currentRegion, "CURRENT")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = fGDB
##&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fGDB = r'C:\Temp\R.gdb'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #outputnames
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outClipBFE = str(fGDB) + "\clipBFE" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outIntersetBFE_MF = str(fGDB) + "\BFE_MF_Intersect"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outpt2Ras = str(fGDB) + "\BFE_MF_Pt2Ras"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outint100yr = str(fGDB) + "\int100yr"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outintNED30 = str(fGDB) + "\intNED20"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outCombine = str(fGDB) + "\combineBFE_NED"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; twentyoneLyrFolder = r'C:\Work\21Layers'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; airFldMap = twentyoneLyrFolder + "\Region" + currentRegion + "\wl_R" + currentRegion + "_tif_09.tif"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regionBND = "C:\Work\BOUNDARY" + currentRegion + "_BuffClip"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Environment
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.cellSize = FldMap
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.extent = FldMap
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.snapRaster = NED30M
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clipBFE = arcpy.Clip_analysis(inBFE, regionBND, outClipBFE)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intersectBFE_MF = arcpy.Intersect_analysis([clipBFE, MF], outIntersetBFE_MF, "ALL", "", "POINT")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pt2Ras = arcpy.PointToRaster_conversion(outIntersetBFE_MF, "OBJECTID", outpt2Ras, "MOST_FREQUENT", "NONE", "30")

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #multiplying raster by 1000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int100yr = (SetNull(airFldMap &amp;lt;= -9999, FldMap))* 1000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int100yr.save(outint100yr)
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intNED30 = Raster(NED30M) * 1000
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intNED30.save(outintNED30) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #combine Rasters
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; combineBFE_NED= Combine([outpt2Ras, outintNED30, outint100yr])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; combineBFE_NED.save(outCombine)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 16:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430702#M33840</guid>
      <dc:creator>JiaxinYu</dc:creator>
      <dc:date>2013-07-02T16:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Tool Fails in Arcpy but not in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430703#M33841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see this in the help: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For formats other than ESRI GRID, by default, the output raster from this tool can only have a maximum of 65536 unique values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can increase this number by changing a setting in ArcGIS. On the Main menu, select Customize &amp;gt; ArcMap Options. In the ArcMap Options dialog box, click on the Raster tab and modify the Maximum number of unique values to render field to an appropriate value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know a way to change these settings for arcpy (perhaps a tech support question), however, based on the help documentation, it appears as if the ESRI GRID format is not held to this contraint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you could output as GRID to get the results you are after?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 18:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430703#M33841</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-02T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Tool Fails in Arcpy but not in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430704#M33842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Rhett, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read the same thing, and did exactly that and it does work when running process in ArcMap and ArcCatalog both foreground and in the background. Also, all my rasters are in GRID format. For some unknown reason, when I put it into arcpy, it's not recognizing the setting, and I'm not able to find any syntax that would let me hard code it in there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 19:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430704#M33842</guid>
      <dc:creator>JiaxinYu</dc:creator>
      <dc:date>2013-07-02T19:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Tool Fails in Arcpy but not in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430705#M33843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see you have already changed the "settings" in ArcMapCatalog so that explains why it is working within them. However, don't think there is a way for arcpy to inherit these settings, so I'd try the GRID output format and see if that works in standalone arcpy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks as if you are including your FGDB path in your save path so that they are saved within a FGDB. this will force them to be FGDB feature classes/tables/rasters, etc. and not GRID format&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you code it to save in a folder (not FGDB) and leave off the file extention, it should create them as GRID format and "supposedly" not have the 16bit restriction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if you would just have to have combineBFE_NED as a GRID since that is the output, or if you would have to use GRID's for input as well. Would have to test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, not sure if you've fixed it already (or if it is intentional) but this doesn't quite look right:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outintNED30 = str(fGDB) + "\intNED20"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to be consistant with your other variables, should this be &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outintNED30 = str(fGDB) + "\intNED30"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 20:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combine-tool-fails-in-arcpy-but-not-in-model/m-p/430705#M33843</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-02T20:20:15Z</dc:date>
    </item>
  </channel>
</rss>

