The closed form of what synthetic_reader() holds, for writing expected
values in tests without going through a raster.
Arguments
- x, y
coordinates. For
method = "simple"these are snapped to the containing cell centre; for"bilinear"they are used as given.- i
slice number, one-based. May be fractional, which is what
ctstime = TRUEreturns.- method
"simple"or"bilinear".- res
cell size of the series.
- origin
lower left corner of the series.