Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-24 Thread Martin Landa
Hi, 2010/12/23 Martin Landa landa.mar...@gmail.com: 2010/12/23 Martin Landa landa.mar...@gmail.com: [...] the problem has been report on trac [1], closed without any clue. hm, it seems to be bug in GRASS windows installer, sorry for noise. seems to be really mismatch of python versions.

Re: [GRASS-dev] Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-24 Thread Glynn Clements
Martin Landa wrote: the problem has been report on trac [1], closed without any clue. hm, it seems to be bug in GRASS windows installer, sorry for noise. seems to be really mismatch of python versions. The test script (below) is run by C:\Program Files

Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-23 Thread Martin Landa
Hi, 2010/12/8 Glynn Clements gl...@gclements.plus.com: The bug is in GetGRASSCmds in globalvar.py. It checks whether the last 4 characters of the filename are '.exe' or '.py'. As '.py' is only 3 characters, it will never match. The code should be using os.path.splitext(). fixed in r44691.

Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-23 Thread Martin Landa
Hi, 2010/12/8 Glynn Clements gl...@gclements.plus.com: ImportError: No module named collections It looks as though I don't have the collections module? That seems to be a common issue with Python on Windows. FWIW, the stock Python 2.6.4 installer for Windows does include this module. the

Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-23 Thread Daniel Victoria
Hi all, Maybe this could be a Xmas whish... Is there a way to have i.spectral work like the query raster value comand from the display window? I mean, whenever I click on any place on the raster, i.spectral would draw the spectral profile of a raster group? Cheers and a great new year to all

Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-07 Thread Daniel Victoria
You are right Glynn, I just checked i.spectral.py and it has the d.linegraph feature but, i.spectral is greyed out in wxpython gui and, when I try to run it from the command line (using Msys wingrass7svn), if I input a raster group I get the error: GRASS 7.0.svn i.spectral.py group=alos.radiance

[GRASS-user] i.spectral.py in WinGrass

2010-12-06 Thread Daniel Victoria
Hi all, I'm using WinGrass 7.0svn from the daily build and I just realized that i.spectral.py needs gnuplot. Is there a way to remove this dependency? Cheers Daniel ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] i.spectral.py in WinGrass

2010-12-06 Thread Glynn Clements
Daniel Victoria wrote: I'm using WinGrass 7.0svn from the daily build and I just realized that i.spectral.py needs gnuplot. It shouldn't need gnuplot. It shouldn't even try to use gnuplot unless you use the -g flag. The default behaviour is to use d.linegraph. -- Glynn Clements