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 usingr.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 theprojectparameter 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
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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