[GRASS-dev] r.quantile not respecting region and mask

Anna Petrášová kratochanna at gmail.com
Mon Nov 9 07:03:43 PST 2015


On Mon, Nov 9, 2015 at 9:11 AM, Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:

> Hi,
>
> Am I correct that r.quantile does not use/respect the region and mask? In
> the examples on the manual page (version 7.0 and 7.1) the region is first
> set to the input raster, which implies that the region settings do matter.
> No word on the mask in the manual page. In general, I would expect GRASS
> GIS functions to respect both the region and mask. If they do not, it might
> be a good idea to explicitly mention this in the manual page (as in most
> such cases is done I think)?
>
> Assuming that the above is no bug, would it be possible to add an option
> to have r.quantiles compute the quantiles respecting the region and mask?
>
> Regards,
>
> Paulo
>

Just quick test, but it seems to work for me, setting different region
changes results, as well setting mask. The actual values looked meaningful.
Could you provide a test case where it doesn't work?

Anna


> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151109/f10c19c7/attachment.html>


More information about the grass-dev mailing list