Hi,

I have a doubt about using the r.quantile output with r.recode.

r.quantile returns the upper limit value corresponding to each class, right?

But r.recode uses r.quantile result as closed interval in the lower value and open interval in the upper value. In other words, assuming that r.quantile returns the following result:

2.000000:6.000000:1

6.000000:8.000000:2

8.000000:12.000000:3

12.000000:20.000000:4

20.000000:872.727295:5

r.recode will use these data as follows:

[2.000000:6.000000[ -> 1

[6.000000:8.000000[ -> 2

[8.000000:12.000000[ -> 3

[12.000000:20.000000[ -> 4

[20.000000:872.727295[ -> 5

But this is not correct. According to quantiles method, the reclassification should be as follows:

]2.000000:6.000000] -> 1

]6.000000:8.000000] -> 2

]8.000000:12.000000] -> 3

]12.000000:20.000000] -> 4

]20.000000:872.727295] -> 5

or am I wrong?

Thanks!

Best regards,

Pedro Venâncio