[GRASS-user] executing multiple commands at once

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.

Thanks,

Renae Mackas
--
View this message in context: http://n2.nabble.com/executing-multiple-commands-at-once-tp2311081p2311081.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Wed, Feb 11, 2009 at 9:17 PM, Renae Mackas <rmackas@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

Thanks Markus, I will give those a try.

Markus Neteler wrote:

On Wed, Feb 11, 2009 at 9:17 PM, Renae Mackas <rmackas@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
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
View this message in context: http://n2.nabble.com/executing-multiple-commands-at-once-tp2311081p2316687.html
Sent from the Grass - Users mailing list archive at Nabble.com.