This is quite a simple question and I'm sure it's possible as I've seen it referenced in research articles (e.g. here, p.38). I have a raster with continuous values (0-1), and a vector dataset of a line. What I want as output is the 95th percentile of all cells intersecting the raster (the top 5 percentile is above this value).
So for example, if my raster is intersected by the line at 100 cells, I want the value of the 95th highest cell. Zonal statistics as table only seems to be able to output the median, mean, or maximum cell values. Is there any simple way to do this, in ArcGIS or arcpy?