r.describe(1)
π r.describe β the GRASS GIS manual, but make it group chat π
ok so bestie, you know how you have a raster map and you're like "what values are even IN here??" β that's this. r.describe is a GRASS GIS tool (from the GRASS GIS User's Manual, module name r.describe) that prints a terse list of category values found in a raster map layer. Terse! She does not ramble. She gives you the values and she moves on. π
Keywords, for the search bar: raster, metadata. iykyk.
β¨ SYNOPSIS β¨
Like, the whole shape of her:
r.describe
r.describe --help
r.describe [-1rndi] map=name [null_value=string] [nsteps=integer]
[--help] [--verbose] [--quiet] [--ui]
π FLAGS π
-1β prints the output one value per line. one. per. line. no crowding, no chaos, just vibes. πΈ-rβ only prints the range of the data. she's giving summary. she's giving minimalism.-nβ suppresses reporting of any NULLs. not today, nulls. π«-dβ use the current region. yes queen, respect the region for once.-iβ read floating-point map as integer. she's rounding. she's deciding.--helpβ print usage summary. your little cheat sheet π«Ά--verboseβ verbose module output. she will over-share. iconic.--quietβ quiet module output. she will not.--uiβ force launching GUI dialog. for the girlies who love a window β¨
π PARAMETERS π
map=name[required] β Name of raster map. mandatory bestie, you HAVE to tell her which one.null_value=stringβ String representing NULL value. Default:*nsteps=integerβ Number of quantization steps. Default:255
π DESCRIPTION π
So. r.describe prints a terse listing of category values found in a user-specified raster map layer. that's the whole job. she's focused. she's booked and busy.
here's the part you gotta remember: r.describe ignores the current geographic region and mask, and reads the full extent of the input raster map. no cap. and like β that's actually a feature, because if you're planning to reclassify or rescale your data, those functions (r.reclass and r.rescale) also ignore the current geographic region and mask. so she's matching their energy. consistent queen. π
The nv parameter sets the string to be used to represent NULL values in the module output; the default is '*'.
The nsteps parameter sets the number of quantisation steps to divide into the input raster map.
π NOTES π
FLAGS π©
If you pick the -r flag, a range of category values found in the raster map layer gets printed. and the range gets split into three groups: negative, positive, and zero. If negative values occur, the minimum and maximum negative values get printed. If positive values occur, the minimum and maximum positive values get printed. If zero occurs, this will be indicated. The range report will generally run faster than the full list (which is the default output). so if you're in a hurry β -r. periodt.
The -d flag can be used to force r.describe to respect the current region extents when repoting raster map categories. (yes, "repoting", that's what the original says, we keep the typos, we respect the lore π). The default behavior is to read the full extent of the input raster map.
If the -1 flag is specified, the output appears with one category value/range per line.
The -n flag suppresses the reporting of NULL values.
π¦ EXAMPLES π¦
these ones are from the Spearfish60 sample dataset, so you can literally go try them yourself. slay.
πΈ Print the full list of raster map categories
r.describe landcover.30m
* 11 21-23 31 32 41-43 51 71 81-83 85 91 92
πΈ Print the raster range only
r.describe -r landcover.30m
11 thru 92
*
πΈ Print raster map category range, suppressing nulls
r.describe -n landcover.30m
11 21-23 31 32 41-43 51 71 81-83 85 91 92
πΈ Print raster map categories, one category per line
r.describe -1 geology
*
1
2
3
4
5
6
7
8
9
π SEE ALSO π
go read these next, bestie, they're all in the family:
g.region, r.mask, r.reclass, r.report, r.rescale, r.stats, r.univar
π AUTHOR π
Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
the blueprint. the moment. we love him.
π» SOURCE CODE π»
Available at: r.describe source code (history)
Accessed: Saturday Jan 17 05:40:45 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie π go describe some rasters. you got this. fr fr. π«Άβ¨
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual β yes, the copyright goes to the GRASS Development Team, and this whole thing is from the GRASS 8.4.2 Reference Manual, r.describe(1), accessed Saturday Jan 17 05:40:45 2026. mwah. π
π
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms