[GRASS-dev] Re: [GRASS GIS] #873: r.univar: allow percentile= to be doubles

GRASS GIS trac at osgeo.org
Sat Jan 16 18:27:20 EST 2010


#873: r.univar: allow percentile= to be doubles
--------------------------+-------------------------------------------------
  Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  major        |   Milestone:  6.5.0                    
 Component:  Raster       |     Version:  svn-develbranch6         
Resolution:               |    Keywords:  r.univar, stats          
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [ticket:873 hamish]:

 > for `r.univar` it is useful to have sub-integer percentile output, e.g.
 for calculating confidence intervals/sigma at 68.2689%, 95.45%, and
 99.73%. Currently `r.univar` only accepts whole integers for the
 percentile=. Actually it's worse: it accepts floats on the command line
 but they quietly get truncated into integers.(!)

 > See [http://article.gmane.org/gmane.comp.gis.grass.user/20744]

 > Currently `r.colors.stddev` is hit by this and probably anyone doing
 stats on map values.

 Note that `r.quantile` supports non-integer percentiles, works with large
 maps, and is significantly more efficient.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/873#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list