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