[ ] allow as_raster() to modify the bands, so it's irrelevant what was asked for upfront (ugh this means the band record from info must persist, and be independent of what was asked for)
[ ] add tests for this
Is making as_raster independent a problem? We have 100 bands, users sets bands = 10:20, but then I as_raster(lr, band = 1:10) - I'll get the source's first ten, not the lazyraster's. ??
band = NULL
as_raster()
to modify the bands, so it's irrelevant what was asked for upfront (ugh this means the band record from info must persist, and be independent of what was asked for)Is making as_raster independent a problem? We have 100 bands, users sets
bands = 10:20
, but then Ias_raster(lr, band = 1:10)
- I'll get the source's first ten, not the lazyraster's. ??