1r.series.interp(1)            Grass User's Manual           r.series.interp(1)
2
3
4

NAME

6       r.series.interp   -  Interpolates raster maps located (temporal or spa‐
7       tial) in between input raster maps at specific sampling positions.
8

KEYWORDS

10       raster, series, interpolation
11

SYNOPSIS

13       r.series.interp
14       r.series.interp --help
15       r.series.interp  [input=name[,name,...]]    [datapos=float[,float,...]]
16       [infile=name]            [output=name[,name,...]]            [sampling‐
17       pos=float[,float,...]]    [outfile=name]    [method=string]    [--over‐
18       write]  [--help]  [--verbose]  [--quiet]  [--ui]
19
20   Flags:
21       --overwrite
22           Allow output files to overwrite existing files
23
24       --help
25           Print usage summary
26
27       --verbose
28           Verbose module output
29
30       --quiet
31           Quiet module output
32
33       --ui
34           Force launching GUI dialog
35
36   Parameters:
37       input=name[,name,...]
38           Name of input raster map(s)
39
40       datapos=float[,float,...]
41           Data point position for each input map
42
43       infile=name
44           Input  file  with one input raster map name and data point position
45           per line, field separator between name and sample point is |
46
47       output=name[,name,...]
48           Name for output raster map
49
50       samplingpos=float[,float,...]
51           Sampling point position for each output map
52
53       outfile=name
54           Input file with one output raster map name and sample  point  posi‐
55           tion per line, field separator between name and sample point is |
56
57       method=string
58           Interpolation  method,  currently only linear interpolation is sup‐
59           ported
60           Options: linear
61           Default: linear
62

DESCRIPTION

64       r.series.interp interpolates new raster maps located temporal  or  spa‐
65       tial  in  between existing raster maps.  The interpolation is performed
66       at specific sampling positions. The sampling position for  each  output
67       map  must be specified, as well as the data position of the input maps.
68       The following interpolation methods are supported.
69
70           ·   linear: Linear interpolation. At least two input maps and  data
71               positions are required.
72

EXAMPLES

74       Interpolate linear three new maps at 3 sampling positions in the inter‐
75       val (0.0;1.0)
76       First prepare the input maps:
77       g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
78       r.mapcalc expr="prec_1 = 100"
79       r.mapcalc expr="prec_5 = 500"
80
81       Interpolate
82       r.series.interp --v input=prec_1,prec_5 datapos=0.0,1.0 \
83                         output=prec_2,prec_3,prec_4 samplingpos=0.25,0.5,0.75 \
84                         method=linear
85
86       Interpolate using the file option.  First prepare the input file:
87       echo "prec_2|0.25
88       prec_3|0.5
89       prec_4|0.75" >> outfile.txt
90
91       Interpolate:
92       r.series.interp --v input=prec_1,prec_5 datapos=0.0,1.0 file=outfile.txt method=linear
93       The resulting maps will have the values 200, 300 and 400.
94

SEE ALSO

96        g.region, r.series, r.series.accumulate
97
98       Hints for large raster data processing
99

AUTHOR

101       Sören Gebbert
102

SOURCE CODE

104       Available at: r.series.interp source code (history)
105
106       Main index | Raster index | Topics index | Keywords index  |  Graphical
107       index | Full index
108
109       © 2003-2019 GRASS Development Team, GRASS GIS 7.8.2 Reference Manual
110
111
112
113GRASS 7.8.2                                                 r.series.interp(1)
Impressum