[GRASS-SVN] r58747 - grass-addons/grass7/raster/r.shalstab
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 20 09:48:46 PST 2014
Author: kikapu
Date: 2014-01-20 09:48:45 -0800 (Mon, 20 Jan 2014)
New Revision: 58747
Modified:
grass-addons/grass7/raster/r.shalstab/r.shalstab.py
Log:
R.shalstab: A model for shallow landslide susceptibility
Modified: grass-addons/grass7/raster/r.shalstab/r.shalstab.py
===================================================================
--- grass-addons/grass7/raster/r.shalstab/r.shalstab.py 2014-01-19 21:07:56 UTC (rev 58746)
+++ grass-addons/grass7/raster/r.shalstab/r.shalstab.py 2014-01-20 17:48:45 UTC (rev 58747)
@@ -158,7 +158,7 @@
phy=phy, gamma=gamma)
# Calculation of critical rain (mm / hr) and riclassification
grass.mapcalc("i_cri_mm=i_crit_m*24000")
- reclass_rules = "0 thru 50 = 0\n50 thru 100 = 3\n100 thru 200 = 4\n" \
+ reclass_rules = "0 thru 50 = 2\n50 thru 100 = 3\n100 thru 200 = 4\n" \
"200 thru 400 = 5\n400 thru 999 = 6"
grass.write_command('r.reclass', input='i_cri_mm', output='i_recl',
overwrite='True', rules='-', stdin=reclass_rules)
More information about the grass-commit
mailing list