Hello Grass users
I was wondering if GRASS (version 4.1) could be launched by means of a script
where variables such as mapset and location could be included in that script. B
asically I want to avoid the initial "interactive" interface and pass to comman
d line (or again
launch commands) from the script.
Thanks for any reply.
^Angela
I've not done that exactly, but something similar. I start Grass4.1
interactively, launch a csh script using grass commands (as well as
other type of commands, including other programs like S-plus) with
nohup and exit grass and logout before the script execution is
completed. The only thing that you cannot do is to restart grass
again with a DIFFERENT Mapset and/or location or modify the region.
Hope it helps,
Agus
***************************************************
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Marti Franques s/n
08028 Barcelona (Spain)
tel. 34 3 330 2716
fax. 34 3 411 0012
alobo@ija.csic.es
alobo@eno.princeton.edu
***************************************************