Opened 14 years ago

Closed 7 years ago

#131 closed enhancement (fixed)

Tool to assist creation (design) of simple scripts within from the wxpython-GUI

Reported by: nikos Owned by: grass-dev@…
Priority: minor Milestone: 6.5.0
Component: Python Version: unspecified
Keywords: GUI, script creation Cc: martinl
CPU: Unspecified Platform: Unspecified

Description

I think the title (summary) is precise enough ;-) = Would be great for beginners.

Examples of simple script (or one-line command) to import all *.tif files from a directory:

for i in *.tif; do r.in.gdal in=$i out=echo $i | cut -d"." -f1; done

Change History (8)

comment:1 Changed 14 years ago by hamish

see also the shell script or python compatible parser-wrapper generator:

g.module --script

Hamish

comment:2 Changed 12 years ago by nikos

CPU: Unspecified
Platform: Unspecified

Martin,

is this a ticket that can be closed? I am not following closely the new achievements with respect to the wxGUI but I think I've spotted something relevant with this wish.

Nikos

comment:3 in reply to:  2 Changed 12 years ago by martinl

Cc: martinl added
Milestone: 6.4.06.5.0

Replying to nikos:

Martin,

is this a ticket that can be closed? I am not following closely the new achievements with respect to the wxGUI but I think I've spotted something relevant with this wish.

take a look at wxGUI Modeler which allows exporting model to Python script. Note that development of wxGUI modeler is on the beginning.

http://grass.osgeo.org/wiki/WxGUI_Modeler

comment:4 Changed 9 years ago by hamish

done by the now-developed modeler?

comment:5 Changed 9 years ago by hamish

Component: DefaultPython

comment:6 Changed 9 years ago by hamish

does the modeler save out to a .py template, looking like a regular grass python script might? (if so, way cool)

Hamish

comment:7 in reply to:  6 Changed 9 years ago by martinl

Replying to hamish:

does the modeler save out to a .py template, looking like a regular grass python script might? (if so, way cool)

File -> Export to Python

comment:8 Changed 7 years ago by wenzeslaus

Resolution: fixed
Status: newclosed

Closing as fixed since we have the Save/Export? as Python script in wxGUI Graphical Modeler.

If something does not work or you want more functionality, please create a new ticket.

Note: See TracTickets for help on using tickets.