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

GRASS GIS trac at osgeo.org
Fri Jan 16 04:14:23 PST 2015


#2549: Wrong quartiles in r.hypso.py
--------------------------+-------------------------------------------------
  Reporter:  AtimGrass    |       Owner:  grass-dev@…              
      Type:  defect       |      Status:  closed                   
  Priority:  normal       |   Milestone:  7.0.0                    
 Component:  Default      |     Version:  unspecified              
Resolution:  fixed        |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by hellik):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [ticket:2549 AtimGrass]:
 > 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.

 fixed by r64209.

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



More information about the grass-dev mailing list