[GRASS-SVN] r57110 - grass-addons/grass7/raster/r.basin

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 14 04:04:12 PDT 2013


Author: madi
Date: 2013-07-14 04:04:11 -0700 (Sun, 14 Jul 2013)
New Revision: 57110

Modified:
   grass-addons/grass7/raster/r.basin/r.basin.py
Log:
fix d8cut for windows

Modified: grass-addons/grass7/raster/r.basin/r.basin.py
===================================================================
--- grass-addons/grass7/raster/r.basin/r.basin.py	2013-07-14 10:24:51 UTC (rev 57109)
+++ grass-addons/grass7/raster/r.basin/r.basin.py	2013-07-14 11:04:11 UTC (rev 57110)
@@ -158,7 +158,7 @@
     grass.run_command('r.stream.extract', elevation = r_elevation, 
                                           accumulation = r_accumulation, 
                                           threshold = th, 
-                                          d8cut = 'infinity', 
+                                          d8cut =  1000000000, 
                                           mexp = 0, 
                                           stream_rast = r_stream_e,  
                                           direction = r_drainage_e, 



More information about the grass-commit mailing list