[GRASS-user] [d.*] command not executing from standalone script

Vaclav Petras wenzeslaus at gmail.com
Thu Jan 5 07:02:54 PST 2017


[moving to mailing list]

On Thu, Jan 5, 2017 at 1:45 AM, Ang Sherpa <angsherpa232 at gmail.com> wrote:

> 4. GRASS GIS module any example?


Here are two examples:

https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py
https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.catchment/r.catchment.py

Note the comments starting #%. These are specifying the interface, both
command line and GUI. For example, if you specify that you want coordinates
as input, you will get a button to get coordinates by clicking in a Map
Display assuming that you are running the module in wxGUI (see r.profile
dialog).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170105/cadd86e1/attachment.html>


More information about the grass-user mailing list