r.series.interp(1)

πŸ’– r.series.interp πŸ’–

okay bestie, gather round, because this is the r.series.interp page from the GRASS GIS User's Manual and it's literally about making new raster maps appear out of thin air between your existing ones πŸ¦‹

✨ NAME ✨

r.series.interp β€” interpolates raster maps located (temporal or spatial) in between input raster maps at specific sampling positions. it's giving "fill in the blanks but make it science" πŸ’…

πŸŽ€ KEYWORDS πŸŽ€

raster, series, interpolation


🌸 SYNOPSIS 🌸

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]

🫢 Flags:

  • --overwrite β€” lets your output files just. bulldoze any existing files with the same name. permission granted, no cap.
  • --help β€” prints the usage summary, aka the "what does this even do" button
  • --verbose β€” verbose module output, so it tells you EVERYTHING happening, main character narrator energy
  • --quiet β€” quiet module output, the shush option 🀫
  • --ui β€” forces the GUI dialog to launch, for when you want buttons instead of typing

🌈 Parameters:

  • input=name[,name,...] β€” name of input raster map(s), comma-separated bestie
  • datapos=float[,float,...] β€” data point position for each input map. one per map, okay? don't skip πŸ’€
  • infile=name β€” input file with one input raster map name and data point position per line, field separator between name and sample point is |
  • output=name[,name,...] β€” name for output raster map
  • samplingpos=float[,float,...] β€” sampling point position for each output map
  • outfile=name β€” input file with one output raster map name and sample point position per line, field separator between name and sample point is |
  • method=string β€” interpolation method, currently only linear interpolation is supported
    • Options: linear
    • Default: linear

πŸ’œ DESCRIPTION πŸ’œ

so what does r.series.interp actually do? it interpolates new raster maps located temporal or spatial in between existing raster maps. periodt. 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. yes both. don't come for me, that's just how it is πŸ™ˆ

the following interpolation methods are supported:

  • linear: Linear interpolation. At least two input maps and data positions are required. two is the bare minimum, it's giving "you need at least two friends to start a group chat" 😭

⭐ EXAMPLES ⭐

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. ate that and left no crumbs πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • g.region, r.series, r.series.accumulate
  • Hints for large raster data processing

🧚 AUTHOR 🧚

SΓΆren Gebbert


πŸ’… SOURCE CODE πŸ’…

Available at: r.series.interp source code (history)

Accessed: Saturday Jan 17 05:40:58 2026

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


and that's the whole page bestie, you're officially interpolated ✨ go forth and fill in those gaps, iykyk πŸ“

okay so this was r.series.interp(1) from the GRASS 8.4.2 reference manual, last touched Saturday Jan 17 05:40:58 2026 β€” mwah, no notes, slay πŸ’–πŸŒˆπŸ«Ά

πŸ“¦ where this page comes from