Open
Description
Now that it's not possible to pass a locus to disaggregate
, it always disaggregates at the Start, which returns some pretty unexpected dimensions (to me). I think it should be a priority to always return the same bounds when disaggregating - right now that doesn't happen.
using Rasters, Rasters.Lookups
ras = Raster(rand(X(Sampled(5:10:95; sampling = Intervals(Center())))))
ras2 = disaggregate(ras, 10)
extent(ras2) == extent(ras)
I thought this would be an easy fix, but it requires changing some of the internals and then everything gets messed up.
So maybe the solution is to shiftlocus
internally or something. Or do should we make it possible to pass a locus again?