Branched from: Zonal statistics - percentiles
Hi Xander Bakker thank you for above script. I have tested and it works using my data.
But I have question. Let say I have timeseries raster data from 1981 to 2016, its the max of daily rainfall in a year, so its just 1 raster data for 1 year. For each cell in x,y location from 1981 to 2016, I would like to calculate the percentile of i.e 90%.
How to calculate the percentile for each cell from timeseries raster using your script?