1t.rast.colors(1) Grass User's Manual t.rast.colors(1)
2
3
4
6 t.rast.colors - Creates/modifies the color table associated with each
7 raster map of the space time raster dataset.
8
10 temporal, color table, raster, time
11
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, kelvin, ndvi, ndwi, oranges, population, population_dens,
63 precipitation, precipitation_daily, precipitation_monthly, rainbow,
64 ramp, random, reds, roygbiv, rstcurv, ryb, ryg, sepia, slope, soil‐
65 moisture, srtm, srtm_plus, terrain, viridis, water, wave
66 aspect: aspect oriented grey colors
67 aspectcolr: aspect oriented rainbow colors
68 bcyr: blue through cyan through yellow to red
69 bgyr: blue through green through yellow to red
70 blues: white to blue
71 byg: blue through yellow to green
72 byr: blue through yellow to red
73 celsius: blue to red for degree Celsius temperature
74 corine: EU Corine land cover colors
75 curvature: for terrain curvatures (from v.surf.rst and
76 r.slope.aspect)
77 differences: differences oriented colors
78 elevation: maps relative ranges of raster values to elevation
79 color ramp
80 etopo2: colors for ETOPO2 worldwide bathymetry/topography
81 evi: enhanced vegetative index colors
82 fahrenheit: blue to red for Fahrenheit temperature
83 gdd: accumulated growing degree days
84 grass: GRASS GIS green (perceptually uniform)
85 greens: white to green
86 grey: grey scale
87 grey.eq: histogram-equalized grey scale
88 grey.log: histogram logarithmic transformed grey scale
89 grey1.0: grey scale for raster values between 0.0-1.0
90 grey255: grey scale for raster values between 0-255
91 gyr: green through yellow to red
92 haxby: relative colors for bathymetry or topography
93 kelvin: blue to red for temperature in Kelvin scale
94 ndvi: Normalized Difference Vegetation Index colors
95 ndwi: Normalized Difference Water Index colors
96 oranges: white to orange
97 population: color table covering human population classification
98 breaks
99 population_dens: color table covering human population density
100 classification breaks
101 precipitation: precipitation color table (0..2000mm)
102 precipitation_daily: precipitation color table (0..1000mm)
103 precipitation_monthly: precipitation color table (0..1000mm)
104 rainbow: rainbow color table
105 ramp: color ramp
106 random: random color table
107 reds: white to red
108 roygbiv: no description
109 rstcurv: terrain curvature (from r.resamp.rst)
110 ryb: red through yellow to blue
111 ryg: red through yellow to green
112 sepia: yellowish-brown through to white
113 slope: r.slope.aspect-type slope colors for raster values 0-90
114 soilmoisture: soilmoisture color table (0.0-1.0)
115 srtm: color palette for Shuttle Radar Topography Mission elevation
116 srtm_plus: color palette for Shuttle Radar Topography Mission ele‐
117 vation (with seafloor colors)
118 terrain: global elevation color table covering -11000 to +8850m
119 viridis: perceptually uniform sequential color table viridis
120 water: water depth
121 wave: color wave
122
123 raster=name
124 Raster map from which to copy color table
125
126 raster_3d=name
127 3D raster map from which to copy color table
128
129 rules=name
130 Path to rules file
131
133 t.rast.colors computes a color table based on all registered maps of a
134 space time raster dataset and to assign this color table to each map.
135 Hence the created color table reflects the data range of the space time
136 raster dataset. This module is a simple wrapper around r.colors. All
137 options of r.colors are supported. Internally a file with map names is
138 created and passed to the file option of r.colors.
139
140 Please have a look at the r.colors manual page for further information.
141
143 Set Celsius color table to monthly dataset
144 t.rast.colors input=tempmean_monthly color=celsius
145 r.colors.out map=2009_01_tempmean
146 -80 0:0:40
147 -40 91:10:168
148 -30 220:220:220
149 -25 91:50:128
150 -20 50:0:150
151 -15 4:25:130
152 -10 8:54:106
153 -8 4:20:150
154 -5 0:50:255
155 -2 8:10:118
156 -0.061449 8:113:155
157 0.013855 8:118:157
158 0.090594 8:123:158
159 0.168767 8:128:159
160 0.248375 8:133:159
161 0.329417 8:136:160
162 ...
163 40.6976 183:163:163
164 41.0483 185:167:167
165 41.4004 188:170:171
166 41.754 190:174:174
167 42.109 191:178:178
168 42.4655 193:182:182
169 42.8233 195:185:185
170 43.1827 197:189:189
171 43.5434 199:192:193
172 43.9056 200:197:197
173 44.2692 202:200:201
174 44.6342 204:204:204
175 45.0007 206:206:206
176 80 155:10:155
177 nv 255:255:255
178 default 255:255:255
179
181 r.colors
182
184 Sören Gebbert, Thünen Institute of Climate-Smart Agriculture
185
186 Last changed: $Date: 2015-01-25 18:55:23 +0100 (Sun, 25 Jan 2015) $
187
189 Available at: t.rast.colors source code (history)
190
191 Main index | Temporal index | Topics index | Keywords index | Graphical
192 index | Full index
193
194 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
195
196
197
198GRASS 7.4.4 t.rast.colors(1)