<?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: Garbled grid path during geoprocessing in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118477#M4112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The whole script is rather long.&amp;nbsp; Here are the relevant bits, but if you actually want the whole script, I can post it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Early in script, define hydrology layers, global variables - this code has been used and re-used for years and worked fine on all Arc versions
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outputws = gp.workspace + os.sep +&amp;nbsp; "Output" + os.sep
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hydrows = outputws + "Hydro_layers" + os.sep
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not gp.exists(Hydrows + "flow_dir"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create flow direction raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.FlowDirection_sa(DEM, Hydrows + "flow_dir", "NORMAL")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flow_dir = Hydrows + "flow_dir"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not gp.exists(Hydrows + "flow_acc"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create flow accumulation raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.FlowAccumulation_sa(Hydrows + "flow_dir", Hydrows + "flow_acc", "", "FLOAT")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flow_acc = Hydrows + "flow_acc"

# Later, set flow direction raster to null where there are streams
&amp;nbsp;&amp;nbsp;&amp;nbsp; def define_channels():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.AddMessage("\nDefining flow direction channels...")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exp = "\"VALUE\" &amp;gt; " + str(int(threshold_flowacc))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # THIS IS WHERE THE ERROR OCCURS
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.SetNull_sa(flow_acc, flow_dir, flowdir_channels, exp)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ALTO TRIED THIS
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.SingleOutputMapAlgebra_sa("CON(" + flow_acc + " &amp;lt;= " + threshold_flowacc + ", " + flow_dir, ")", flowdir_channels)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.AddError ("\nError defining flow direction channels:&amp;nbsp; " + gp.GetMessages(2))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise Exception&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried taking this out of a function and putting it into the main body of code,&amp;nbsp; hard-coding the path as a string, using one of the script inputs in place of the generated flow_acc (for the heck of it), all produced the similar errors.&amp;nbsp; Also tried fussing with inputting filename backslashes as either "\" or "\\", didn't help.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying the CON code, the error is a bit different:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010394: Map Algebra expression: Syntax error at location 3 (around (G:\G) of expression CON(G:\GIS\scratch\tmp_rios_preproc2\Output\Hydro_layers\flow_acc &amp;lt;= 1100, G:\GIS\scratch\tmp_rios_preproc2\Output\Hydro_layers\flow_dir.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for taking a look at it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ Stacie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:56:39 GMT</pubDate>
    <dc:creator>StacieWolny</dc:creator>
    <dc:date>2021-12-11T06:56:39Z</dc:date>
    <item>
      <title>Garbled grid path during geoprocessing</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118475#M4110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I developed a python script and toolbox on Arc 10,&amp;nbsp; where it worked fine.&amp;nbsp; Exported the toolbox to 9.3 and now I'm trying to run it on 9.3.1 and something is happening that I've never seen before (after writing and running a lot of geoprocessing scripts in 9.2, 9.3 and 10.)&amp;nbsp; In the script I successfully create a flow accumulation grid, then use it in a SetNull statement.&amp;nbsp; When SetNull runs, I get this error - the path is totally garbled:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010316: Unable to open the input grid: G:GISSCRATCHTMP_RI~2OUTPUTHYDRO_~1LOW_ACC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010067: Error in executing grid expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (SetNull).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yet, if I print out the grid path right before running SetNull, it looks like this, which is correct:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;G:\GIS\scratch\tmp_rios_preproc2\Output\Hydro_layers\flow_acc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no problem adding the grid to the map, its folder appears correctly in the Properties.&amp;nbsp; Then if I try to, say, do a math computation on it, that works fine, as does Extract by Mask (just trying things randomly.)&amp;nbsp; However, if I try the same SetNull command from ArcToolbox, or Con, I get the same error as above.&amp;nbsp; The same grid is used in SingleOutuptMapAlgebra within the script with no problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't matter if I write everything to a different directory or disk.&amp;nbsp; I tried restarting the .mxd, tried making a new .mxd, tried making a whole new toolbox using 9.3.1, even tried rebooting the whole darn machine, nothing helps.&amp;nbsp; Has anyone else run into this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ Stacie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 21:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118475#M4110</guid>
      <dc:creator>StacieWolny</dc:creator>
      <dc:date>2012-05-25T21:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Garbled grid path during geoprocessing</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118476#M4111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When SetNull runs, I get this error - the path is totally garbled:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stacie, please post your Python script. The map algebra tools are so different in 9.3 so I can see where there may be issues in how you are setting them up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 21:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118476#M4111</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-05-25T21:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Garbled grid path during geoprocessing</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118477#M4112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The whole script is rather long.&amp;nbsp; Here are the relevant bits, but if you actually want the whole script, I can post it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Early in script, define hydrology layers, global variables - this code has been used and re-used for years and worked fine on all Arc versions
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outputws = gp.workspace + os.sep +&amp;nbsp; "Output" + os.sep
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hydrows = outputws + "Hydro_layers" + os.sep
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not gp.exists(Hydrows + "flow_dir"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create flow direction raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.FlowDirection_sa(DEM, Hydrows + "flow_dir", "NORMAL")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flow_dir = Hydrows + "flow_dir"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not gp.exists(Hydrows + "flow_acc"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Create flow accumulation raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.FlowAccumulation_sa(Hydrows + "flow_dir", Hydrows + "flow_acc", "", "FLOAT")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flow_acc = Hydrows + "flow_acc"

# Later, set flow direction raster to null where there are streams
&amp;nbsp;&amp;nbsp;&amp;nbsp; def define_channels():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.AddMessage("\nDefining flow direction channels...")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exp = "\"VALUE\" &amp;gt; " + str(int(threshold_flowacc))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # THIS IS WHERE THE ERROR OCCURS
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.SetNull_sa(flow_acc, flow_dir, flowdir_channels, exp)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ALTO TRIED THIS
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.SingleOutputMapAlgebra_sa("CON(" + flow_acc + " &amp;lt;= " + threshold_flowacc + ", " + flow_dir, ")", flowdir_channels)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.AddError ("\nError defining flow direction channels:&amp;nbsp; " + gp.GetMessages(2))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise Exception&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried taking this out of a function and putting it into the main body of code,&amp;nbsp; hard-coding the path as a string, using one of the script inputs in place of the generated flow_acc (for the heck of it), all produced the similar errors.&amp;nbsp; Also tried fussing with inputting filename backslashes as either "\" or "\\", didn't help.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying the CON code, the error is a bit different:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 010394: Map Algebra expression: Syntax error at location 3 (around (G:\G) of expression CON(G:\GIS\scratch\tmp_rios_preproc2\Output\Hydro_layers\flow_acc &amp;lt;= 1100, G:\GIS\scratch\tmp_rios_preproc2\Output\Hydro_layers\flow_dir.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for taking a look at it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ Stacie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118477#M4112</guid>
      <dc:creator>StacieWolny</dc:creator>
      <dc:date>2021-12-11T06:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Garbled grid path during geoprocessing</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118478#M4113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;tried fussing with inputting filename backslashes as either "\" or "\\", didn't help.&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You must either use escaped back slashes ("\\") or use raw strings r"G:\mypath".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something to try: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because of issues with long paths and the old map algebra intepreter, using raster layers in single-output map algebra expressions is generally a lot safer than passing grid paths directly. In 10.0 this being handled for you because you pass tools like Con raster objects, not rasters. I think the "~" characters in the 8.3-ized path are causing problems for you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using raster layers protects the map algebra interpreter from pathnames that can break the syntax, and has other benefits. For example, selected rows (if any) in raster tables are honored, and even better, the raster data are "pre-validated" -- ie pre-checked that they exist etc -- so the tool can start doing its work faster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;lyrFAC = "lyrFAC" lyrFDIR = "lyrFDIR" gp.MakeRasterLayer(flow_acc,lyrFAC) gp.MakeRasterLayer(flow_dir,lyrFDIR) expr = "con(%s &amp;lt;= %s, %s)" % (lyrFAC,1100,lyrFDIR) gp.SingleOutputMapAlgebra_sa(expr,flowdir_channels)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 17:56:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118478#M4113</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-06-05T17:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Garbled grid path during geoprocessing</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118479#M4114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked!&amp;nbsp; Thanks a lot, Curtis.&amp;nbsp; I still don't understand how I've gotten away with using this same code for 4 years without this happening, but such are the vagaries of ArcGIS I guess.&amp;nbsp; Of note, there is no "~" or any other odd character in the path that I enter - I learned that lesson a long time ago.&amp;nbsp; Something in the interpreter was munging my input.&amp;nbsp; And I've learned something about using raster layers.&amp;nbsp; In general I've found them inconvenient because they don't exist anywhere that I can look at them while debugging or just tracing my algorithm's results, but it appears that they have other benefits.&amp;nbsp; Thanks again...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ Stacie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 20:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118479#M4114</guid>
      <dc:creator>StacieWolny</dc:creator>
      <dc:date>2012-06-05T20:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Garbled grid path during geoprocessing</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118480#M4115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In general I've found them inconvenient because they don't exist anywhere that I can look at them while debugging or just tracing my algorithm's results&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad that helped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Au contraire, raster layer data do 'exist' - Raster layers are like feature layers - they aren't datasets, they are instead objects that point to a dataset source. For this reason the output of tools that create data are datasets, not layers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I set up models and tools I almost use layer input so you the tool can see a picklist of layers in the map. Saves a lot of browsing!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The troublesome "~" characters were part of the &lt;/SPAN&gt;&lt;A href="http://en.wikipedia.org/wiki/8.3_filename" rel="nofollow noopener noreferrer" target="_blank"&gt;8.3-version of your long path &lt;/A&gt;&lt;SPAN&gt; -- any path with long names in it is likely to be converted to an "8.3" format behind the scenes by Windows OS routines - and SOMA does not play well with those raw 8.3 pathnames. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you've just been very prudent so you haven't invoked 8.3 names for the last four years where you were using raster tools (no mixed case, no spaces, short names, etc). The only way I know to check is using "dir /x" at the command line. But not today:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;E:\work\test1&amp;gt;dir /x
 Directory of E:\work\test1

06/05/2012&amp;nbsp; 03:42 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .
06/05/2012&amp;nbsp; 03:42 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..
06/05/2012&amp;nbsp; 03:39 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testa1
06/05/2012&amp;nbsp; 03:40 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TESTBV~1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testbverylongname
06/05/2012&amp;nbsp; 03:42 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DIR&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TMP_RI~1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp_rios_preproc2

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 File(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 bytes
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 Dir(s)&amp;nbsp; 92,880,891,904 bytes free&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't Windows great?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:56:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/garbled-grid-path-during-geoprocessing/m-p/118480#M4115</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T06:56:42Z</dc:date>
    </item>
  </channel>
</rss>

