[GRASS-user] Working with a large number of maps

Hamish hamish_b at yahoo.com
Tue Dec 18 04:55:20 EST 2007


Martin Landa wrote:
> > What kind of verbose output are you expecting?

Craig:
> I don't know what to expect, but was hoping for something like:
> r.patch progress:
> Currently processing map: abc.red, progress: 80%
> Total progress: 15%
> 
> This may be something to be added to the wishlist?


--verbose is a no-op for most modules. The module needs to contain
G_verbose_message("some message here") calls in the code for --v to do
anything. That library function is very new (new for GRASS 6.3) so not
much uses it yet. There's an effort to move non-surprising status
messages to only show up in verbose mode, but it is early days for
that.

r.series works by row, then column, then by map. ie it works on all
maps at the same time (sorta) not sequentially. So G_percent() per row
is the best that can be done.


Your region is really really huge, I might suggest making 4 smaller
tiles out of it instead of one master map. I hope you compiled with LFS
(large file support) and your OS is 64bit.

By using 4 or more smaller region tiles to do the patch of non-
overlapping maps it may spend less time looking through empty space so
will be a lot faster. ?

You can use 'g.region -g' + 'r.info -g' to exclude maps which do not at
all fall in the output region. (this optimization might be built
directly into r.series?)

Alternate: let r.series run for x days.


Hamish



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the grass-user mailing list