1t.rast.univar(1)            GRASS GIS User's Manual           t.rast.univar(1)
2
3
4

NAME

6       t.rast.univar   -  Calculates  univariate  statistics from the non-null
7       cells for each registered raster map of a space time raster dataset.
8

KEYWORDS

10       temporal, statistics, raster, time, parallel
11

SYNOPSIS

13       t.rast.univar
14       t.rast.univar --help
15       t.rast.univar  [-eru]   input=name    [zones=name]     [nprocs=integer]
16       [output=name]    [where=sql_query]    [separator=character]    [--over‐
17       write]  [--help]  [--verbose]  [--quiet]  [--ui]
18
19   Flags:
20       -e
21           Calculate extended statistics
22
23       -r
24           Ignore the current region settings and use the raster  map  regions
25           for univar statistical calculation
26
27       -u
28           Suppress printing of column names
29
30       --overwrite
31           Allow output files to overwrite existing files
32
33       --help
34           Print usage summary
35
36       --verbose
37           Verbose module output
38
39       --quiet
40           Quiet module output
41
42       --ui
43           Force launching GUI dialog
44
45   Parameters:
46       input=name [required]
47           Name of the input space time raster dataset
48
49       zones=name
50           Raster map used for zoning, must be of type CELL
51
52       nprocs=integer
53           Number of threads for parallel computing
54           Default: 1
55
56       output=name
57           Name for output file
58
59       where=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       separator=character
65           Field separator character between the output columns
66           Special characters: pipe, comma, space, tab, newline
67           Default: pipe
68

DESCRIPTION

70       t.rast.univar calculates univariate statistics from the non-null  cells
71       for each registered raster map of a space time raster dataset.
72
73       By  default  it  returns the name of the map, the start and end date of
74       dataset and the following  values:  mean,  minimum  and  maximum  vale,
75       mean_of_abs,  standard  deviation,  variance, coeff_var, number of null
76       cells, total number of cells.
77
78       Using the e flag it can calculate also extended statistics: first quar‐
79       tile, median value, third quartile and percentile 90.
80
81       If  a  zones  raster  map is provided, statistics are computed for each
82       zone (category) in that input raster map. The  zones  option  does  not
83       support  Spatio-Temporal-Raster-Datasets  (STRDS)  but  only  a single,
84       static raster map.
85

EXAMPLE

87       Obtain the univariate statistics for  the  raster  space  time  dataset
88       "tempmean_monthly" (precision reduced to 2 decimals in this example):
89       t.rast.univar -e tempmean_monthly
90       id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells|first_quartile|median|third_quartile|percentile_90
91       2009_01_tempmean@climate_2009_2012|2009-01-01 00:00:00|2009-02-01 00:00:00|3.90|-3.38|7.43|3.95|1.79|3.20|45.91|1977967.31|503233|1010600|2.80|3.92|5.21|6.23
92       2009_02_tempmean@climate_2009_2012|2009-02-01 00:00:00|2009-03-01 00:00:00|5.91|-1.82|8.01|5.92|1.63|2.65|27.53|2999555.60|503233|1010600|5.44|6.26|7.07|7.48
93       ...
94       2012_11_tempmean@climate_2009_2012|2012-11-01 00:00:00|2012-12-01 00:00:00|8.03|1.79|10.91|8.03|1.32|1.73|16.41|4072472.77|503233|1010600|7.49|8.13|8.96|9.48
95       2012_12_tempmean@climate_2009_2012|2012-12-01 00:00:00|2013-01-01 00:00:00|8.71|1.76|11.98|8.71|1.72|2.95|19.74|4418403.77|503233|1010600|7.84|8.95|9.99|10.67
96

SEE ALSO

98        t.create, t.info t.create,
99

AUTHOR

101       Sören  Gebbert,  Thünen Institute of Climate-Smart Agriculture Stefan
102       Blumentrath, (Support for zones)
103

SOURCE CODE

105       Available at: t.rast.univar source code (history)
106
107       Accessed: Saturday Oct 28 18:19:22 2023
108
109       Main index | Temporal index | Topics index | Keywords index | Graphical
110       index | Full index
111
112       © 2003-2023 GRASS Development Team, GRASS GIS 8.3.1 Reference Manual
113
114
115
116GRASS 8.3.1                                                   t.rast.univar(1)
Impressum