v.strds.stats
Calculates univariate statistics from given space-time raster datasets based on a vector map
v.strds.stats input=name strds=name [,name,...] output=name [where=sql_query] [t_where=sql_query] [method=string [,string,...]] [percentile=integer] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
v.strds.stats input=name strds=name output=name
grass.script.run_command("v.strds.stats", input, strds, output, where=None, t_where=None, method="number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile", percentile=90, overwrite=False, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("v.strds.stats", input="name", strds="name", output="name")
Parameters
input=name [required]
Name of input vector map
Or data source for direct OGR access
strds=name [,name,...] [required]
Name of the input space time raster datasets
output=name [required]
Name for output vector map
where=sql_query
WHERE conditions of SQL statement without 'where' keyword
Example: income < 1000 and population >= 10000
t_where=sql_query
WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework
Example: start_time > '2001-01-01 12:30:00'
method=string [,string,...]
The methods to use
Default: number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile
percentile=integer
Percentile to calculate
Default: 90
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
input : str, required
Name of input vector map
Or data source for direct OGR access
Used as: input, vector, name
strds : str | list[str], required
Name of the input space time raster datasets
Used as: input, strds, name
output : str, required
Name for output vector map
Used as: output, vector, name
where : str, optional
WHERE conditions of SQL statement without 'where' keyword
Example: income < 1000 and population >= 10000
Used as: input, sql_query, sql_query
t_where : str, optional
WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework
Example: start_time > '2001-01-01 12:30:00'
Used as: sql_query
method : str | list[str], optional
The methods to use
Default: number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile
percentile : int, optional
Percentile to calculate
Default: 90
overwrite: bool, optional
Allow output files to overwrite existing files
Default: False
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
v.strds.stats calculates univariate statistics from given space-time raster datasets (STRDS) based on a vector map and uploads statistics to new attribute columns.
NOTES
EXAMPLES
v.strds.stats input=myvector strds=mystrds output=newvector
SEE ALSO
v.what.rast, t.vect.observe.strds
AUTHOR
Luca Delucchi, Fondazione Edmund Mach
SOURCE CODE
Available at: v.strds.stats source code
(history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819