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.
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?
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?