1t.rast.colors(1)            GRASS GIS 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           forest_cover, gdd, grass, greens, grey, grey.eq, grey.log, grey1.0,
62           grey255,  gyr, haxby, inferno, kelvin, magma, ndvi, ndwi, nlcd, or‐
63           anges, plasma, population, population_dens, precipitation, precipi‐
64           tation_daily,  precipitation_monthly,  rainbow, ramp, random, reds,
65           roygbiv, rstcurv,  ryb,  ryg,  sepia,  slope,  soilmoisture,  srtm,
66           srtm_plus, terrain, viridis, 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 r.slope.as‐
78           pect) [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            forest_cover: percentage of forest cover [range: 0 to 100]
88            gdd: accumulated growing degree days [range: 0 to 6000]
89            grass: GRASS GIS green (perceptually uniform) [range: map values]
90            greens: white to green [range: map values]
91            grey: grey scale [range: map values]
92            grey.eq: histogram-equalized grey scale [range: map values]
93            grey.log: histogram logarithmic transformed grey scale [range: map
94           values]
95            grey1.0: grey scale for raster values between 0.0-1.0 [range: 0 to
96           1]
97            grey255: grey scale for raster values between 0-255 [range:  0  to
98           255]
99            gyr: green through yellow to red [range: map values]
100            haxby:  relative  colors  for bathymetry or topography [range: map
101           values]
102            inferno:  perceptually  uniform  sequential  color  table  inferno
103           [range: map values]
104            kelvin: blue to red for temperature in Kelvin scale [range: 193.15
105           to 353.15]
106            magma: perceptually uniform sequential color table  magma  [range:
107           map values]
108            ndvi:  Normalized Difference Vegetation Index colors [range: -1 to
109           1]
110            ndwi: Normalized Difference Water Index  colors  [range:  -200  to
111           200]
112            nlcd: US National Land Cover Dataset colors [range: 0 to 95]
113            oranges: white to orange [range: map values]
114            plasma: perceptually uniform sequential color table plasma [range:
115           map values]
116            population: color table covering human  population  classification
117           breaks [range: 0 to 2e+09]
118            population_dens:  color  table  covering  human population density
119           classification breaks [range: 0 to 1e+09]
120            precipitation: precipitation color table (0..2000mm) [range: 0  to
121           7000]
122            precipitation_daily: precipitation color table (0..1000mm) [range:
123           0 to 10000]
124            precipitation_monthly:  precipitation  color   table   (0..1000mm)
125           [range: 0 to 1000]
126            rainbow: rainbow color table [range: map values]
127            ramp: color ramp [range: map values]
128            random: random color table [range: map values]
129            reds: white to red [range: map values]
130            roygbiv:  [range: map values]
131            rstcurv: terrain curvature (from r.resamp.rst) [range: map values]
132            ryb: red through yellow to blue [range: map values]
133            ryg: red through yellow to green [range: map values]
134            sepia: yellowish-brown through to white [range: map values]
135            slope:  r.slope.aspect-type  slope  colors  for raster values 0-90
136           [range: 0 to 90]
137            soilmoisture: soilmoisture color table (0.0-1.0) [range: 0 to 1]
138            srtm: color palette for Shuttle Radar Topography Mission elevation
139           [range: -11000 to 8850]
140            srtm_plus: color palette for Shuttle Radar Topography Mission ele‐
141           vation (with seafloor colors) [range: -11000 to 8850]
142            terrain: global elevation color table covering  -11000  to  +8850m
143           [range: -11000 to 8850]
144            viridis:  perceptually  uniform  sequential  color  table  viridis
145           [range: map values]
146            water: water depth [range: map values]
147            wave: color wave [range: map values]
148
149       raster=name
150           Raster map from which to copy color table
151
152       raster_3d=name
153           3D raster map from which to copy color table
154
155       rules=name
156           Path to rules file
157

DESCRIPTION

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

EXAMPLE

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

SEE ALSO

207        r.colors
208

AUTHOR

210       Sören Gebbert, Thünen Institute of Climate-Smart Agriculture
211

SOURCE CODE

213       Available at: t.rast.colors source code (history)
214
215       Accessed: Saturday Jan 21 21:17:05 2023
216
217       Main index | Temporal index | Topics index | Keywords index | Graphical
218       index | Full index
219
220       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
221
222
223
224GRASS 8.2.1                                                   t.rast.colors(1)
Impressum