[GRASS-user] executing multiple commands at once
Markus Neteler
neteler at osgeo.org
Wed Feb 11 16:48:10 EST 2009
On Wed, Feb 11, 2009 at 9:17 PM, Renae Mackas <rmackas at sfu.ca> wrote:
>
> Hi-
>
> I am new to GRASS (using version 6.3.0), and am trying to figure out how to
> execute multiple commands at once in the command line. I am currently tring
> to import many LANDSAT image files as rasters, and it would make it a lot
> easier/faster if I could import more than one at a time. Most of the online
> examples I have found show that people are able to do this, but I am still
> not aware how to do so. Any tips would be much appreciated.
I usually use a shell script for this, in a "for" loop I get
in all files.
Example:
http://www.grassbook.org/examples_menu3rd.php
-> Scripts to bulk import LANDSAT-TM5/LANDSAT-TM7 scenes
from GLCF Maryland into GRASS
-> download
You can easily adapt those scripts to your needs.
Markus
More information about the grass-user
mailing list