Fix support for computed images by removing a hack to do fast slicing.
Add a new fast_time_slicing parameter. If True, Xee performs an optimization that makes slicing an ImageCollection across time faster. This optimization loads EE images in a slice by ID, so any modifications to images in a computed ImageCollection will not be reflected.
For those familiar with the code before, the else flow in _slice_collection was only entered when images in the collection didn't have IDs. Clearing the image IDs triggered the else block.
Also adds several new warnings:
if a user enables fast_time_slicing but there are no image IDs, and
if a user is indexing into a very large ImageCollection.
Fix support for computed images by removing a hack to do fast slicing.
Add a new
fast_time_slicing
parameter. If True, Xee performs an optimization that makes slicing an ImageCollection across time faster. This optimization loads EE images in a slice by ID, so any modifications to images in a computed ImageCollection will not be reflected.For those familiar with the code before, the else flow in
_slice_collection
was only entered when images in the collection didn't have IDs. Clearing the image IDs triggered the else block.Also adds several new warnings:
fast_time_slicing
but there are no image IDs, andFixes #88 and #145.