[GRASS-dev] [GRASS GIS] #2549: Wrong quartiles in r.hypso.py

GRASS GIS trac at osgeo.org
Thu Jan 15 10:34:17 PST 2015


#2549: Wrong quartiles in r.hypso.py
-------------------------+--------------------------------------------------
 Reporter:  AtimGrass    |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 in r.hypso.py:


 {{{
     ...
     ...
     print "==========================="
     print "Hypsometric | quantiles"
     print "==========================="
     print '%.0f' %findint(kl,0.025) , "|", 0.025
     print '%.0f' %findint(kl,0.05) , "|", 0.05
     print '%.0f' %findint(kl,0.1) , "|", 0.1
     print '%.0f' %findint(kl,0.25) , "|", 0.25
     print '%.0f' %findint(kl,0.5) , "|", 0.5
     print '%.0f' %findint(kl,0.75) , "|", 0.75
     print '%.0f' %findint(kl,0.7) , "|", 0.7
     print '%.0f' %findint(kl,0.9) , "|", 0.9
     print '%.0f' %findint(kl,0.975) , "|", 0.975
     ...
 }}}


 after the 0.75 quantile there should come the 0.9 and then the 0.95
 quantile.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2549>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list