[GRASS-SVN] r64458 - grass-addons/grass7/raster/r.popgrowth

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 4 01:24:00 PST 2015


Author: jradinger
Date: 2015-02-04 01:24:00 -0800 (Wed, 04 Feb 2015)
New Revision: 64458

Modified:
   grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py
Log:


Modified: grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py
===================================================================
--- grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py	2015-02-04 09:23:20 UTC (rev 64457)
+++ grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py	2015-02-04 09:24:00 UTC (rev 64458)
@@ -260,11 +260,8 @@
 		ricker_map.write("exponential_output_tmp_%d" % os.getpid())
 		tmp_map_rast.append("exponential_output_tmp_")
 
-		#remove temporary arrays
-		grass.try_remove(n0_map.filename)
-		grass.try_remove(exponential_map.filename)
-		grass.try_remove(r.filename)
 
+
 		# Retransform in case of patches
 		if options['population_patches']:
 			grass.mapcalc("$exponential_output = if($n0,(round(($n0*1.0/$n0_tmp)*$exponential_output_tmp)),null())",
@@ -341,11 +338,6 @@
 		ricker_map.write("ricker_output_tmp_%d" % os.getpid())
 		tmp_map_rast.append("ricker_output_tmp_")
 
-		#remove temporary arrays
-		grass.try_remove(n0_map.filename)
-		grass.try_remove(ricker_map.filename)
-		grass.try_remove(r.filename)
-		grass.try_remove(k.filename)		
 
 		# Retransform in case of patches
 		if options['population_patches']:



More information about the grass-commit mailing list