D.E.Smith99

Extract Value to Point Python error ** Too Many Equations **

Discussion created by D.E.Smith99 on Jan 4, 2012
Latest reply on Sep 26, 2012 by bwsparks
Hello.

first the basics:
Raster format: GRID
Point data set format: file geodatabase
software: ArcGIS for Desktop 10x sp3 (standard edition)
Python IDE: WING 4.1.2

I am looping through a list of tuples to extract several different raster's values to point. each tuple in the list contains the point data set used for extraction, the raster and the output point data set, passed by ref. One of the output point data sets is then used in an additional Extract value to Point geoprocess (this is done to have both the binary and floating point values side by side). It is during this process that my python window prints out about 100,00 lines of
** Too Many Equations **
these lines are then printed prior to the GetMessages() method called post extract value to point...
the process then finishes successfully...Has any one seen this before?


rasterArray = [(bPixelPts,wetnessGrid,eSFextract),(bPixelPts, standingWaterGrid, fSFextractSW),(bPixelPts, multiDateGrid, mWetChange),(bPixelPts, gbWetnessGrid, qSFextract),(bPixelPts, gbMultiDateGrid, nWetchange)]
for item in rasterArray:
    sa.ExtractValuesToPoints(str(item[0]),str(item[1]),str(item[2]),"NONE","ALL")
    print arcpy.GetMessages()
    if (item[2].find("Q_SFextract_Wet_a"))!=-1:
        print "Found Q_SFextract_Wet_a..."
        arcpy.AddField_management(str(item[2]),"WETBINARY","Long", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
        arcpy.CalculateField_management((str(item[2])),"WETBINARY","!RASTERVALU!","PYTHON_9.3","#")
        arcpy.DeleteField_management(str(item[2]),"RASTERVALU")
        sa.ExtractValuesToPoints(str(item[2]),gbFloatGrid,qSFextractBandF,"NONE","ALL") ##WHERE IS PRINTS ERROR
        print arcpy.GetMessages()

Outcomes