DuncanRager

The Dataset Name is Invalid

Discussion created by DuncanRager on Apr 19, 2011
Latest reply on Apr 20, 2011 by garnertb
Greetings,

I can't seem to get past this snag... I'm attempting to "CreateTerrain" from a LAS tile but the python window in ArcInfo 10 doesn't like the name for my dataset. The problem portion of the script reads simply:


# Define inputs
terrainDataset = "C:\\GIS\\Base\\Lidar\\Issue_Terrains.gdb\\IssueTerrains"
currentTerrain = shorterTitle + "_T"
aps = .65

# Create Terrain
arcpy.CreateTerrain_3d(terrainDataset, currentTerrain, aps, "50000", "", "WINDOWSIZE", "ZMIN", "NONE", "1")


And then it spits out an error reading...

Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. The dataset name is invalid. Failed to execute (CreateTerrain).


Whenever I insert a generic title in the out_terrain_name spot (where my "currentTerrain" is) like "test_output", it works just fine. Does the geoprocessor not like a concatenated variable for that input?

Thanks so much.

DR

Outcomes