<?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: How to create a percentile raster from .gdb containing multiple rasters? in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588627#M8547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with numpy, there is np.nanpercentile which accounts for nodata cells&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/208011"&gt;How to calculate the percentile for each cell from timeseries raster&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A raster stack (3D) can be easily created&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/02/06/cell-statistics-made-easy-raster-data-over-time"&gt;/blogs/dan_patterson/2018/02/06/cell-statistics-made-easy-raster-data-over-time&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and any statistic can be done.&lt;/P&gt;&lt;P&gt;If you have a ridiculously large data set, then it would be useful to split into chunks and read from a *.npy file using numpy memory management. &amp;nbsp;&lt;/P&gt;&lt;P&gt;As for your questions, the tools to make the raster stack are given in your thread.&lt;/P&gt;&lt;P&gt;Rasters in a gdb are not really the preferred rasters, but if that is all you have, just make sure you specify an output raster as a tif in a folder.&amp;nbsp; I would also np.save(…) your array in numpy format, they are very easy to work with for future work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2019 18:05:19 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-03-11T18:05:19Z</dc:date>
    <item>
      <title>How to create a percentile raster from .gdb containing multiple rasters?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588626#M8546</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 am trying to create a 5th and 95th percentile raster from a geodatabase containing multiple rasters (ranging from 26-60 rasters per .gdb).&amp;nbsp; Essentially, I would like to perform the same function as cell stats (mean, max, median, etc) but calculating percentiles rather than simple stats.&amp;nbsp; I've seen a few threads on this matter (this one in particular seems useful:&amp;nbsp;&lt;A href="https://community.esri.com/thread/168133"&gt;Pool of raster values to calculate percentile&lt;/A&gt;)&amp;nbsp;but none that seem to address how to do make an output percentile raster using rasters located in a .gdb.&amp;nbsp; I haven't begun developing the code yet and wanted to solicit answers to these questions before beginning.&amp;nbsp; A few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is there a tool that can do this or will I need to develop Python code using numpy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Is it easier to do this with rasters located inside a folder or can I perform this calculation with rasters located in a .gdb?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588626#M8546</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-03-11T17:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentile raster from .gdb containing multiple rasters?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588627#M8547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with numpy, there is np.nanpercentile which accounts for nodata cells&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/208011"&gt;How to calculate the percentile for each cell from timeseries raster&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A raster stack (3D) can be easily created&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/02/06/cell-statistics-made-easy-raster-data-over-time"&gt;/blogs/dan_patterson/2018/02/06/cell-statistics-made-easy-raster-data-over-time&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and any statistic can be done.&lt;/P&gt;&lt;P&gt;If you have a ridiculously large data set, then it would be useful to split into chunks and read from a *.npy file using numpy memory management. &amp;nbsp;&lt;/P&gt;&lt;P&gt;As for your questions, the tools to make the raster stack are given in your thread.&lt;/P&gt;&lt;P&gt;Rasters in a gdb are not really the preferred rasters, but if that is all you have, just make sure you specify an output raster as a tif in a folder.&amp;nbsp; I would also np.save(…) your array in numpy format, they are very easy to work with for future work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 18:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588627#M8547</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-03-11T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentile raster from .gdb containing multiple rasters?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588628#M8548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;resolved? or still open?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Apr 2019 12:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/how-to-create-a-percentile-raster-from-gdb/m-p/588628#M8548</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-14T12:37:41Z</dc:date>
    </item>
  </channel>
</rss>

