1r.surf.random(1)            GRASS GIS User's Manual           r.surf.random(1)
2
3
4

NAME

6       r.surf.random   - Produces a raster surface map of uniform random devi‐
7       ates with defined range.
8

KEYWORDS

10       raster, surface, random
11

SYNOPSIS

13       r.surf.random
14       r.surf.random --help
15       r.surf.random [-i] output=name   [min=float]    [max=float]    [--over‐
16       write]  [--help]  [--verbose]  [--quiet]  [--ui]
17
18   Flags:
19       -i
20           Create an integer raster map
21
22       --overwrite
23           Allow output files to overwrite existing files
24
25       --help
26           Print usage summary
27
28       --verbose
29           Verbose module output
30
31       --quiet
32           Quiet module output
33
34       --ui
35           Force launching GUI dialog
36
37   Parameters:
38       output=name [required]
39           Name for output raster map
40
41       min=float
42           Minimum random value
43           Default: 0
44
45       max=float
46           Maximum random value
47           Default: 100
48

DESCRIPTION

50       r.surf.random  produces  a  raster map layer of uniform random deviates
51       whose range can be expressed by the user. It is essentially the same as
52       r.surf.gauss,  but  uses  a linear random number generator instead.  It
53       uses the random number generator drand48() or rand(), depending on  the
54       user’s platform.
55

EXAMPLE

57       g.region -p n=228500 s=215000 w=630000 e=645000 res=10
58       r.surf.random out=random min=0 max=100
59       # check result
60       r.univar random
61       Figure: Random surface example (min: 10; max: 100)
62
63       With the histogram tool the cell values versus count can be shown.
64
65       Figure: Histogram of random surface example (min: 10; max: 100)
66

SEE ALSO

68          r.random.surface,   r.surf.contour,   r.surf.fractal,  r.surf.gauss,
69       r.surf.idw, v.surf.rst
70

AUTHOR

72       Jo Wood
73       Midlands Regional Research Laboratory (ASSIST)
74       University of Leicester
75       October 1991
76

SOURCE CODE

78       Available at: r.surf.random source code (history)
79
80       Accessed: Mon Jun 20 16:46:31 2022
81
82       Main index | Raster index | Topics index | Keywords index  |  Graphical
83       index | Full index
84
85       © 2003-2022 GRASS Development Team, GRASS GIS 8.2.0 Reference Manual
86
87
88
89GRASS 8.2.0                                                   r.surf.random(1)
Impressum