[GRASS-user] could the region change between 2 commands in a single
Bash script?
Maciek Sieczka
werchowyna at epf.pl
Thu Jun 1 12:02:11 EDT 2006
Hi!
I'm writing a Bash script that
1. outputs the region settings into a temp file, to create a Grass
ASCII raster header (to be used in step 4)
2. outputs 2 rasters to xyz ascii files
a. r.stats -1g raster1 > file1.xyz
b. r.stats -1g raster2 > file2.xyz
3. processes them, converts the resust into a single Grass ASCII raster
4. imports it with r.in.ascii (header created based on region settings
obtained in step 1)
2a and 2b might take some time.
The question: if I run my script in background, and then I change the
region before eg. step 2a completes, is there any danger that 2b will
be run in a different region?
I hope not, I need 2a and 2b product to be the same number of lines,
the same coordinates.
?
Maciek
--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/
More information about the grass-user
mailing list