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 dataset
  • type=name β€” type of the input space time dataset
    • Options: strds, str3ds, stvds
    • Default: strds
  • 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