[GRASS-dev] Re: [GRASS GIS] #474: r.quantile: segfaults with
percentile=100
GRASS GIS
trac at osgeo.org
Wed Feb 11 05:21:46 EST 2009
#474: r.quantile: segfaults with percentile=100
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: Raster | Version: svn-develbranch6
Resolution: fixed | Keywords: r.quantile
Platform: Linux | Cpu: x86-32
---------------------+------------------------------------------------------
Comment (by glynn):
Replying to [comment:4 hamish]:
> I notice that if you do 'quant=3' you only get 2 results, and 'quant=1'
gives no output. (all others do the same, report n-1)
>
> Is this intended because 3 bins will have two separators (at 33% and
66%), or is it a bug?
It's intended so that quant=N gives "N-tiles", e.g. quant=4 gives
quartiles, quant=10 gives deciles, etc. AIUI, the convention is not to
include the endpoints, e.g. "quartiles" are given as 25%, 50%, and 75%.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/474#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list