[GRASS-dev] [GRASS GIS] #518: negative flow accumulation with r.watershed SFD or MFD

GRASS GIS trac at osgeo.org
Thu Mar 5 14:49:13 EST 2009


#518: negative flow accumulation with r.watershed SFD or MFD
-------------------------+--------------------------------------------------
 Reporter:  dylan        |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:                           
Component:  default      |     Version:  svn-develbranch6         
 Keywords:  r.watershed  |    Platform:  Linux                    
      Cpu:  x86-32       |  
-------------------------+--------------------------------------------------
 Hi,

 I just noticed that there are negative flow accumulation numbers in the
 output from the recently updated r.watershed. I am working with today's
 SVN (develbranch_6). Here is an example from the spearfish dataset:

 {{{
 g.region rast=elevation.10m
 r.watershed --o -f elevation=elevation.10m accumulation=acc
 r.info acc

 # SFD:
 Range of data:    min = -811721.000000  max = 735505.000000

 # MFD:
 Range of data:    min = -641132.649622  max = 720490.193602
 }}}

 This looks like an overflow problem...but I cannot seem to find anything
 obvious in the code.

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


More information about the grass-dev mailing list