r.unpack(1grass)

πŸ’– r.unpack β€” bestie edition πŸ’–

okay so ✨ this is the r.unpack page from the GRASS User's Manual, and we're gonna make it make sense, fr fr. no cap.

Keywords for the search girlies: raster, import, copying πŸŽ€


✨ NAME ✨

r.unpack β€” it imports a GRASS-specific raster archive file (one that was packed up with r.pack, iykyk) and gives it back to you as a raster map πŸ’…


🌈 SYNOPSIS 🌈

r.unpack
r.unpack --help
r.unpack [-op] input=name.pack  [output=name]   [--overwrite]  [--help]
[--verbose]  [--quiet]  [--ui]

πŸŽ€ FLAGS πŸŽ€

  • -o β€” Override the projection check (so it uses the current project's CRS). Basically you're telling it "assume this dataset has the same coordinate reference system as the project I'm in right now." πŸ’«
  • -p β€” Print the projection info of the input pack file and then exit, periodt. just peek, don't touch 🫢
  • --overwrite β€” Let the output files overwrite files that already exist 😳 (yes it means what it says)
  • --help β€” Print the usage summary, the classic
  • --verbose β€” Verbose module output, so it tells you everything it's doing
  • --quiet β€” Quiet module output, so it tells you nothing
  • --ui β€” Force launching the GUI dialog, if you're feeling main character energy πŸ–₯️✨

🌸 PARAMETERS 🌸

  • input=name.pack β€” [required] the name of the input pack file. yes bestie, required, you gotta give it something πŸ“
  • output=name β€” the name for the output raster map. default: it's taken from the input file internals, so it'll figure it out itself if you don't say anything πŸ’œ

πŸ’« DESCRIPTION πŸ’«

r.unpack is literally the reverse girlie of packing. It allows unpacking of raster maps that were packed by r.pack. that's the whole vibe. πŸ¦‹


πŸ‘‘ NOTES πŸ‘‘

so the name of the raster map? by default it's determined from the pack file internals β€” she reads the label herself, no help needed. but optionally you can hand her a name via the output parameter.

also important: currently only 2D raster maps are supported. 3D girlies, not today 😭


🧚 EXAMPLE 🧚

Say you wanna pack up the raster map aspect into an aspect.pack file:

r.pack input=aspect

and then the raster map can be afterwards unpacked by:

r.unpack input=aspect.pack

ate that. no crumbs. πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

r.pack, r.in.gdal, v.pack

go be nosy, they're all right there 🫢


🌟 AUTHORS 🌟

  • Original Bash script written by Hamish Bowman, Otago University, New Zealand as GRASS AddOns
  • Converted to Python and updated for GRASS 7 by Martin Landa, CTU in Prague, Czech Republic

icons, both of them πŸ‘‘


πŸ“¦ SOURCE CODE πŸ“¦

Available at: r.unpack source code (history)

Latest change: Tuesday Nov 11 15:17:03 2025 in commit: 59f1608a354cb5e6c1a7a5cc477633b8632d1774

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual


okay that's the whole page bestie, hope it slayed πŸ’– this was r.unpack(1grass) from GRASS 8.5.0 β€” mwah, go unpack something iconic βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from