t.rast.import(1grass)

πŸ’– t.rast.import β€” the manual page, but make it make sense πŸ’–

okay bestie, welcome to t.rast.import from the GRASS User's Manual. this is the glow-up guide for importing space time raster datasets. pull up a chair, we're doing this together 🫢


✨ NAME ✨

t.rast.import β€” imports space time raster dataset. that's it, that's the whole job, and it does it flawlessly no cap πŸ’…


πŸŽ€ KEYWORDS πŸŽ€

temporal, import, raster, time, create project

iykyk β€” it's giving temporal, it's giving import, it's giving raster, time, create project. slay.


🌸 SYNOPSIS 🌸

the vibe check, verbatim:

t.rast.import
t.rast.import --help
t.rast.import [-rleoc] input=name output=name  [basename=string]
directory=name  [title=string]   [description=string]   [project=string]
[memory=memory in MB]   [--overwrite]  [--help]  [--verbose]  [--quiet]
[--ui]

πŸ¦‹ Flags πŸ¦‹

  • -r β€” sets the current region from the last map that was imported. yes, the last one. it ate.
  • -l β€” links the raster files using r.external. no copy, just vibes and symlinks.
  • -e β€” extends project extents based on the new dataset. let it grow, let it breathe 🌈
  • -o β€” override projection check (uses the current project's CRS). this one assumes the dataset has the same coordinate reference system as the current location. it's an assumption, bestie β€” read it like one ⚠️
it's written as "use current projects's CRS" in the original and I'm keeping that exactly, typos and all, because the facts stay the facts πŸ’€
  • -c β€” creates the project specified by the project parameter and then exits. it does not import the space time raster datasets. it's the "I just came to set up the venue" flag.
  • --overwrite β€” allow output files to overwrite existing files. permission granted, no questions asked.
  • --help β€” print usage summary. the classic.
  • --verbose β€” verbose module output. it will yap, and you will listen.
  • --quiet β€” quiet module output. not a peep.
  • --ui β€” force launching GUI dialog. for when you want buttons instead of typing.

⭐ Parameters ⭐

  • input=name [required] β€” Name of input file. you must bring this to the function.
  • output=name [required] β€” Name of the output space time raster dataset. also mandatory, also iconic.
  • basename=string β€” Basename of the new generated output maps. a numerical suffix separated by an underscore will be attached to create a unique identifier. so like, it's built different, on purpose, so nothing collides πŸ‘‘
  • directory=name [required] β€” Path to the extraction directory. Default: /tmp.
  • title=string β€” Title of the new space time dataset. give it a name, give it a legacy.
  • description=string β€” Description of the new space time dataset.
  • project=string β€” Create a new project and import the data into it.
ok so this is the serious one, real talk: Do not run this module in parallel or interrupt it when a new project should be created. do not. multi-task somewhere else, bestie 😭
  • memory=memory in MB β€” Maximum memory to be used (in MB). Cache size for raster rows. Default: 300.

πŸ’œ DESCRIPTION πŸ’œ

t.rast.import imports a space time raster dataset archive that was exported with t.rast.export. one exports, one imports, they're a matched set, it's giving soulmate energy fr fr πŸ₯Ή


πŸ“ NOTES πŸ“

Optionally a base map name can be provided to avoid that existing raster maps are overwritten by the map names that are used in the STRDS archive. so if you're protective of your existing maps, pass basename and protect your peace πŸ’–

The directory is used as work directory in case of import but can also be used as a data directory when using GeoTIFF for the data exchange. lowkey versatile, highkey underrated.


🌈 EXAMPLE 🌈

okay so here's the moment. The North Carolina space time dataset contains a data package called lst_daily.tar.bzip2 with daily data from MODIS LST. Import it by running:

t.rast.import input=lst_daily.tar.bzip2 output=lst_daily \
              basename=lst directory=/tmp

and that's it. main character behavior. ate and left no crumbs πŸ”₯


πŸ’… SEE ALSO πŸ’…

t.rast.export, t.create, t.info, r.in.gdal, r.unpack, t.vect.import

(the whole friend group, honestly)


πŸ‘‘ AUTHOR πŸ‘‘

Sâren Gebbert, Thünen Institute of Climate-Smart Agriculture. legend behavior, no notes ✨


πŸŽ€ SOURCE CODE πŸŽ€

Available at: t.rast.import 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

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


and that's the page, bestie 🫢 this was t.rast.import πŸ’– from GRASS 8.5.0, copyright Β© 2003-2026 GRASS Development Team, last touched Thursday Dec 18 07:11:47 2025 in commit cf870a5e49fd2643a55de543467edf5c2e61d640 🌟 go import something gorgeous, you got this πŸ’…βœ¨

πŸ“¦ where this page comes from