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

Paulo van Breugel p.vanbreugel at gmail.com
Mon Nov 9 07:23:25 PST 2015


On Mon, Nov 9, 2015 at 4:03 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

>
>
> 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?
>


Mmm, I actually can't. Sorry, for wasting your time. Not sure what
happened, but I can't replicate this anymore after a reboot of GRASS.


>
> 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/4b88c8ad/attachment.html>


More information about the grass-dev mailing list