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

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


Author: jradinger
Date: 2013-05-29 07:52:22 -0700 (Wed, 29 May 2013)
New Revision: 56481

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	2013-05-29 14:51:23 UTC (rev 56480)
+++ grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2013-05-29 14:52:22 UTC (rev 56481)
@@ -424,7 +424,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