1t.rast.colors(1)              Grass User's Manual             t.rast.colors(1)
2
3
4

NAME

6       t.rast.colors   - Creates/modifies the color table associated with each
7       raster map of the space time raster dataset.
8

KEYWORDS

10       temporal, color table, raster, time
11

SYNOPSIS

13       t.rast.colors
14       t.rast.colors --help
15       t.rast.colors  [-rwlngae]  input=name   [color=style]     [raster=name]
16       [raster_3d=name]     [rules=name]    [--help]   [--verbose]   [--quiet]
17       [--ui]
18
19   Flags:
20       -r
21           Remove existing color table
22
23       -w
24           Only write new color table if it does not already exist
25
26       -l
27           List available rules then exit
28
29       -n
30           Invert colors
31
32       -g
33           Logarithmic scaling
34
35       -a
36           Logarithmic-absolute scaling
37
38       -e
39           Histogram equalization
40
41       --help
42           Print usage summary
43
44       --verbose
45           Verbose module output
46
47       --quiet
48           Quiet module output
49
50       --ui
51           Force launching GUI dialog
52
53   Parameters:
54       input=name [required]
55           Name of the input space time raster dataset
56
57       color=style
58           Name of color table (see r.color help)
59           Options: aspect, aspectcolr, bcyr, bgyr, blues, byg, byr,  celsius,
60           corine, curvature, differences, elevation, etopo2, evi, fahrenheit,
61           gdd, grass, greens, grey, grey.eq, grey.log, grey1.0, grey255, gyr,
62           haxby, inferno, kelvin, magma, ndvi, ndwi, oranges, plasma, popula‐
63           tion, population_dens, precipitation, precipitation_daily, precipi‐
64           tation_monthly, rainbow, ramp, random, reds, roygbiv, rstcurv, ryb,
65           ryg, sepia, slope, soilmoisture, srtm, srtm_plus, terrain, viridis,
66           water, wave
67            aspect: aspect oriented grey colors [range: map values]
68            aspectcolr: aspect oriented rainbow colors [range: 0 to 360]
69            bcyr: blue through cyan through yellow to red [range: map values]
70            bgyr: blue through green through yellow to red [range: map values]
71            blues: white to blue [range: map values]
72            byg: blue through yellow to green [range: map values]
73            byr: blue through yellow to red [range: map values]
74            celsius: blue to red for degree Celsius temperature [range: -80 to
75           80]
76            corine: EU Corine land cover colors [range: 111 to 995]
77            curvature:   for   terrain   curvatures   (from   v.surf.rst   and
78           r.slope.aspect) [range: map values]
79            differences: differences oriented colors [range: map values]
80            elevation:  maps  relative  ranges  of  raster values to elevation
81           color ramp [range: map values]
82            etopo2: colors for ETOPO2 worldwide bathymetry/topography  [range:
83           -11000 to 8850]
84            evi: enhanced vegetative index colors [range: -1 to 1]
85            fahrenheit: blue to red for Fahrenheit temperature [range: -112 to
86           176]
87            gdd: accumulated growing degree days [range: 0 to 6000]
88            grass: GRASS GIS green (perceptually uniform) [range: map values]
89            greens: white to green [range: map values]
90            grey: grey scale [range: map values]
91            grey.eq: histogram-equalized grey scale [range: map values]
92            grey.log: histogram logarithmic transformed grey scale [range: map
93           values]
94            grey1.0: grey scale for raster values between 0.0-1.0 [range: 0 to
95           1]
96            grey255: grey scale for raster values between 0-255 [range:  0  to
97           255]
98            gyr: green through yellow to red [range: map values]
99            haxby:  relative  colors  for bathymetry or topography [range: map
100           values]
101            inferno:  perceptually  uniform  sequential  color  table  inferno
102           [range: map values]
103            kelvin: blue to red for temperature in Kelvin scale [range: 193.15
104           to 353.15]
105            magma: perceptually uniform sequential color table  magma  [range:
106           map values]
107            ndvi:  Normalized Difference Vegetation Index colors [range: -1 to
108           1]
109            ndwi: Normalized Difference Water Index  colors  [range:  -200  to
110           200]
111            oranges: white to orange [range: map values]
112            plasma: perceptually uniform sequential color table plasma [range:
113           map values]
114            population: color table covering human  population  classification
115           breaks [range: 0 to 2e+09]
116            population_dens:  color  table  covering  human population density
117           classification breaks [range: 0 to 1e+09]
118            precipitation: precipitation color table (0..2000mm) [range: 0  to
119           7000]
120            precipitation_daily: precipitation color table (0..1000mm) [range:
121           0 to 10000]
122            precipitation_monthly:  precipitation  color   table   (0..1000mm)
123           [range: 0 to 1000]
124            rainbow: rainbow color table [range: map values]
125            ramp: color ramp [range: map values]
126            random: random color table [range: map values]
127            reds: white to red [range: map values]
128            roygbiv:  [range: map values]
129            rstcurv: terrain curvature (from r.resamp.rst) [range: map values]
130            ryb: red through yellow to blue [range: map values]
131            ryg: red through yellow to green [range: map values]
132            sepia: yellowish-brown through to white [range: map values]
133            slope:  r.slope.aspect-type  slope  colors  for raster values 0-90
134           [range: 0 to 90]
135            soilmoisture: soilmoisture color table (0.0-1.0) [range: 0 to 1]
136            srtm: color palette for Shuttle Radar Topography Mission elevation
137           [range: -11000 to 8850]
138            srtm_plus: color palette for Shuttle Radar Topography Mission ele‐
139           vation (with seafloor colors) [range: -11000 to 8850]
140            terrain: global elevation color table covering  -11000  to  +8850m
141           [range: -11000 to 8850]
142            viridis:  perceptually  uniform  sequential  color  table  viridis
143           [range: map values]
144            water: water depth [range: map values]
145            wave: color wave [range: map values]
146
147       raster=name
148           Raster map from which to copy color table
149
150       raster_3d=name
151           3D raster map from which to copy color table
152
153       rules=name
154           Path to rules file
155

