[GRASS-user] Script practices

Markus Neteler neteler at osgeo.org
Tue Sep 25 13:02:53 PDT 2018


On Tue, Sep 25, 2018 at 5:30 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
>    Does grass have script style standards similar to those of R, Python, and
> similar languages? Is there a standard for file name suffixes equivalent to
> .R and .py?

The suffixes depend on the language (.sh for shell in addition to
those listed above).

>    The Programmer's Manual focuses on module development; is there an
> equivalent for end users scripting analyses?

You may refer to
- https://trac.osgeo.org/grass/wiki/Submitting/Python
- the scripts included in the source code under scripts/

Shell scripts are also supported, for that check the scripts included
in the GRASS GIS 6.x source code under scripts/

Markus


More information about the grass-user mailing list