<?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: Resample method not defined in arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469673#M36656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2019 16:18:09 GMT</pubDate>
    <dc:creator>JintongWu</dc:creator>
    <dc:date>2019-11-14T16:18:09Z</dc:date>
    <item>
      <title>Resample method not defined in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469671#M36654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use resampling methods in ArcMap to alter the resolution of my raster data. I was able to test and use the resample tool in the toolbox in the ArcMap (I am using 10.5), but when I use "resampled = Resample_management (blockStat, out_raster, "2.5 2", "NEAREST")" in my python window, the error message shows up and says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Runtime error &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; File "&amp;lt;string&amp;gt;", line 34, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NameError: name 'Resample_management' is not defined&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the resample methods is not a defined function in the arcpy module. I googled and see no post discussing a similar problem. Could it be that I need to update my ArcMap version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469671#M36654</guid>
      <dc:creator>JintongWu</dc:creator>
      <dc:date>2019-11-14T15:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Resample method not defined in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469672#M36655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This says it exists for you:&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/resample.htm" title="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/resample.htm"&gt;Resample—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect you need to preface it with &lt;STRONG&gt;arcpy.&lt;/STRONG&gt;Resample_management() in your script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469672#M36655</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-11-14T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Resample method not defined in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469673#M36656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:18:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/resample-method-not-defined-in-arcpy/m-p/469673#M36656</guid>
      <dc:creator>JintongWu</dc:creator>
      <dc:date>2019-11-14T16:18:09Z</dc:date>
    </item>
  </channel>
</rss>

