[GRASS-dev] [GRASS GIS] #2020: r.volume gives wrong results on G7

GRASS GIS trac at osgeo.org
Tue Jul 2 14:47:51 PDT 2013


#2020: r.volume gives wrong results on G7
----------------------+-----------------------------------------------------
 Reporter:  madi      |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  7.0.0                    
Component:  Raster    |     Version:  svn-trunk                
 Keywords:  r.volume  |    Platform:  Linux                    
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by mmetz):

 Replying to [comment:7 hamish]:
 > > You can now file a bug for r.volume in G6.
 >
 > we may as well continue with this ticket since it isn't too complicated.
 Is it ok to open a CELL map as DCELL in grass6, or do we need a switch
 statement to use the correct read/isnull commands?

 I think it is ok to open CELL or FCELL maps as DCELL in grass6, IIRC
 various modules do so already.
 >
 > if skipping adding to sum because of a null, don't we need to 'count--'
 too? or else for the average sum/n has too big an n.
 > ?
 Right, fixed in r56987.

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



More information about the grass-dev mailing list