[GRASS-SVN] r59035 - grass-addons/grass7/raster/r.shalstab
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 14 01:22:54 PST 2014
Author: kikapu
Date: 2014-02-14 01:22:54 -0800 (Fri, 14 Feb 2014)
New Revision: 59035
Modified:
grass-addons/grass7/raster/r.shalstab/r.shalstab.py
Log:
R.shalstab: change critic rain classification
Modified: grass-addons/grass7/raster/r.shalstab/r.shalstab.py
===================================================================
--- grass-addons/grass7/raster/r.shalstab/r.shalstab.py 2014-02-14 09:19:32 UTC (rev 59034)
+++ grass-addons/grass7/raster/r.shalstab/r.shalstab.py 2014-02-14 09:22:54 UTC (rev 59035)
@@ -160,7 +160,7 @@
grass.mapcalc("assoluta_stab=(1-1000/($gamma))*tan($phy)",
gamma = gamma,
phy = phy)
- grass.mapcalc("assoluta_cond=if(assoluta_stab>tan(slopes),null(),0)")
+ grass.mapcalc("assoluta_cond=if(assoluta_stab>tan(slopes),9999,0)")
#unstable condition
grass.mapcalc("assoluta_instab=C/cos(slopes)+(tan($phy))",
phy = phy)
More information about the grass-commit
mailing list