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

issue253 Use extend with overlap with retile in vectorize #360

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ElienVandermaesenVITO
Copy link

@@ -617,13 +617,19 @@ class OpenEOProcesses extends Serializable {
val maxExtent = datacube.metadata.extent
//naive approach: combine tiles and hope that we don't exceed the max size
//if we exceed the max, vectorize will run on separate tiles, and we'll need to merge results
val newCols = Math.min(256*20,layout.cols)
val newRows = Math.min(256*20,layout.rows)
val newCols = Math.min(256,layout.cols)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I suggest to still work with a larger tile size by default, maybe 256*4, avoiding that we make an immediate change from very coarse tiling to small tiles.
It is always possible that certain edge cases were not detected in our testing, and by doing it like this we do a more gradual rollout.
It is however important to ensure that the unit test also continues to work on the more complex case. Making this tile size configurable would be one way to achieve that.

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.

2 participants