<?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: Calculate range of pixel values under larger pixel of another raster in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554330#M43340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do try a comparison in case you have multipart zones since the mins and max values can differ between them. When you have time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Nov 2017 12:12:02 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-11-19T12:12:02Z</dc:date>
    <item>
      <title>Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554324#M43334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two raster, Raster1 ( ~1km resolution ) and Raster2 (90m resolution). There are about 100 pixels of Raster2 under a pixel of Raster1. I would like to calculate range (max-min) of those 100 pixels of Raster2 for each pixel of Raster1.&lt;/P&gt;&lt;P&gt;I tried zonal statistics, which accumulated the range values for each value of pixel NOT for each pixel, which I don't want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any clue how to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 19:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554324#M43334</guid>
      <dc:creator>Madan_KrishnaSuwal</dc:creator>
      <dc:date>2017-11-18T19:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554325#M43335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/aggregate.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/aggregate.htm"&gt;Aggregate—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; (or &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/aggregate.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/aggregate.htm"&gt;Aggregate—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;for ArcMap) to create new rasters with the 1km pixel size applying MIN and MAX as aggregation type which will be applied to the 90m pixels covered by each 1km pixel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 20:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554325#M43335</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-18T20:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554326#M43336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/zonal-statistics-as-table.htm"&gt;&lt;STRONG&gt;Zonal statistics as Table&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp; if the smaller sized pixels are within the larger sized pixels... there is a 'range' value in there when you add a field and subtract.... max - min&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 22:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554326#M43336</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-18T22:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554327#M43337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OP mentioned stat Zonal Statistics does not work since values of pixels in 1km raster repeat and the statistics for each pixel is required. Aggregate allows you to do this, although you will need to run MINIMUM and MAXIMUM separately and use Raster Calculator to calculate the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2017 04:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554327#M43337</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-19T04:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554328#M43338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/region-group.htm"&gt;Regiongroup &lt;/A&gt;first, is what I normally do first, if there is any chance of duplication of zones (akin to multipart to singlepart in vector).&amp;nbsp; I don't like multipart anything and rasters do this by default.&amp;nbsp; So if the 1km raster values repeat, I would instinctively regiongroup before I proceeded (if I was using SA and not arrays anyway.)&lt;/P&gt;&lt;P&gt;I suggested&amp;nbsp; &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/zonal-statistics-as-table.htm"&gt;&lt;STRONG&gt;ZonalStatisticsAsTable&lt;/STRONG&gt;&lt;/A&gt; for this reason&amp;nbsp; the ambiguity issue is mentioned in the help files.&amp;nbsp; Plus the multipart nature of a 'zone' can lead to different results for 'majority' and 'minority' since distinctly separate areas belong to the same zonal class may not exhibit similar properties because of the zone aggregation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4d4d4d; font-family: 'Lucida Grande','Segoe UI','Arial',sans-serif; font-size: 13.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.82px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;....."or majority and minority calculations, when there is a tie, the output for the zone is based on the lowest of the tied values"...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generally don't like zones or multipart anything unless you know what you are dealing with, but it may be a workflow preference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2017 08:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554328#M43338</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-19T08:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554329#M43339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Xander and all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is solved now.&lt;/P&gt;&lt;P&gt;As suggested by Xander,&amp;nbsp;I used the &lt;SPAN style="color: #666666; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=https://community.esri.com/external-link.jspa?url%3Dhttp%253A%252F%252Fpro.arcgis.com%252Fen%252Fpro-app%252Ftool-reference%252Fspatial-analyst%252Faggregate.htm&amp;amp;source=gmail&amp;amp;ust=1511179769039000&amp;amp;usg=AFQjCNGjNtsYfQ1p2hRHicD65s1HHn0t_w" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fpro.arcgis.com%2Fen%2Fpro-app%2Ftool-reference%2Fspatial-analyst%2Faggregate.htm" rel="nofollow" style="color: #1155cc; background-color: #ffffff; font-size: 14px;" target="_blank"&gt;Aggregate&lt;/A&gt;&amp;nbsp;tool to evaluate minimum and maximum first, then I used Raster calculation to calculate range (Max - Min).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your time.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2017 10:19:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554329#M43339</guid>
      <dc:creator>Madan_KrishnaSuwal</dc:creator>
      <dc:date>2017-11-19T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate range of pixel values under larger pixel of another raster</title>
      <link>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554330#M43340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do try a comparison in case you have multipart zones since the mins and max values can differ between them. When you have time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2017 12:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-range-of-pixel-values-under-larger-pixel/m-p/554330#M43340</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-19T12:12:02Z</dc:date>
    </item>
  </channel>
</rss>

