t.remove(1)
β¨ t.remove β¨
okay bestie, welcome to the GRASS GIS User's Manual, section 1 β this is the t.remove page and it's literally about deleting your space time datasets. slay.
π NAME π
t.remove β removes space time datasets from the temporal database. that's it, that's the job. ποΈβ¨
πΈ KEYWORDS πΈ
temporal, map management, remove, time
π¦ SYNOPSIS π¦
t.remove
t.remove --help
t.remove [-rfd] [inputs=name[,name,...]] [type=string] [file=name]
[--help] [--verbose] [--quiet] [--ui]
π Flags π
-rβ remove stds and unregister maps from temporal database. the recursive one, she goes deep π-fβ force removal (required for actual deletion of files). no force, no delete, periodt.-dβ remove stds, unregister maps from temporal database and delete them from mapset. she's not just ghosting, she's blocking too π--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output--uiβ force launching GUI dialog
π§ Parameters π§
inputs=name[,name,...]β name of the input space time datasetstype=stringβ type of the space time dataset, default isstrds- Options:
strds,str3ds,stvds - Default:
strds
- Options:
file=nameβ input file with dataset names, one per line
π DESCRIPTION π
so basically the module t.remove removes space time datasets (STRDS, STR3DS, STVDS) from the temporal database. in other words, by default it deletes the relevant database entries. it can also unregister maps from the temporal database using the recursive mode -r (recursive). π
optionally, also the raster, 3D raster and vector maps of the space time datasets can be removed from the current mapset using the -d (delete) flag. and listen β all removals only work if the -f (force) flag is used. no cap. π¨
π EXAMPLE π
in this example a space time raster dataset (STRDS) named precip_months_sum will be created using a subset of the monthly precipitation raster maps from the North Carolina climate sample data set.
in order to be able to show the case of recursive removal without deleting the original sample data, we generate new data by means of computing yearly precipitation sums. eventually, all newly produced data (STRDS and raster maps) are removed: π«
# Create new and empty STRDS
t.create output=precip_months_sum semantictype=mean \
title="Monthly sum of precipitation" \
description="Monthly sum of precipitation for the \
North Carolina sample data"
# Register maps from sample dataset (selecting a subset with g.list)
t.register -i type=raster input=precip_months_sum \
maps=$(g.list type=raster pattern="201*_precip" separator=comma) \
start="2010-01-01" increment="1 months"
# Create some new data by aggregating with 1 years granularity
t.rast.aggregate input=precip_months_sum \
output=precip_years_sum basename=precip_years_sum \
granularity="1 years" method=sum
# Remove all newly produced data:
# a) the aggregated STRDS with 1 years granularity along with its raster maps
t.remove -df type=strds input=precip_years_sum
# b) the STRDS with 1 months granularity, but not the original sample data
t.remove -f type=strds input=precip_months_sum
β SEE ALSO β
t.create, t.info, t.register
π AUTHOR π
SΓΆren Gebbert, ThΓΌnen Institute of Climate-Smart Agriculture
π SOURCE CODE π
available at: t.remove source code (history)
accessed: Saturday Jan 17 05:41:53 2026
Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page bestie π«Ά this was GRASS 8.4.2, t.remove(1), and honestly? iconic. go delete responsibly, 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