[GRASS-SVN] r60938 - grass-addons/grass7/raster/r.valley.bottom
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 24 00:45:32 PDT 2014
Author: hellik
Date: 2014-06-24 00:45:31 -0700 (Tue, 24 Jun 2014)
New Revision: 60938
Modified:
grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py
Log:
r.valley.bottom: fix typo
Modified: grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py
===================================================================
--- grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py 2014-06-24 04:07:13 UTC (rev 60937)
+++ grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py 2014-06-24 07:45:31 UTC (rev 60938)
@@ -559,7 +559,7 @@
p4 = (math.log10((4 - 0.5) / 0.1)) / math.log10(1.5)
- grass.mapcalc("W4 = 1 - (1.0 / (1.0 + pow ( ( VF4 / 0.4 ), $p ) ) )", p = p3)
+ grass.mapcalc("W4 = 1 - (1.0 / (1.0 + pow ( ( VF4 / 0.4 ), $p ) ) )", p = p4)
grass.message( "Step 4: Calculation of weight W4 done." )
grass.message( "----" )
More information about the grass-commit
mailing list