-
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
[POC] cli step 3 add coreg nuth&kaab #554
Comments
remarks:
--> for glaciohack, conceptually, we have separated in demcompare way : a Coregistration Class which is a simple factory of CoregistrationTemplate objects depending on a parameter (config, string...). This CoregistrationTemplate is the equivalent of your Coreg class which is the class containing all of common elements and that drive API for all (usually using ABCMeta, abstractmethod but i don't know the equivalent with @overload you seem to use, https://github.com/GlacioHack/xdem/blob/main/xdem/coreg/base.py#L1215). Maybe in two steps, a first basic way as here to make a first cli and another adding a more flexible code organization. My 2 cts, hoping it helps |
A few comments:
And to answer @duboise-cnes's questions:
|
For listing coreg methods: I think it would be easy to maintain a manual list, as we don't add a new method very often (there are list already used in Note: Regarding the parameters, after the merge of PR #530 (that I'm working on this week), all
This is about to be documented (once #502 is finalized, hopefully by the time you are all back from holidays 😉). |
@duboise-cnes thanks, i think we could talk about the coregistration architecture in a meeting I plan to revisit this matter after the 21/08/2024 meeting. |
Is there anything new to discuss here? |
I already changed the ticket regarding the meeting yes, it's okay now |
Context
The goal of this ticket is to implement coregistration from the xdem run.
In the code
From the run in the init file, we now need to:
add the right function to veirfy path, if "path/to/save/folder" doesn't exist, it can be created
Load the reference and secondary DEMs using the accessor:
reference_elev, to_be_aligned_elev = geoutils.rasters.load_multiple_rasters([config["inputs"]["reference_elev"], config["inputs"]["to_be_aligned_elev"])
Execute a coregistration:
For the tests
tests/test_cli.py
For the documentation
2d
The text was updated successfully, but these errors were encountered: