[GRASS-dev] Re: [GRASS GIS] #474: r.quantile: segfaults with
percentile=100
GRASS GIS
trac at osgeo.org
Tue Feb 10 18:58:21 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 hamish):
Replying to [comment:1 glynn]:
> This also fixes a bug where the quantile corresponds to the
> last value in the bin (e.g. if there is only one value in the
> bin). The interpolation will use the first value from the bin
> for the next quantile, which could be way off.
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?
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/474#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list