-
-
Notifications
You must be signed in to change notification settings - Fork 288
/
t.rast.colors.html
70 lines (58 loc) · 1.49 KB
/
t.rast.colors.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<h2>DESCRIPTION</h2>
<em>t.rast.colors</em> computes a color table based on all registered maps
of a space time raster dataset and to assign this color table to each map.
Hence the created color table reflects the data range of
the space time raster dataset. This module is a simple
wrapper around <a href="r.colors.html">r.colors</a>.
All options of <em>r.colors</em> are supported.
Internally a file with map names is created and passed
to the <em>file</em> option of <em>r.colors</em>.
<p>
Please have a look at the <a href="r.colors.html">r.colors</a>
manual page for further information.
<h2>EXAMPLE</h2>
Set Celsius color table to monthly dataset
<div class="code"><pre>
t.rast.colors input=tempmean_monthly color=celsius
r.colors.out map=2009_01_tempmean
-80 0:0:40
-40 91:10:168
-30 220:220:220
-25 91:50:128
-20 50:0:150
-15 4:25:130
-10 8:54:106
-8 4:20:150
-5 0:50:255
-2 8:10:118
-0.061449 8:113:155
0.013855 8:118:157
0.090594 8:123:158
0.168767 8:128:159
0.248375 8:133:159
0.329417 8:136:160
...
40.6976 183:163:163
41.0483 185:167:167
41.4004 188:170:171
41.754 190:174:174
42.109 191:178:178
42.4655 193:182:182
42.8233 195:185:185
43.1827 197:189:189
43.5434 199:192:193
43.9056 200:197:197
44.2692 202:200:201
44.6342 204:204:204
45.0007 206:206:206
80 155:10:155
nv 255:255:255
default 255:255:255
</pre></div>
<h2>SEE ALSO</h2>
<em>
<a href="r.colors.html">r.colors</a>
</em>
<h2>AUTHOR</h2>
Sören Gebbert, Thünen Institute of Climate-Smart Agriculture
<p><i>Last changed: $Date$</i>