[GRASS-SVN] r60850 - grass-addons/grass7/raster/r.fidimo
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 17 04:03:00 PDT 2014
Author: jradinger
Date: 2014-06-17 04:03:00 -0700 (Tue, 17 Jun 2014)
New Revision: 60850
Modified:
grass-addons/grass7/raster/r.fidimo/r.fidimo.py
Log:
update changes in r.stream.basins: dirs -> direction; coors -> coordinates
minor changes in gui description
Modified: grass-addons/grass7/raster/r.fidimo/r.fidimo.py
===================================================================
--- grass-addons/grass7/raster/r.fidimo/r.fidimo.py 2014-06-16 21:17:26 UTC (rev 60849)
+++ grass-addons/grass7/raster/r.fidimo/r.fidimo.py 2014-06-17 11:03:00 UTC (rev 60850)
@@ -36,7 +36,7 @@
#% key: barriers
#% type: string
#% gisprompt:old,vector,vector
-#% description: Barrier point file
+#% description: Barrier point file (vector map)
#% required: no
#% guisection: Stream parameters
#%end
@@ -866,8 +866,8 @@
#Defining upstream the barrier
grass.run_command("r.stream.basins",
overwrite = True,
- dirs = "flow_direction_tmp_%d" % os.getpid(),
- coors = coors_barriers,
+ direction = "flow_direction_tmp_%d" % os.getpid(),
+ coordinates = coors_barriers,
basins = "upstream_barrier_tmp_%d" % os.getpid())
grass.run_command("r.null", map="density_"+str(cat), setnull="0")
More information about the grass-commit
mailing list