Now that the rectilinear grid is moving forward, it is time to lift the constraint that the sharding_indexed subchunk shape must evenly divide the chunk shape.
The only question is: what should the shape of the straddling subchunks be?
- Bounded by the chunk shape
- Always matching the subchunk shape, with some fill value elements that get ignored
My vote is on the former, so we can save some bytes :).
I've evaluated this with zarrs and it was fairly straightforward to support in the codec itself.
xref: zarrs/zarrs#233