Opened 14 years ago

Closed 8 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 by hamish, 14 years ago

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

g.module --script

Hamish

comment:2 by nikos, 12 years ago

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

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

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 by hamish, 9 years ago

done by the now-developed modeler?

comment:5 by hamish, 9 years ago

Component: DefaultPython

comment:6 by hamish, 9 years ago

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

Hamish

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

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 by wenzeslaus, 8 years ago

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.