[GRASSLIST:6402] Re: use of c_minx and c_maxx in r.series

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Mon Apr 11 17:03:15 EDT 2005


hello  Vincent, 

On Monday 11 April 2005 10:23, vincent at ecovla.nl wrote:
[....]
> Now with Glynns functions I'm already half-way: I can create the index.
> Now how do I apply this index to a series of raster files? Is there a
> simple and robust (like accepting input from g.mlist) trick using
> r.mapcalc? Or is Glynn currently writing r.series.fromindex and am I too
> anxious and should I be patient? Or need I write it myself? Any hints?

if you have a time-series of raster files with the names: 

raster_name.1
raster_name.2 
etc.

just do:

r.series input="`g.mlist pattern='raster_name.*' sep=,`" method=min_x 

Martin



-- 
Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax:   +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de




More information about the grass-user mailing list