Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix support for computed images by removing a hack to do fast slicing. #156

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Apr 9, 2024

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.

Fixes #88 and #145.

@copybara-service copybara-service bot changed the title Added 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. Fix support for computed images by removing a hack to do fast slicing. Apr 11, 2024
@copybara-service copybara-service bot closed this Apr 11, 2024
@copybara-service copybara-service bot deleted the test_623280839 branch April 11, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XEE doesn't recognize new bands added to existing images
0 participants