[GRASS-SVN] r46410 - grass/trunk/scripts/r.reclass.area
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 24 12:06:56 EDT 2011
Author: neteler
Date: 2011-05-24 09:06:56 -0700 (Tue, 24 May 2011)
New Revision: 46410
Modified:
grass/trunk/scripts/r.reclass.area/r.reclass.area.py
Log:
fix r.reclass call
Modified: grass/trunk/scripts/r.reclass.area/r.reclass.area.py
===================================================================
--- grass/trunk/scripts/r.reclass.area/r.reclass.area.py 2011-05-24 14:50:06 UTC (rev 46409)
+++ grass/trunk/scripts/r.reclass.area/r.reclass.area.py 2011-05-24 16:06:56 UTC (rev 46410)
@@ -100,7 +100,7 @@
recfile = outfile + '.recl'
p1 = grass.pipe_command('r.stats', flags = 'aln', input = (clumpfile, infile), fs = '|')
- p2 = grass.feed_command('r.reclass', input = clumpfile, output = recfile)
+ p2 = grass.feed_command('r.reclass', input = clumpfile, output = recfile, rules = '-')
for line in p1.stdout:
f = line.rstrip('\r\n').split('|')
if len(f) < 5:
More information about the grass-commit
mailing list