-
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
Argument subsample
does not work for a CoregPipeline
#428
Comments
Actually this is quite limiting because the old |
Alright, trying to brainstorm the What do we have now?
Main problem: for many methods, we need the spatial dimension OR spatial elevation information of the inputs to run the coreg. For example: deriving slope/aspect in Ideas for solution We could combine all of the following changes:
But: With this workflow, the "data necessary for the coreg" would always be processed/subsampled by code written in the subclass method itself, instead of a centralized pre-processing function of Thinking more about it, I think it's fine, as long as we organize our functions nicely! 😄
Any thoughts @erikmannerfelt @adehecq? |
Mmmh, difficult task !
Something else I'm thinking. For some methods, it makes sense to randomly subsample the points (e.g. Tilt, Deramp, VerticalShift...), for others, it would make more sense to simply downgrade the resolution (e.g. NuthKaab). Maybe we could get away with two generic subsampling methods, one than randomly samples and one that downgrade? |
Yes, not easy!
Good point for the downsampling, actually I know a lot of users that ran into memory problems just because of that. There should be a logic in the pre-processing that always derives the fit from the lowest resolution data by default. I'll open an issue so we don't forget! |
Could also solve #137 at the same time...
The text was updated successfully, but these errors were encountered: