Glynn Clements 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.
In r36918, aggregate functions take an additional argument, and r.resamp.stats, r.series and r.neighbors support method=quantile and a quantile= argument. -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
