t.list(1grass)
π t.list β the manual page, but make it a group chat π
okay so bestie, this is t.list from the GRASS User's Manual, and it's literally about listing your space time datasets and maps that are registered in the temporal database. no cap. let's get into it π¦
β¨ KEYWORDS β¨
temporal, map management, list, time
π SYNOPSIS π
like, here's the shape of the whole thing:
t.list
t.list --help
t.list [-c] [type=string] [temporaltype=name[,name,...]]
[order=string[,string,...]] [columns=string[,string,...]]
[where=sql_query] [separator=character] [output=name]
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
πΈ Flags πΈ
-cβ prints the column names as the first row. like a lil header. π--overwriteβ lets output files overwrite files that already exist. yes, it will actually do that. π--helpβ prints the usage summary.--verboseβ verbose module output, i.e. it yaps more.--quietβ quiet module output, i.e. it yaps less.--uiβ forces launching the GUI dialog.
π Parameters π
type=stringβ the type of the space time dataset or map. default isstrds. options are:strds,str3ds,stvds,raster,raster_3d,vector. default:strdstemporaltype=name[,name,...]β the temporal type of the space time dataset. options:absolute,relative. default:absolute,relativeorder=string[,string,...]β sorts the space time dataset by category. heads up bestie: the columnsnumber_of_mapsandgranularityare only available for space time datasets. options:id,name,semantic_label,creator,mapset,number_of_maps,creation_time,start_time,end_time,interval,north,south,west,east,granularity. default:idcolumns=string[,string,...]β the columns that get printed to stdout. same lil caveat:number_of_mapsandgranularityare only available for space time datasets. options:id,name,semantic_label,creator,mapset,number_of_maps,creation_time,start_time,end_time,north,south,west,east,granularity,all. default:idwhere=sql_queryβWHEREconditions of an SQL statement, without thewherekeyword, used in the temporal GIS framework. example:start_time > β2001-01-01 12:30:00βseparator=characterβ the field separator character between the output columns. special characters: pipe, comma, space, tab, newline. default: pipeoutput=nameβ name for output file
π§ DESCRIPTION π§
so t.list lists any dataset that's registered in the temporal database. we're talking raster, 3D raster and vector maps, plus their corresponding space time datasets (STRDS, STR3DS and STVDS). π
you pick which type you want with the type option, and the default is STRDS. by default, all datasets with relative and absolute time get listed. but you have the ability to specify a single temporal type with the temporaltype option, periodt.
you can also define which columns get printed for each dataset, and the order of the datasets. and on top of that, a SQL WHERE statement can be specified to select a subset of the datasets you requested. obsessed. π₯
π NOTES π
the SQL where and sort expression get applied for each temporal database that was found in accessible mapsets. so, lowkey important: sorting works only on a mapset basis.
temporal databases stored in other mapsets can be used as long as they're in the user's current mapset search path (which you manage with g.mapsets). iykyk. π«Ά
π EXAMPLES π
get the list of space time raster dataset(s) β
t.list strds
----------------------------------------------
Space time raster datasets with absolute time available in mapset <climate_2000_2012>:
tempmean_monthly@climate_2000_2012
get the list of space time raster datasets in a specific mapset π¦
(note that the target mapset must be in the user's search path, bestie)
# strds in PERMANENT
t.list strds where="mapset = βPERMANENTβ"
----------------------------------------------
# strds in climate_2000_2012
t.list strds where="mapset = βclimate_2000_2012β"
----------------------------------------------
Space time raster datasets with absolute time available in mapset <climate_2000_2012>:
precip_abs@climate_2000_2012
precipitation@climate_2000_2012
tempmean@climate_2000_2012
pattern matching in the name πΈ
the where option can also be used to list the stds with a certain pattern in their name, i.e. as the pattern option in g.list.
# strds whose name start with "precip"
t.list type=strds where="name LIKE βprecip%β"
----------------------------------------------
Space time raster datasets with absolute time available in mapset <climate_1970_2012>:
precip_abs@climate_1970_2012
precipitation@climate_1970_2012
time stamped raster maps π
you can also obtain the list of time stamped raster maps. these maps might be registered in strds or not. the output of the following command can vary according to the accessible mapsets specified through g.mapsets. π
t.list raster
Time stamped raster maps with absolute time available in mapset <climate_2000_2012>:
2009_01_tempmean@climate_2000_2012
2009_02_tempmean@climate_2000_2012
2009_03_tempmean@climate_2000_2012
...
2012_10_tempmean@climate_2000_2012
2012_11_tempmean@climate_2000_2012
2012_12_tempmean@climate_2000_2012
π SEE ALSO π
g.list, t.create, t.info, t.rast.list, t.rast3d.list, t.vect.list
π AUTHOR π
SΓΆren Gebbert, ThΓΌnen Institute of Climate-Smart Agriculture
β¨ SOURCE CODE β¨
available at: t.list source code (history)
latest change: Monday Nov 03 07:16:48 2025 in commit: c96796774942e46bbababcd652d3986d4e295665
main index | temporal index | topics index | keywords index | graphical index | full index
and that's the whole thing bestie π this was written against the Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual β so if you're running GRASS 8.5.0, you're literally in the right place. slay, go list some datasets, periodt. πβ¨π¦
π¦ 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