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, series
11
13 r.series
14 r.series help
15 r.series [-qn] input=name[,name,...] output=name method=string
16 [--overwrite] [--verbose] [--quiet]
17
18 Flags:
19 -q
20 Run quietly
21
22 -n
23 Propagate NULLs
24
25 --overwrite
26 Allow output files to overwrite existing files
27
28 --verbose
29 Verbose module output
30
31 --quiet
32 Quiet module output
33
34 Parameters:
35 input=name[,name,...]
36 Name of input raster map(s)
37
38 output=name
39 Name for output raster map
40
41 method=string
42 Aggregate operation
43 Options: average,count,median,mode,minimum,min_raster,maxi‐
44 mum,max_raster,stddev,range,sum,variance,diversity,slope,off‐
45 set,detcoeff,quart1,quart3,perc90
46
48 r.series makes each output cell value a function of the values assigned
49 to the corresponding cells in the input raster map layers. Following
50 methods are available:
51
52
53 average: average value
54
55 count: count of non-NULL cells
56
57 median: median value
58
59 mode: most frequently occuring value
60
61 minimum: lowest value
62
63 maximum: highest value
64
65 range: range of values (max - min)
66
67 stddev: standard deviation
68
69 sum: sum of values
70
71 variance: statistical variance
72
73 diversity: number of different values
74
75 slope: linear regression slope
76
77 offset: linear regression offset
78
79 detcoeff: linear regression coefficient of determination
80
81 min_raster: raster map number with the minimum time-
82 series value
83
84 max_raster: raster map number with the maximum time-
85 series value
86
87
89 With -n flag, any cell for which any of the corresponding input cells
90 are NULL is automatically set to NULL (NULL propagation). The aggregate
91 function is not called, so all methods behave this way with respect to
92 the -n flag.
93
94 Without -n flag, the complete list of inputs for each cell (including
95 NULLs) is passed to the aggregate function. Individual aggregates can
96 handle data as they choose. Mostly, they just compute the aggregate
97 over the non-NULL values, producing a NULL result only if all inputs
98 are NULL.
99
100 The min_raster and max_raster methods generate a map with the number of
101 the raster map that holds the minimum/maximum value of the time-series.
102 The numbering starts at 0 up to n for the first and the last raster
103 listed in input=, respectively.
104
106 Using r.series with wildcards:
107 r.series input="`g.mlist pattern='insitu_data.*' sep=,`" out‐
108 put=insitu_data.stddev method=stddev
109
110 Note the g.mlist script also supports regular expressions for selecting
111 map names.
112
114 g.mlist, g.region
115
117 Glynn Clements
118
119 Last changed: $Date: 2007-10-23 14:11:17 +0200 (Tue, 23 Oct 2007) $
120
121 Full index
122
123 © 2003-2008 GRASS Development Team
124
125
126
127GRASS 6.3.0 r.series(1)