[GRASS-user] Module to calculate percentile within a moving window?
tristan.nunez at gmail.com
Sat Feb 19 16:25:30 EST 2011
Dear GRASS users,
I'm a new GRASS user, and need to calculate the percentile rank of a
cell within a moving window. Specifically, from a raster of wildlife
habitat quality (ranked from 1 to 100) at 100m resolution, I would
like to find the percentile rank of each focal cell relative to all of
its neighboring cells within 20km of the focal cell - with an analysis
extent of the western United States.
It looks like r.neighbors calculates other moving window statistics
(but not percentile rank), and r.univar calculates percentile rank. Is
there a module that does both, or a way to make r.univar calculate
percentile rank within a moving window? Would there be a relatively
simple way to script this?
More information about the grass-user