[GRASS-user] i.spectral and gnuplot
Stuart Edwards
sedwards2 at cinci.rr.com
Wed Jun 28 00:52:13 EDT 2006
Hamish, Francesco
After fearing for my sanity, I think I may have found the problem.
The script in Lorenzo's binary distribution is not the same as the
one that you pointed me to in spite of identical headers. Attached
'i.spectral' is from the distribution, 'i.spectral2' is the script at
<http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/scripts/
i.spectral/i.spectral?rev=HEAD&content-type=text/plain>
The differences start at about line 51.
Tomorrow I'll have a crack at this again using the correct version!
Gnuplot does open on command from the shell and GRASS_GNUPLOT = /sw/
bin/gnuplot.
Regards
Stuart
-------------- next part --------------
Skipped content of type multipart/appledouble-------------- next part --------------
Skipped content of type multipart/appledouble-------------- next part --------------
On Jun 26, 2006, at 10:58 PM, Hamish wrote:
> Stuart Edwards wrote:
>
>> Now when I run i.spectral the following error is returned:
>>
>> line 229: gnuplot: command not found
>>
>> Is this a path problem on my part or something in the script? Is
>> $GNUPLOT (from line 229) the same as GRASS_GNUPLOT (the
>> environmental variable)? Wish I knew more about this! Thanks for
>> any advice.
>
>
> ? I don't see a $GNUPLOT at or near line 229 in any version.
> what does line 229 look like?
>
> can you try using the latest CVS version?
>
> http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/scripts/
> i.spectral/i.spectral?rev=HEAD&content-type=text/plain
>
>
> before you start the GRASS from a terminal shell, or placed in
> .grass.bashrc have you set (assuming you use Bash and not Csh)
>
> GRASS_GNUPLOT=/sw/wherever/gnuplot/is/gnuplot
> export GRASS_GNUPLOT
>
> ?
>
>
>
> Hamish
More information about the grass-user
mailing list