-
Notifications
You must be signed in to change notification settings - Fork 42
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 BlockwiseCoreg
errors
#584
Comments
Additionally, would be a good moment to add more tests to avoid this happening again in the future. |
OK, the cause is indeed that |
Even when the coregistration is applied in the right direction (which is not the case by default for
where the
And the blockwise before/after plot when I force the direction of shift correction: We need to find the origin of these artefacts... likely in the |
Hmm, do you mean that the artefacts are what can be seen around the edge of the figure that you sent? Meaning that it's not perfect at the edges? Also, I don't understand how it can suddenly shift the apply in the wrong direction and still produce the right result in the documentation: |
Yes those are the artefacts! The "stable" documentation is the latest release. The wrong direction compared to other apply appeared since #530, so it's in "latest": https://xdem.readthedocs.io/en/latest/advanced_examples/plot_blockwise_coreg.html |
Oof yeah that's bad.. It would be interesting to know what the I've looked through the code and can't find an obvious place where this issue arises. Any ideas? |
I could not find much either. Here's what I put together:
|
@rhugonnet, sorry I'm doing my best to keep up! Were these direction issues fixed with the latest PRs or is it still a problem? Regarding the artefacts, I suspect that it's not |
Since #530, it looks like
BlockwiseCoreg
has an issue:apply
seems wrong, in the documentation built in #502 example it creates more errors than it corrects (wrong direction?).Additionally, it fails with
BiasCorr
method during theapply
step.The text was updated successfully, but these errors were encountered: