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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 4 01:23:20 PST 2015


Author: jradinger
Date: 2015-02-04 01:23:20 -0800 (Wed, 04 Feb 2015)
New Revision: 64457

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


Modified: grass-addons/grass7/raster/r.fidimo/r.fidimo.py
===================================================================
--- grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2015-02-04 08:39:11 UTC (rev 64456)
+++ grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2015-02-04 09:23:20 UTC (rev 64457)
@@ -799,10 +799,6 @@
 				grass.debug(_("Write density from point to garray. unmasked"))
 				Density.write("density_from_point_unmasked_tmp_%d" % os.getpid())
 
-				#remove temporary arrays
-				grass.try_remove(x1.filename)
-				grass.try_remove(x2.filename)
-				grass.try_remove(Density.filename)
 		
 				# Mask density output because Density.write doesn't provide nulls()
 				grass.mapcalc("$density_from_point = if($distance_from_point>=0, $density_from_point_unmasked, null())",
@@ -1012,10 +1008,6 @@
 										
 					RealisedDensity.write("realised_density_"+str(cat))
 
-					#remove temporary arrays
-					grass.try_remove(CorrectedDensity.filename)
-					grass.try_remove(RealisedDensity.filename)
-
 					grass.run_command("r.null", map="realised_density_"+str(cat), null="0")
 
 					# Get a list of all realised densities processed so far within this segement



More information about the grass-commit mailing list