t.rast.colors1grass
Creates/modifies the color table associated with each raster map of the space time raster dataset.
Usage
t.rast.colors
t.rast.colors --help
t.rast.colors [-rwlngae]
input=name
[color=style]
[raster=name]
[raster_3d=name]
[rules=name]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
temporal, color table, raster, time
Overview
t.rast.colors 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 r.colors. All options of r.colors are supported. Internally a file with map names is created and passed to the file option of r.colors.
Please have a look at the r.colors manual page for further information.
Examples
Set Celsius color table to monthly dataset
t.rast.colors input=tempmean_monthly color=celsiusr.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:1550.013855 8:118:1570.090594 8:123:1580.168767 8:128:1590.248375 8:133:1590.329417 8:136:160...40.6976 183:163:16341.0483 185:167:16741.4004 188:170:17141.754 190:174:17442.109 191:178:17842.4655 193:182:18242.8233 195:185:18543.1827 197:189:18943.5434 199:192:19343.9056 200:197:19744.2692 202:200:20144.6342 204:204:20445.0007 206:206:20680 155:10:155nv 255:255:255default 255:255:255
Source code
Available at: t.rast.colors source code (history)
Accessed: Monday Feb 24 17:51:46 2025
Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.