AnsweredAssumed Answered

Corridor Design - Habitat Suitability Model Error

Question asked by ecoRT1994 on Apr 19, 2017
Latest reply on Apr 19, 2017 by ecoRT1994

I am trying to perform a HSM1 tool within ArcGIS, and I'm constantly getting the same error message, below.

I have executed this tool several times each time making a small change, and nothing seems to work, I don't know what it means by "The table name is invalid", I have tried naming my output table as 'HSM1_geomean' and 'HSM1_geomean.dbf' and neither have worked. I also don't know what it means by 'missingValues'. And it says at the end, 'succeeded', but I have no corresponding output to add.

I have worked through the associated tutorial data provided, which worked successfully, but cannot get the tool to work for my own data?

Has anyone experienced this issue before, and found a solution to it?

Messages
Executing: HabitatSuitabilityModel "Geometric Mean" G:\Advanced_GIS\Lynx_Model\HSM1_1\HSM1 true landcover G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\Lynx_lndcvr.txt 65 50_dtm G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\Lynx_elev.txt 5 topo80_recent G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\Lynx_topo.txt 10 eudist_roads G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\lynx_dstroad.txt 20 # # 0 # # 0
Start Time: Mon Apr 17 11:38:20 2017
Running script HabitatSuitabilityModel...

CorridorDesigner ----------------------------------------
RUNNING: HabitatSuitabilityModel

 Step 1/4) Checking sum of factor weights
 Step 2/4) Reclassifying habitat factors
            - reclassifying Habitat Factor landcover using the reclass file G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\Lynx_lndcvr.txt
            - reclassifying Habitat Factor eudist_roads using the reclass file G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\lynx_dstroad.txt
            - reclassifying Habitat Factor topo80_recent using the reclass file G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\Lynx_topo.txt
            - reclassifying Habitat Factor 50_dtm using the reclass file G:\Advanced_GIS\CorridorDesignerToolbox_v02\Species_Data\tutorial\speciesData\Lynx\Lynx_elev.txt
- PYTHON ERRORS: ---------------
Traceback Info:
  File "G:\Advanced_GIS\CorridorDesignerToolbox_v02\CorridorDesignerToolbox_v0.2\generalScripts\hab_hsmGeneral.py", line 59, in reclassFactors
    gp.ReclassByASCIIFile_sa(factorGrid, factorRemapFile, factorReclass, missingValues)

Error Info:
<class 'pywintypes.com_error'>: (-2147467259, 'Unspecified error', None, None)

- GP ERRORS: -------------------
ERROR 999999: Error executing function.
The table name is invalid.
Failed to execute (ReclassByASCIIFile).


 Step 3/4) Combining habitat factors using Geometric Mean model
- PYTHON ERRORS: ---------------
Traceback Info:
  File "G:\Advanced_GIS\CorridorDesignerToolbox_v02\CorridorDesignerToolbox_v0.2\generalScripts\hab_hsmGeneral.py", line 69, in geometricHsm
    for x in reclassFactorDict.keys():

Error Info:
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'keys'

- GP ERRORS: -------------------
ERROR 999999: Error executing function.
The table name is invalid.
Failed to execute (ReclassByASCIIFile).


 Step 4/4) Deleting intermediate layers
- PYTHON ERRORS: ---------------
Traceback Info:
  File "G:\Advanced_GIS\CorridorDesignerToolbox_v02\CorridorDesignerToolbox_v0.2\generalScripts\hab_hsmGeneral.py", line 101, in delTempFactors
    for x in reclassFactorDict.keys():

Error Info:
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'keys'

- GP ERRORS: -------------------
ERROR 999999: Error executing function.
The table name is invalid.
Failed to execute (ReclassByASCIIFile).


 Finished! 
  
Completed script HabitatSuitabilityModel...
Succeeded at Mon Apr 17 11:38:39 2017 (Elapsed Time: 18.43 seconds)

Outcomes