<?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 Relating two rasters in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583475#M45746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to relate two rasters, one that I created by CellStatistics of different rasters, the other is NDVI values in pixel values ranging 0 to 255. What way can I do that? I tried reclassifying the raster but getting errors such as&amp;nbsp; OutReclass = Reclassify(inRaster, remap, "NODATA"), Reclassify missing values and&amp;nbsp;result = wrapper(*args, **kwargs). Pls help&lt;IMG alt="My code " class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/390935_Capture.PNG" style="width: 620px; height: 425px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 00:37:16 GMT</pubDate>
    <dc:creator>Rumba1Nma</dc:creator>
    <dc:date>2017-12-15T00:37:16Z</dc:date>
    <item>
      <title>Relating two rasters</title>
      <link>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583475#M45746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to relate two rasters, one that I created by CellStatistics of different rasters, the other is NDVI values in pixel values ranging 0 to 255. What way can I do that? I tried reclassifying the raster but getting errors such as&amp;nbsp; OutReclass = Reclassify(inRaster, remap, "NODATA"), Reclassify missing values and&amp;nbsp;result = wrapper(*args, **kwargs). Pls help&lt;IMG alt="My code " class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/390935_Capture.PNG" style="width: 620px; height: 425px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583475#M45746</guid>
      <dc:creator>Rumba1Nma</dc:creator>
      <dc:date>2017-12-15T00:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Relating two rasters</title>
      <link>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583476#M45747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you get a result for inRaster?&amp;nbsp; just stop the script after that line (comment out the rest of the lines) and provide a snapshot of the resultant table since it should be integer.&amp;nbsp; Once you have a table for reclassification, you can proceed on with there since the error message suggests that you haven't revealed all that is in the table/raster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 01:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583476#M45747</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-15T01:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Relating two rasters</title>
      <link>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583477#M45748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Dan,&lt;/P&gt;&lt;P&gt;Thanks for the response, I modified my code a bit, but still getting&lt;/P&gt;&lt;P&gt;errors.It runs fine untill line 18 because it print 4, which is my number&lt;/P&gt;&lt;P&gt;of raster in the input.&lt;/P&gt;&lt;P&gt;How do I proceed further? And once I reclassify, what tool can I use to&lt;/P&gt;&lt;P&gt;overlay reclassified on NDVI raster to display the relation?I am attaching&lt;/P&gt;&lt;P&gt;the snap of&lt;/P&gt;&lt;P&gt;code and errors.Thanks much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 01:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583477#M45748</guid>
      <dc:creator>Rumba1Nma</dc:creator>
      <dc:date>2017-12-15T01:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Relating two rasters</title>
      <link>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583478#M45749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;&lt;STRONG&gt;code formatting&lt;/STRONG&gt;&lt;/A&gt; rather than screen grabs in case someone wants to replicate the code.&lt;/P&gt;&lt;P&gt;From &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/cell-statistics.htm"&gt;Cell Statistics&lt;/A&gt; I don't think it is getting a list of rasters... examine the code example,&amp;nbsp; putting something into a list doesn't make it an object, make sure that the raster actually lists, it should be added to the list using the raster layer name or the source raster from disk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 02:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583478#M45749</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-15T02:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Relating two rasters</title>
      <link>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583479#M45750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Dan, makes sense.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 13:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/relating-two-rasters/m-p/583479#M45750</guid>
      <dc:creator>Rumba1Nma</dc:creator>
      <dc:date>2017-12-15T13:14:15Z</dc:date>
    </item>
  </channel>
</rss>

