-
Notifications
You must be signed in to change notification settings - Fork 47
Refactor blockwise coregistration method #707
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
Conversation
|
Great! 🙂 I went through all the code as we mentioned in our discussion yesterday. All good on the functionality. In terms of the structure and consistency with the rest of the package, here are my remarks (difficulty level of the change between parenthesis):
For 3.: Why? I realized we actually don't need to mirror the full complexity of #525 for
In short: We could pass down the So, in short, I think 1-2. shouldn't be a problem. Finally, I also have one question: Is there any core difference between our Line 1306 in 6e9db15
We generally prefer to use this
Some issues I mention above sound like the ones you described in the call, so this might part of the solution. |
ec5e5da to
6ce35f3
Compare
|
@adebardo I thought about the Performing the resampling we talked about using Thinking ahead on this, I see two solutions:
So I think we should have it covered in any case 😉 |
602ce15 to
08ddde3
Compare
|
Hi @rhugonnet , I know it's not perfect, but could you take a look? I imagine there will be quite a few changes, and I'd like to get everything aligned before I properly finish the tests. |
|
Looking good! Shorter and better code 😄 I don't have any generic comment, so will just add a couple line-by-line! |
|
It's great, thanks a lot for all the work! I have an idea that might solve the efforts you showed to optimize memory usage (in case you don't know the I/O behaviour with chunks, if you know, sorry for explaining again!): In short, you want to have two things: 1/ Use memory chunks that are a large multiple (x4-x10) of your disk chunks, and 2/ Ensure your disk chunks aren't too big (many rasters only have 4 chunks, so almost everything gets loaded all the time, no matter the memory chunks). |
cc30471 to
3d88b62
Compare
3d88b62 to
41d7fc7
Compare
|
Looking good, not much to say on the code side! |
9a49305 to
64ce190
Compare
|
Great! 😄 |
|
There are some rendering issues with the changes in the doc too, we'll have to fix that in another PR. |

(Edit from @rhugonnet to add a description)
This PR refactors
BlockwiseCoreg, rewritting most of the code to be shorter and changing the behaviour for the following:grid()from GeoUtils instead of the oldwarp_demfunction, which removes the artefacts from FixBlockwiseCoregerrors #584.Resolves #584
Resolves #645
Resolves #697
Resolves #601
Resolves #698
Original message
Lots of work to do but we will use this PR to debate tomorrow