<?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 Re: The Dataset Name is Invalid in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/the-dataset-name-is-invalid/m-p/50437#M3956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would help me to see more of your code.&amp;nbsp; Specifically, where you create the 'shorterTitle' variable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2011 10:12:07 GMT</pubDate>
    <dc:creator>TylerGarner</dc:creator>
    <dc:date>2011-04-20T10:12:07Z</dc:date>
    <item>
      <title>The Dataset Name is Invalid</title>
      <link>https://community.esri.com/t5/python-questions/the-dataset-name-is-invalid/m-p/50436#M3955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# 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")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then it spits out an error reading...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Runtime error &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 999999: Error executing function. The dataset name is invalid. Failed to execute (CreateTerrain).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:56:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-dataset-name-is-invalid/m-p/50436#M3955</guid>
      <dc:creator>DuncanRager</dc:creator>
      <dc:date>2021-12-10T21:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: The Dataset Name is Invalid</title>
      <link>https://community.esri.com/t5/python-questions/the-dataset-name-is-invalid/m-p/50437#M3956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would help me to see more of your code.&amp;nbsp; Specifically, where you create the 'shorterTitle' variable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 10:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-dataset-name-is-invalid/m-p/50437#M3956</guid>
      <dc:creator>TylerGarner</dc:creator>
      <dc:date>2011-04-20T10:12:07Z</dc:date>
    </item>
  </channel>
</rss>