DESCRIPTION

157       t.rast.colors computes a color table based on all registered maps of  a
158       space  time  raster dataset and to assign this color table to each map.
159       Hence the created color table reflects the data range of the space time
160       raster  dataset.  This module is a simple wrapper around r.colors.  All
161       options of r.colors are supported.  Internally a file with map names is
162       created and passed to the file option of r.colors.
163
164       Please have a look at the r.colors manual page for further information.
165

EXAMPLE

167       Set Celsius color table to monthly dataset
168       t.rast.colors input=tempmean_monthly color=celsius
169       r.colors.out map=2009_01_tempmean
170       -80 0:0:40
171       -40 91:10:168
172       -30 220:220:220
173       -25 91:50:128
174       -20 50:0:150
175       -15 4:25:130
176       -10 8:54:106
177       -8 4:20:150
178       -5 0:50:255
179       -2 8:10:118
180       -0.061449 8:113:155
181       0.013855 8:118:157
182       0.090594 8:123:158
183       0.168767 8:128:159
184       0.248375 8:133:159
185       0.329417 8:136:160
186       ...
187       40.6976 183:163:163
188       41.0483 185:167:167
189       41.4004 188:170:171
190       41.754 190:174:174
191       42.109 191:178:178
192       42.4655 193:182:182
193       42.8233 195:185:185
194       43.1827 197:189:189
195       43.5434 199:192:193
196       43.9056 200:197:197
197       44.2692 202:200:201
198       44.6342 204:204:204
199       45.0007 206:206:206
200       80 155:10:155
201       nv 255:255:255
202       default 255:255:255
203

SEE ALSO

205        r.colors
206

AUTHOR

208       Sören Gebbert, Thünen Institute of Climate-Smart Agriculture
209
210       Last changed: $Date: 2015-01-25 18:55:23 +0100 (Sun, 25 Jan 2015) $
211

SOURCE CODE

213       Available at: t.rast.colors source code (history)
214
215       Main index | Temporal index | Topics index | Keywords index | Graphical
216       index | Full index
217
218       © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
219
220
221
222GRASS 7.6.0                                                   t.rast.colors(1)
Impressum