[GRASS-SVN] r65930 - grass-addons/grass7/raster/r.fidimo

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 14 06:55:30 PDT 2015


Author: jradinger
Date: 2015-08-14 06:55:30 -0700 (Fri, 14 Aug 2015)
New Revision: 65930

Modified:
   grass-addons/grass7/raster/r.fidimo/r.fidimo.py
Log:
Overwrite set TRUE in r.mapcalc function to calculate density_final_corrected for confidence intervals and fit

Modified: grass-addons/grass7/raster/r.fidimo/r.fidimo.py
===================================================================
--- grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2015-08-14 09:04:03 UTC (rev 65929)
+++ grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2015-08-14 13:55:30 UTC (rev 65930)
@@ -1104,7 +1104,8 @@
 		grass.mapcalc("$density_final_corrected = $density_final/$scalar",
 					density_final_corrected = "density_final_corrected_%d" % os.getpid(),
 					density_final = "density_final_%d" % os.getpid(),
-					scalar = scalar)
+					scalar = scalar,
+					overwrite=True)
 
 		grass.run_command("g.copy", 
 		raster = "density_final_corrected_%d" % os.getpid() + "," + output_fidimo+"_"+i)



More information about the grass-commit mailing list