[GRASS-SVN] r52760 - grass/trunk/scripts/i.spectral

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 20 03:46:26 PDT 2012


Author: neteler
Date: 2012-08-20 03:46:26 -0700 (Mon, 20 Aug 2012)
New Revision: 52760

Modified:
   grass/trunk/scripts/i.spectral/i.spectral.py
Log:
get the r.what call right

Modified: grass/trunk/scripts/i.spectral/i.spectral.py
===================================================================
--- grass/trunk/scripts/i.spectral/i.spectral.py	2012-08-20 10:43:12 UTC (rev 52759)
+++ grass/trunk/scripts/i.spectral/i.spectral.py	2012-08-20 10:46:26 UTC (rev 52760)
@@ -189,7 +189,7 @@
     numbands = len(rastermaps)
 
     what = []
-    s = grass.read_command('r.what', input = rastermaps, coordinates = coords, quiet = True)
+    s = grass.read_command('r.what', map = rastermaps, coordinates = coords, quiet = True)
     for l in s.splitlines():
 	f = l.split('|')
 	for i, v in enumerate(f):



More information about the grass-commit mailing list