[GRASS-user] i.spectral and gnuplot

francesco francesco.pirotti at unipd.it
Mon Jun 26 12:00:39 EDT 2006


Stuart,

I don't know about Mac's binaries, but i.spectral is actually a script and 
it is accessible using any editor.  Check your script folder in your grass 
distribution and remove the gnuplot check strings which Glynn pointed out.

Cheers,
Francesco

At 15.43 26/06/2006, you wrote:
>Glynn, Hamish
>
>Thanks for looking into it.  Since I'm hooked on Lorenzo's binaries
>I'll have to wait for his next update.
>
>Stuart
>On Jun 24, 2006, at 10:00 AM, Glynn Clements wrote:
>
>>
>>Stuart Edwards wrote:
>>
>>>I'm trying to run i.spectral which of course requires gnuplot.  I
>>>have gnuplot 4 installed (via fink) but i.spectral can't see it and
>>>asks for it to be installed.  I made GRASS_GNUPLOT = /sw/bin but that
>>>didn't help.  I'm running 6.1cvs on OSX 10.4.6.  Any suggestions on
>>>how to make gnuplot visible to i.spectral would be much appreciated.
>>
>>There is a gratuitous check for whether gnuplot is in the path:
>>
>>         #check if present
>>         if [ ! -x "`which gnuplot`" ] ; then
>>             echo "$PROG: gnuplot required, please install first" 2>&1
>>             exit 1
>>         fi
>>
>>Remove that check from the i.spectral script. It actully uses
>>$GRASS_GNUPLOT to invoke it.
>>
>>--
>>Glynn Clements <glynn at gclements.plus.com>
>>
>>_______________________________________________
>>grassuser mailing list
>>grassuser at grass.itc.it
>>http://grass.itc.it/mailman/listinfo/grassuser
>
>_______________________________________________
>grassuser mailing list
>grassuser at grass.itc.it
>http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list