1t.vect.univar(1) GRASS GIS User's Manual t.vect.univar(1)
2
3
4
6 t.vect.univar - Calculates univariate statistics of attributes for
7 each registered vector map of a space time vector dataset
8
10 temporal, statistics, vector, time
11
13 t.vect.univar
14 t.vect.univar --help
15 t.vect.univar [-eu] input=name [output=name] [layer=string] col‐
16 umn=name [twhere=sql_query] [where=sql_query] [type=string]
17 [separator=character] [--overwrite] [--help] [--verbose] [--quiet]
18 [--ui]
19
20 Flags:
21 -e
22 Calculate extended statistics
23
24 -u
25 Suppress printing of column names
26
27 --overwrite
28 Allow output files to overwrite existing files
29
30 --help
31 Print usage summary
32
33 --verbose
34 Verbose module output
35
36 --quiet
37 Quiet module output
38
39 --ui
40 Force launching GUI dialog
41
42 Parameters:
43 input=name [required]
44 Name of the input space time vector dataset
45
46 output=name
47 Name for output file
48
49 layer=string
50 Layer number or name
51 Vector features can have category values in different layers. This
52 number determines which layer to use. When used with direct OGR ac‐
53 cess this is the layer name.
54 Default: 1
55
56 column=name [required]
57 Name of attribute column
58
59 twhere=sql_query
60 WHERE conditions of SQL statement without ’where’ keyword used in
61 the temporal GIS framework
62 Example: start_time > ’2001-01-01 12:30:00’
63
64 where=sql_query
65 WHERE conditions of SQL statement without ’where’ keyword
66 Example: income < 1000 and population >= 10000
67
68 type=string
69 Input feature type
70 Options: point, line, boundary, centroid, area
71 Default: point
72
73 separator=character
74 Field separator character between the output columns
75 Special characters: pipe, comma, space, tab, newline
76 Default: pipe
77
79 The module t.vect.univar computes univariate statistics of a space time
80 vector dataset based on a single attribute row.
81
83 The example is based on the t.vect.observe.strds example; so create the
84 precip_stations space time vector dataset and after run the following
85 command:
86 t.vect.univar input=precip_stations col=month
87 id|start|end|n|nmissing|nnull|min|max|range|mean|mean_abs|population_stddev|population_variance|population_coeff_variation|sample_stddev|sample_variance|kurtosis|skewness
88 precip_stations_monthly@climate_2009_2012|2009-01-01 00:00:00|2009-02-01 00:00:00|132|0|4|-2.31832|7.27494|9.59326|3.44624|3.5316|1.79322|3.21564|0.520341|1.80005|3.24019|0.484515|-0.338519
89 precip_stations_monthly@climate_2009_2012|2009-02-01 00:00:00|2009-03-01 00:00:00|132|0|4|-0.654152|7.90613|8.56028|5.47853|5.48844|1.73697|3.01708|0.317051|1.74359|3.04011|0.875252|-1.0632
90 ....
91 precip_stations_monthly@climate_2009_2012|2012-10-01 00:00:00|2012-11-01 00:00:00|132|0|4|9.67596|18.4654|8.78945|14.945|14.945|1.90659|3.6351|0.127574|1.91386|3.66285|-0.0848967|-0.700833
92 precip_stations_monthly@climate_2009_2012|2012-11-01 00:00:00|2012-12-01 00:00:00|132|0|4|3.56755|10.6211|7.05357|7.72153|7.72153|1.33684|1.78715|0.173132|1.34194|1.8008|0.90434|-0.863935
93 precip_stations_monthly@climate_2009_2012|2012-12-01 00:00:00|2013-01-01 00:00:00|132|0|4|3.04325|11.6368|8.5935|8.20147|8.20147|1.78122|3.17275|0.217183|1.78801|3.19697|-0.177991|-0.501295
94
96 t.create, t.info
97
99 Sören Gebbert, Thünen Institute of Climate-Smart Agriculture
100
102 Available at: t.vect.univar source code (history)
103
104 Accessed: Saturday Oct 28 18:19:24 2023
105
106 Main index | Temporal index | Topics index | Keywords index | Graphical
107 index | Full index
108
109 © 2003-2023 GRASS Development Team, GRASS GIS 8.3.1 Reference Manual
110
111
112
113GRASS 8.3.1 t.vect.univar(1)