t.copy(1)
π t.copy π
okay bestie, welcome to the GRASS GIS User's Manual entry for t.copy(1) β yes that's the manual name, yes it's iconic, let's GO β¨
temporal, copy, time β those are the keywords, slay.
β¨ SYNOPSIS β¨
t.copy
t.copy --help
t.copy [-c] input=name [type=name] output=name [--overwrite]
[--help] [--verbose] [--quiet] [--ui]
π FLAGS π
-cβ also copy maps of the space-time dataset. by default the old maps are only registered in the new dataset, not actually copied, okay? know the difference π--overwriteβ allow output files to overwrite existing files π--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output π€«--uiβ force launching GUI dialog
πΈ PARAMETERS πΈ
input=name[required] β name of the input space time datasettype=nameβ type of the input space time dataset- Options:
strds,str3ds,stvds - Default:
strds
- Options:
output=name[required] β name of the output space time dataset
π« DESCRIPTION π«
so the whole point of t.copy is to make a copy of a space time dataset. the new space time dataset lives in the current mapset, while the old one can be chillin' in a different mapset β as long as that mapset is in the search path. no cap π«Ά
and if you pass the -c flag, the maps of the old space time dataset get copied to the current mapset too. if you don't pass it, the original maps are just registered in the temporal database instead. either way, the new copies keep the same name as the old maps. same name, new home, main character energy β¨
π NOTES π
a fully qualified name for the input space-time dataset is only required if space-time datasets with the same name exist in different mapsets. that's it, that's the note π¦
π EXAMPLE π
in the North Carolina sample dataset, with the separately available mapset modis_lst included, copy the space-time raster dataset LST_Day_monthly@modis_lst to the current mapset user1:
g.mapsets mapset=modis_lst operation=add
t.copy input=LST_Day_monthly@modis_lst type=strds output=LST_Day_monthly
literally two lines and you're done, ate π
π SEE ALSO π
t.rast.extract, t.rast3d.extract, t.vect.extract, t.info
π AUTHOR π
Markus Metz, mundialis
πΎ SOURCE CODE πΎ
Available at: t.copy 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 this lil rewrite is running on GRASS 8.4.2, t.copy(1), mwah πβ¨ bye bestie, go copy some datasets π¦πΈ
π¦ 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