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

merge_cubes: resample implicitly #402

Closed
m-mohr opened this issue Feb 1, 2023 · 1 comment · Fixed by #405
Closed

merge_cubes: resample implicitly #402

m-mohr opened this issue Feb 1, 2023 · 1 comment · Fixed by #405
Assignees
Labels
Milestone

Comments

@m-mohr
Copy link
Member

m-mohr commented Feb 1, 2023

Process ID: merge_cubes

Describe the issue:

@jdries wrote at https://discuss.eodc.eu/t/terrascope-backend-upgrade/542:

merge_cubes and mask will now try to automatically resample input data cubes if required, reducing the need to always use resample_cube_spatial
When catalogs contain 2 versions of the same product, we now detect this better and try to use the most recent version. This improves performance, but also reproducibility.

This is not ideal wrt reproducibility, I think. Different back-ends behave differently then.
It's non breaking as it purely adds behavior for what before just threw an error.

Proposed solution:

We discussed this in the PSC and it seems reasonable here to be user-friendly and implicitly add the resampling to the merge_cubes process in general. It would be described just as an implicit call to resample_cube_spatial where the first cube is always the baseline.

@soxofaan
Copy link
Member

soxofaan commented Feb 3, 2023

This feature could also be considered for the mask process

m-mohr added a commit that referenced this issue Feb 3, 2023
…be resampled implicitly instead of throwing an error. #402
m-mohr added a commit that referenced this issue Feb 3, 2023
…be resampled implicitly instead of throwing an error. #402
m-mohr added a commit that referenced this issue Mar 14, 2023
…clarifications (#405)

* `mask` and `merge_cubes`: The spatial dimensions `x` and `y` can now be resampled implicitly instead of throwing an error. #402

* Clarify descriptions #379

* Improve wording as suggested by @soxofaan

* Update merge_cubes.json

* Slim down description

* Default parameters of resample_cube_spatial apply
@m-mohr m-mohr closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants