1r.series(1) Grass User's Manual r.series(1)
2
3
4
6 r.series - Makes each output cell value a function of the values
7 assigned to the corresponding cells in the input raster map layers.
8
10 raster
11
13 r.series
14 r.series help
15 r.series [-qn] input=string[,string,...] output=string method=string
16 [--overwrite]
17
18 Flags:
19 -q Run quietly
20
21 -n Propagate NULLs
22
23 --overwrite
24
25 Parameters:
26 input=string[,string,...]
27 Names of existing raster files
28
29 output=string
30 Name of the new raster file
31
32 method=string
33 Aggregate operation Options: average,count,median,mode,mini‐
34 mum,min_raster,maximum,max_raster,stddev,sum,variance,diver‐
35 sity,slope,offset,quart1,quart3,perc90
36
38 r.series makes each output cell value a function of the values assigned
39 to the corresponding cells in the input raster map layers. Following
40 methods are available:
41
42
43 average: average value
44
45 count: count of non-NULL cells
46
47 median: median value
48
49 mode: most frequently occuring value
50
51 minimum: lowest value
52
53 maximum: highest value
54
55 stddev: standard deviation
56
57 sum: sum of values
58
59 variance: statistical variance
60
61 diversity: number of different values
62
63 slope: linear regression slope
64
65 offset: linear regression offset
66
67 min_raster: raster map number with the minimum time-
68 series value
69
70 max_raster: raster map number with the maximum time-
71 series value
72
73
75 With -n flag, any cell for which any of the corresponding input cells
76 are NULL is automatically set to NULL (NULL propagation). The aggregate
77 function is not called, so all methods behave this way with respect to
78 the -n flag.
79
80 Without -n flag, the complete list of inputs for each cell (including
81 NULLs) is passed to the aggregate function. Individual aggregates can
82 handle data as they choose. Mostly, they just compute the aggregate
83 over the non-NULL values, producing a NULL result only if all inputs
84 are NULL.
85
86 The min_raster and max_raster methods generate a map with the number of
87 the raster map that holds the minimum/maximum value of the time-series.
88 The numbering starts at 0 up to n for the first and the last raster
89 listed in input=, respectively.
90
92 Using r.series with wildcards:
93 r.series input="`g.mlist pattern='insitu_data.*' sep=,`" out‐
94 put=insitu_data.stddev method=stddev
95
96 Note the g.mlist script also supports regular expressions for selecting
97 map names.
98
100 g.mlist, g.region
101
103 Glynn Clements
104
105 Last changed: $Date: 2005/03/14 17:19:54 $
106
107 Full index
108
109
110
111GRASS 6.2.2 r.series(1)