[GRASS-dev] GRASS_ADDON_PATH in GRASS6.4 UbuntuOS

Franz Schiller franzschiller1975 at gmail.com
Wed Feb 3 08:35:29 EST 2010


Hello All

Regarding a message that Hamish sent me a last  week ago, related with:
>FWIW, I try to copy custom stuff into a dir outside the install
>dir which is pointed to by the GRASS_ADDON_PATH environment
>variable, that way I can replace & upgrade grass versions
>without accidentally deleting all my custom scripts.
>see the "variables" help page.

I have added the following
export GRASS_ADDON_PATH=/usr/local/myproject
in  grass64 (file located in /usr/local/bin)
When I run my function (i.ndvi) in  Command line, in WXPYTHON GUI,  instead
of opening my function module, with all tabs, bla bla, an error window
appears stating:
Execution failed: 'i.ndvi'

Details:
Error:

And in command output Are printed errors regarding that required data for
this script was not inserted
RROR: Required parameter <bandnir> not set:
    (raster input map (Near Infrared)).
ERROR: Required parameter <bandred> not set:
    (raster input map (Red)).
ERROR: Required parameter <ndvi> not set:
    (raster output NDVI map).

Do I haRROR: Required parameter <bandnir> not set:
    (raster input map (Near Infrared)).
ERROR: Required parameter <bandred> not set:
    (raster input map (Red)).
ERROR: Required parameter <ndvi> not set:
    (raster output NDVI map).

is it possible to run scripts, by using Module window, that are located in a
external folder?
It seems like g.parser is not recognizing MODULE parameters

Thank you

Kim  (in a typical latin lunch break :) )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100203/3881341f/attachment.html


More information about the grass-dev mailing list