r.series.interp(1grass) | GRASS GIS User's Manual | r.series.interp(1grass) |
r.series.interp - Interpolates raster maps located (temporal or spatial) in between input raster maps at specific sampling positions.
raster, series, interpolation
r.series.interp
r.series.interp --help
r.series.interp [input=name[,name,...]]
[datapos=float[,float,...]] [infile=name]
[output=name[,name,...]]
[samplingpos=float[,float,...]]
[outfile=name] [method=string]
[--overwrite] [--help] [--verbose] [--quiet]
[--ui]
r.series.interp interpolates new raster maps located temporal or spatial in between existing raster maps. The interpolation is performed at specific sampling positions. The sampling position for each output map must be specified, as well as the data position of the input maps. The following interpolation methods are supported.
Interpolate linear three new maps at 3 sampling positions in the
interval (0.0;1.0)
First prepare the input maps:
g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3 r.mapcalc expr="prec_1 = 100" r.mapcalc expr="prec_5 = 500"
Interpolate
r.series.interp --v input=prec_1,prec_5 datapos=0.0,1.0 \
output=prec_2,prec_3,prec_4 samplingpos=0.25,0.5,0.75 \
method=linear
Interpolate using the file option. First prepare the input file:
echo "prec_2|0.25 prec_3|0.5 prec_4|0.75" >> outfile.txt
Interpolate:
r.series.interp --v input=prec_1,prec_5 datapos=0.0,1.0 file=outfile.txt method=linear
The resulting maps will have the values 200, 300 and 400.
g.region, r.series, r.series.accumulate
Hints for large raster data processing
Sören Gebbert
Available at: r.series.interp source code (history)
Accessed: Sunday Jan 22 07:36:29 2023
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
GRASS 8.2.1 |