[GRASS-SVN] r56480 - grass-addons/grass6/raster/r.fidimo

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 29 07:51:23 PDT 2013


Author: jradinger
Date: 2013-05-29 07:51:23 -0700 (Wed, 29 May 2013)
New Revision: 56480

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


Modified: grass-addons/grass6/raster/r.fidimo/r.fidimo.py
===================================================================
--- grass-addons/grass6/raster/r.fidimo/r.fidimo.py	2013-05-29 14:45:36 UTC (rev 56479)
+++ grass-addons/grass6/raster/r.fidimo/r.fidimo.py	2013-05-29 14:51:23 UTC (rev 56480)
@@ -410,7 +410,7 @@
 	grass.mapcalc("$distance_raster_buffered_tmp = if($buffered_river_tmp==2,$largest_cost_value*2,$distance_raster_tmp)",
 					distance_raster_buffered_tmp = "distance_raster_buffered_tmp_%d" % os.getpid(),
 					buffered_river_tmp = "buffered_river_tmp_%d" % os.getpid(),
-					largest_cost_value = "largest_cost_value_%d" % os.getpid(),
+					largest_cost_value = largest_cost_value,
 					distance_raster_tmp = "distance_raster_tmp_%d" % os.getpid())
 
 	grass.run_command("r.watershed", #??? Set flag "s" for single flow ???



More information about the grass-commit mailing list