[GRASS-dev] Re: [GRASS-user] Resampling with percent cover

Glynn Clements glynn at gclements.plus.com
Thu Apr 30 02:14:47 EDT 2009


Hamish wrote:

> > Create a reclass of the input such that shrub=1, non-shrub=0 and
> > cloud=null, then resample that with "r.[resamp.]stats -n method=average ...".
> 
> does anyone feel up to adding method=trimmean (+ a trim= option) to
> r.resamp.stats (see r.in.xyz) and/or percentile= (see r.univar) instead
> of just fixed median,q1,q3,perc90 levels?

Rather than hack this in with a global variable, I'll modify the stats
library functions to take an additional void* argument.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list