<?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: Using arcpy to create slope surfaces in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206041#M2916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned, when I run the tool manually, all is good:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="485706" class="image-1 jive-image" height="485" src="https://community.esri.com/legacyfs/online/485706_pastedImage_1.png" width="615" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the values used by default in the symbology:&amp;nbsp; I'm not sure what was going on when I created the slope surfaces mentioned in the other thread getting the values that were nonsensical (to me).&amp;nbsp; These values are what I expect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="485707" class="image-2 jive-image" height="438" src="https://community.esri.com/legacyfs/online/485707_pastedImage_2.png" width="621" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like DansSlope is a good ol' FGDBR type, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="485741" class="image-3 jive-image" height="432" src="https://community.esri.com/legacyfs/online/485741_pastedImage_3.png" width="674" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 16:20:55 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2020-03-19T16:20:55Z</dc:date>
    <item>
      <title>Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206039#M2914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Pro 2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a number of .tif&amp;nbsp; and ,img images that I need to convert into slope surfaces (as discussed here&amp;nbsp;&lt;A href="https://community.esri.com/thread/249842" target="_blank"&gt;Display A Slope Raster&lt;/A&gt;&amp;nbsp;) and have &amp;nbsp;been following the steps shown here:&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/slope.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/slope.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Slope—Help | Documentation&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I get one of two errors depending on where I send the slope.save() to.&amp;nbsp; Here is my script:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sa &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
 
inDir &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\JoesStuff\SouthernImages'&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#outWS = r'C:\JoesStuff\SouthernImages\SlopeRasters' # to a folder&lt;/SPAN&gt;
outWS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\JoesStuff\SouthernImages\Rasters.gdb'&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;# to a gdb&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listdir&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inDir&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; i&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;endswith&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;or&lt;/SPAN&gt; i&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;endswith&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        inRaster &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inDir&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
        outFile &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; i&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'.'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
        outRaster &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; f&lt;SPAN class="string token"&gt;'{outWS}\{outFile}Slope'&lt;/SPAN&gt;
        outMeasurement &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'PERCENT_RISE'&lt;/SPAN&gt;
        zFactor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
        method &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'PLANAR'&lt;/SPAN&gt;
        zUnit &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'METER'&lt;/SPAN&gt;
    
    outSlope &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Slope&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inRaster&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; outMeasurement&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; zFactor&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; method&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; zUnit&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    outSlope&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;save&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outRaster&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with line 6 commented and line 7 active this error is returned:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;RuntimeError: ERROR 010240: Could not save raster dataset to 
C:\JoesStuff\SouthernImages\Rasters.gdb\12TVK1276Slope with output format FGDBR.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I try to save the slope to a directory by executing line 6 with line 7 commented&amp;nbsp;&amp;nbsp;this error is returned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;RuntimeError: ERROR 010240: Could not save raster dataset to 
C:\JoesStuff\SouthernImages\SlopeRasters\12TVK1276Slope with output format GRID.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the slope surfaces are being created, because when I comment line 20, and replace it with a print statement, the loop runs just fine.&amp;nbsp; I have run tool manually and it works just great on individual input .tif or .img.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206039#M2914</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-11T10:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206040#M2915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the other thread isn't closed&lt;/P&gt;&lt;P&gt;*.tif is the preferred raster format, so the destination of the raster should be a compliant folder path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 16:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206040#M2915</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-19T16:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206041#M2916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned, when I run the tool manually, all is good:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="485706" class="image-1 jive-image" height="485" src="https://community.esri.com/legacyfs/online/485706_pastedImage_1.png" width="615" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the values used by default in the symbology:&amp;nbsp; I'm not sure what was going on when I created the slope surfaces mentioned in the other thread getting the values that were nonsensical (to me).&amp;nbsp; These values are what I expect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="485707" class="image-2 jive-image" height="438" src="https://community.esri.com/legacyfs/online/485707_pastedImage_2.png" width="621" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like DansSlope is a good ol' FGDBR type, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="485741" class="image-3 jive-image" height="432" src="https://community.esri.com/legacyfs/online/485741_pastedImage_3.png" width="674" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 16:20:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206041#M2916</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-19T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206042#M2917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*tif is all I use for rasters, I don't even use esri grids anymore and the last thing I would want is for my work to be tied up in a fgdb if I had to use it somewhere else that can't read fgdb .&amp;nbsp; With *.tif, I can look at in image software, process it in python, numpy etc.&amp;nbsp; even esri recommends tif (buried in the help,).&amp;nbsp;&lt;/P&gt;&lt;P&gt;symbology is after the fact.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 16:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206042#M2917</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-19T16:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206043#M2918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me give that a try: slope.save(C:\path\to\DansSlope.tif), right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 16:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206043#M2918</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-19T16:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206044#M2919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the reason the "grid" format failed... you can't have esri grids begin with a number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 17:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206044#M2919</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-19T17:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206045#M2920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and a "grid" name cannot exceed 13 characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 17:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206045#M2920</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2020-03-19T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206046#M2921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay: got it wired using both of your suggestions.&amp;nbsp; Here's the final script&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import arcpy
from arcpy.sa import *
import os
 
inDir = r'C:\JoesStuff\SouthernImages'
#outWS = r'C:\JoesStuff\SouthernImages\SlopeRasters' # to a folder
outWS = r'C:\JoesStuff\SouthernImages\Rasters.gdb'  # to a gdb


