Re: [GRASS-user] How to create a GRASS addon that returns something when using read_command()

2021-01-15 Thread Cam Morlus
there is a module that has a UI that could be a good template for what > you want to do, you can use e.g. “r.info –script” to get a script > template for the UI and general content. > > > > Cheers > > Stefan > > > > > > *From:* grass-user *On Behalf Of *Cam

Re: [GRASS-user] How to create a GRASS addon that returns something when using read_command()

2021-01-14 Thread Stefan Blumentrath
at you want to do, you can use e.g. “r.info –script” to get a script template for the UI and general content. Cheers Stefan From: grass-user On Behalf Of Cam Morlus Sent: torsdag 14. januar 2021 21:23 To: grass-user@lists.osgeo.org Subject: [GRASS-user] How to create a GRASS addon that retur

[GRASS-user] How to create a GRASS addon that returns something when using read_command()

2021-01-14 Thread Cam Morlus
Dear All, I am using grass 7.8.4. I'm calling commands externally using the Grass Python Scripting Library in Python. I wanted to know when you create an addon in python how to end the addon script so that when you call that addon with read_command() it returns something. I would like to have