[GRASS-SVN] r58749 - grass-addons/grass7/raster/r.shalstab
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 20 10:17:31 PST 2014
Author: kikapu
Date: 2014-01-20 10:17:31 -0800 (Mon, 20 Jan 2014)
New Revision: 58749
Modified:
grass-addons/grass7/raster/r.shalstab/r.shalstab.py
Log:
add flag 'f' to r.watershed
Modified: grass-addons/grass7/raster/r.shalstab/r.shalstab.py
===================================================================
--- grass-addons/grass7/raster/r.shalstab/r.shalstab.py 2014-01-20 18:01:04 UTC (rev 58748)
+++ grass-addons/grass7/raster/r.shalstab/r.shalstab.py 2014-01-20 18:17:31 UTC (rev 58749)
@@ -150,7 +150,7 @@
# calculate contribution area
grass.run_command('r.watershed', elevation=r_elevation,
- accumulation='accum')
+ accumulation='accum', flags='f')
grass.mapcalc("A=accum*((ewres()+nsres())/2)*((ewres()+nsres())/2)")
# calculate 1(m/day)
More information about the grass-commit
mailing list