AnsweredAssumed Answered

10,000 inputs for Cell Statistics?

Question asked by NMWRRI on Oct 25, 2016
Latest reply on Oct 28, 2016 by NMWRRI

Hi all, 


I was wondering if it is possible to have 10,000 inputs for cell statistics? I keep getting an error, saying that I can't save the output as a TIF.  I get the following: ERROR 010240. 

Any ideas or suggestions on how to tackle this? 


Thanks a million, 


import arcpy
import os

arcpy.env.overwriteOutput = True
arcpy.env.mask = r'E:\Reference_ET\Verification\GCS_PRISM_4km.shp'

print "Loaded Pre-processing extents..."

TmaxWs = r'M:\PRISM\Daily\tmax'
TminWs = r'M:\PRISM\Daily\tmin'
outws = r'E:\Reference_ET\KT'
TmaxList = []
TminList = []


print "Completing Lists..."


for dirpath, dirnames, filenames in arcpy.da.Walk(TmaxWs, topdown=True, datatype="RasterDataset"):
   for filename in filenames:
      TmaxList.append(os.path.join(dirpath, filename))
      listfile = os.path.join(dirpath, filename)

print "\t- Successful \n"


print "Calculating Average Max Temp from 1984-2015..."
TmaxRas =, "MEAN")

print "\t- Completed Cell Statistics... \n" + r'\Tmax30yr.tif')
print "\t- Successful \n"