Given the sheer size of many of the 2018 mosaics, we might want to look for a more efficient library than PIL for reading in mosaics. For instance, much of each mosaic is empty space (to fill a rectangle), which doesn’t really need to be loaded/tiled!
Here's a (poorly documented) library for reading in and tiling large images: large-image. Seems to be substantially more memory-efficient.
Given the sheer size of many of the 2018 mosaics, we might want to look for a more efficient library than PIL for reading in mosaics. For instance, much of each mosaic is empty space (to fill a rectangle), which doesn’t really need to be loaded/tiled!
large-image
. Seems to be substantially more memory-efficient.If doing this will require too much of a code overhaul, IT WILL NOT BE WORTH IT!