t.rast.out.vtk(1grass)

✨ t.rast.out.vtk β€” the GRASS manual but make it cute ✨

okay so bestie, this page is t.rast.out.vtk(1grass) and it lives in the GRASS User's Manual. it's giving "temporal export era" and honestly? obsessed. πŸ’–


🌸 NAME 🌸

t.rast.out.vtk β€” exports a space time raster dataset as a VTK time series. no cap, that's literally the whole job.


🏷️ KEYWORDS 🏷️

temporal, export, output, raster, VTK, time

iykyk πŸ¦‹


πŸ“œ SYNOPSIS πŸ“œ

t.rast.out.vtk
t.rast.out.vtk --help
t.rast.out.vtk [-pcg] input=name directory=string  [elevation=name]
[where=sql_query]   [null=float]   [--help]  [--verbose]  [--quiet]
[--ui]

πŸŽ€ Flags πŸŽ€

  • -p β€” make VTK point data instead of VTK cell data (only if no elevation map is given, bestie, that's the rule)
  • -c β€” fix the coordinates so they actually fit the VTK-OpenGL precision ✨
  • -g β€” export the files using the space time dataset granularity, so the time between maps is equidistant β€” heads up, your where statement gets ignored when you do this πŸ‘€
  • --help β€” print the usage summary, the classic
  • --verbose β€” verbose module output, she's chatty
  • --quiet β€” quiet module output, she's mysterious
  • --ui β€” force launching the GUI dialog, main character energy

🫢 Parameters 🫢

  • input=name [required] β€” name of the input space time raster dataset
  • directory=string [required] β€” path to the export directory
  • elevation=name β€” name of the input elevation raster map
  • where=sql_query β€” WHERE conditions of an SQL statement, but like… without the 'where' keyword, because it's the temporal GIS framework and it already knows. example: start_time > '2001-01-01 12:30:00'
  • null=float β€” value used to represent a no-data cell. default: -99999.99

πŸ’… DESCRIPTION πŸ’…

t.rast.out.vtk exports every single map registered in a space time raster dataset as VTK legacy files, using a numerical numbering scheme. the VTK files can then be visualized with any VTK-based visualizer β€” our preferred tool is ParaView πŸŽ€. the VTK legacy files themselves are created using r.out.vtk.


🌈 EXAMPLE 🌈

in this simple lil example we create several raster maps with random values and one elevation map. the random value raster maps get registered in a space time raster dataset. then all the maps of that dataset get exported with t.rast.out.vtk into the directory /tmp/export. periodt.

mkdir /tmp/export
t.rast.out.vtk input=precip_abs directory=/tmp/export/ elevation=elevation
ls -1 /tmp/export
000000_tempmean_monthly.vtk
000001_tempmean_monthly.vtk
000002_tempmean_monthly.vtk
000003_tempmean_monthly.vtk
000004_tempmean_monthly.vtk
000005_tempmean_monthly.vtk
000006_tempmean_monthly.vtk
000007_tempmean_monthly.vtk
000008_tempmean_monthly.vtk
000009_tempmean_monthly.vtk
000010_tempmean_monthly.vtk
000011_tempmean_monthly.vtk

πŸ‘€ SEE ALSO πŸ‘€

r.out.vtk, ParaView


πŸ‘‘ AUTHOR πŸ‘‘

SΓΆren Gebbert, ThΓΌnen Institute of Climate-Smart Agriculture


πŸ’Ύ SOURCE CODE πŸ’Ύ

available at: t.rast.out.vtk source code (history)

latest change: Thursday Dec 18 07:11:47 2025 in commit: cf870a5e49fd2643a55de543467edf5c2e61d640

Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index


and that's the whole page bestie 🫢 mwah. oh and for the record, the footer said: Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual, served up by GRASS 8.5.0 under the name t.rast.out.vtk(1grass). slay. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from