[GRASS-user] Using r.quantile result with r.recode
Glynn Clements
glynn at gclements.plus.com
Wed Apr 17 07:25:48 PDT 2013
Pedro Venâncio wrote:
> > r.recode will treat boundary values as belonging to the upper range,
> > e.g. in the above example, 6.0 will get recoded to 2.
>
>
> So we can not use directly the result of r.quantile with -r flag in r.recode, right?
>
> In the example, 6 should be recoded to 1, right?
For real data, most of the boundary values won't be actual values from
the input data, but values derived from interpolating two adjacent
values. In that situation, it doesn't matter how r.recode handles
boundary values.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list