imageList = ['C:\\JoesStuff\\SouthernImages\\12TVK1276.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1474.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1476.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1674.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1676.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1874.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1876.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1877.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1976.tif',
 'C:\\JoesStuff\\SouthernImages\\12TVK1977.tif',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1200076000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1200078000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1400076000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1400078000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1600076000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1600078000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1800074000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1800076000.img',
 'C:\\JoesStuff\\SouthernImages\\hh12TVK1800078000.img']


for i in enumerate(imageList): 
    inRaster = i[1]
    outName = f'Slope{i[0]}'  # f'Slope{i[0]}.tif'
    outRaster = f'{outWS}\{outName}'
    outMeasurement = 'PERCENT_RISE'
    zFactor = 1
    method = 'PLANAR'
    zUnit = 'METER'
    
    outSlope = Slope(inRaster, outMeasurement, zFactor, method, zUnit)
    outSlope.save(outRaster)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read an article earlier today suggesting enumerate() instead of range() in a for loop and went that route.&amp;nbsp;Line 33&lt;/P&gt;&lt;P&gt;can go to an FGDB grid or TIF image depending on which line (6 or 7) is executed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in essence you both answered my question so I'll let you duke it out for bragging rights and just assign it 'Assumed Answered'...&amp;nbsp;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206046#M2921</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-11T10:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206047#M2922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In anticipation of your next question....&lt;/P&gt;&lt;P&gt;Then I suppose I&amp;nbsp;shouldn't tell you what happens if you do the spyder 4.1 update and let you figure it out on your own &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 18:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206047#M2922</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-19T18:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206048#M2923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually the laptop I'm using has spyder 3.3 on it since I just went with what ships with Pro 2.5; remember I'm home&amp;nbsp; practicing good social distancing.&amp;nbsp; My desktop back at the office has a spyder 3.3 env as well as spyder 4.0 env; I have some packages&amp;nbsp;I use that would have downgraded the 4.0 env so now I have two.&amp;nbsp; Sounds like I may have three once I'm back there.....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(you're not even gonna give me a hint?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 18:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206048#M2923</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-19T18:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206049#M2924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wait until you see a 4.1.1 version &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 19:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206049#M2924</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-19T19:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206050#M2925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;I checked out this thread and the script you created. I'm glad you were able to reach a solution.&lt;/P&gt;&lt;P&gt;I wanted to show you another way to script it, using arcpy.env.workspace, and a boolean variable.&lt;/P&gt;&lt;P&gt;Using arcpy.env.workspace, you don't need to code the full path to every image in your list.&lt;/P&gt;&lt;P&gt;Using a boolean variable (i.e. 'tifOut' and some 'if' logic), you only need to update the code in one place, if you wish to switch from TIF to fgdb.&lt;/P&gt;&lt;P&gt;Please reach out if you have questions.&lt;/P&gt;&lt;P&gt;Happy scripting!&lt;BR /&gt;Dana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Program: Loop through images and create Slope output&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Save outputs as either TIF or FGDB raster&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# imports&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sa &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# environments&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\JoesStuff\SouthernImages'&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# variables: tifOut, fgdbOut, imageList&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Set tifOut variable&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# when True: output to workspace as tif&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# when False: output to fgdbOut &lt;/SPAN&gt;
tifOut &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;
fgdbOut &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Rasters.gdb'&lt;/SPAN&gt;

imageList &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'12TVK1276.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1474.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1476.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'C12TVK1674.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1676.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1874.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1876.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1877.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1976.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'12TVK1977.tif'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1200076000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1200078000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1400076000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1400078000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1600076000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1600078000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1800074000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1800076000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'hh12TVK1800078000.img'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Main:&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# 1. Loop through images&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# 2. Set up Slope parameters&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#    a) Check if tifOut is True or False&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# 3. Execute Slope tool&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# 4. Save output&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# ----------------------------------------------------#&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# 1. Loop through images&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; image &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; imageList&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# 2. Set up Slope parameters&lt;/SPAN&gt;
    inRaster &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; image
    outRaster &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Slope'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;splitext&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;image&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

    &lt;SPAN class="comment token"&gt;# a) Check if tifOut is True or False&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# If tifOut is True, add extension&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; tifOut &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        outRaster &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; outRaster &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;".tif"&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# If tifOut is False, add fgdbOut&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;  
        outRaster &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fgdbOut&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;outRaster&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    
    outMeasurement &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'PERCENT_RISE'&lt;/SPAN&gt;
    zFactor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
    method &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'PLANAR'&lt;/SPAN&gt;
    zUnit &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'METER'&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# 3. Execute Slope tool&lt;/SPAN&gt;
    outSlope &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Slope&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inRaster&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; outMeasurement&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; zFactor&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; method&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; zUnit&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# 4. Save output&lt;/SPAN&gt;
    outSlope&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;save&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outRaster&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206050#M2925</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T10:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to create slope surfaces</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206051#M2926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip Dana!&amp;nbsp; I vacillate between arcpy and straight up python through out my scripting: that list came from&amp;nbsp; an os.listdir() I ran on the directory where&amp;nbsp;I had&amp;nbsp; stashed the originals....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 22:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-arcpy-to-create-slope-surfaces/m-p/206051#M2926</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-19T22:24:59Z</dc:date>
    </item>
  </channel>
</rss>

