[GRASS-user] i.spectral is not running in windows version of grass giss

2012-11-19 Thread SWAPAN GHOSH
Dear all,

Please provide me the way how to get the same output as from i.spectral.

Thanks  Regards,

Swapan
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Python Scripts

2012-11-19 Thread Paul Shapley
Hi All,

I'm trying to run a python script 'r.hazard.flood.py' in Grass 6.4.3RC1
(WinXP). I'm not sure where the script should be placed within the grass
installation so i can use the GUI 'File  Launch Script'. Should it be
placed here:

C:\Program Files\GRASS GIS 6.4.3RC1\Python27\Scripts
or
C:\Program Files\GRASS GIS 6.4.3RC1\etc\gui\scripts
or somewhere else.

If it is run from the 'gui\scripts' location it just crashes.

Regards,
-- 
Paul J. Shapley
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Python Scripts

2012-11-19 Thread Martin Landa
2012/11/19 Paul Shapley p.shap...@gmail.com:
 I'm trying to run a python script 'r.hazard.flood.py' in Grass 6.4.3RC1
 (WinXP). I'm not sure where the script should be placed within the grass
 installation so i can use the GUI 'File  Launch Script'. Should it be
 placed here:

you can place your script everywhere you want, eg.
`$HOME\grasscripts`. The dialog (`File-Launch script`) will add this
path to $GRASS_ADDON_PATH. Then the script should be callable from
GRASS.

 C:\Program Files\GRASS GIS 6.4.3RC1\Python27\Scripts
 or
 C:\Program Files\GRASS GIS 6.4.3RC1\etc\gui\scripts
 or somewhere else.

Normally the scripts are placed in $GISBASE\scripts. In GRASS 6.4 the
python scripts are not really fully supported. The normal user should
not touch the installation directory.

Putting the script into your home directory doesn't work?

Martin

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Python Scripts

2012-11-19 Thread Helmut Kudrnovsky
Hi,

you can place your script everywhere you want, eg.
`$HOME\grasscripts`. The dialog (`File-Launch script`) will add this
path to $GRASS_ADDON_PATH. Then the script should be callable from
GRASS. 

I've seen sometimes problems by added this to path.

is the path added to $GRASS_ADDON_PATH as per grass-session or permanently?
how can this entry be removed from $GRASS_ADDON_PATH?



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Python-Scripts-tp5017370p5017424.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user