AnsweredAssumed Answered

How to create a percentile raster from .gdb containing multiple rasters?

Question asked by jcoughli_EPA on Mar 11, 2019
Latest reply on Apr 14, 2019 by Dan_Patterson



I am trying to create a 5th and 95th percentile raster from a geodatabase containing multiple rasters (ranging from 26-60 rasters per .gdb).  Essentially, I would like to perform the same function as cell stats (mean, max, median, etc) but calculating percentiles rather than simple stats.  I've seen a few threads on this matter (this one in particular seems useful: Pool of raster values to calculate percentile) but none that seem to address how to do make an output percentile raster using rasters located in a .gdb.  I haven't begun developing the code yet and wanted to solicit answers to these questions before beginning.  A few questions:


1. Is there a tool that can do this or will I need to develop Python code using numpy?


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?


Any help would be greatly appreciated.  Thanks!