-
Notifications
You must be signed in to change notification settings - Fork 0
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
S1 extraction fixes - PR Re-opened #149
Conversation
@HansVRP I still need your green fire for the remaining open conversations |
…1-extraction-fixes-PR2 Conflicts: tests/test_openeo_gfmap/test_utils.py
Thanks @GriffinBabe will dedicate some time this afternoon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions and comments.
The code provided is not necessarily very general. In addition I miss practical unit tests for the newly introduced functionalities. e.g. unit test for calculating the s1 area ect
By the way there is a unit test available for the s1 area calculation: https://github.com/Open-EO/openeo-gfmap/blob/s1-extraction-fixes-PR2/tests/test_openeo_gfmap/test_utils.py#L24 There are missing unit-tests for:
|
…1-extraction-fixes-PR2 Conflicts: src/openeo_gfmap/utils/catalogue.py
) | ||
request_sessions.mount("https://", adapters.HTTPAdapter(max_retries=retries)) | ||
return request_sessions | ||
|
||
|
||
class UncoveredS1Exception(Exception): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this class needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(basic implementation is a pass?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for EUGW I think these change pose no problem
…1-extraction-fixes-PR2 Conflicts: src/openeo_gfmap/manager/job_splitters.py
In this PR I re-open the changes brought and then reverted of the old
s1-extraction-fixes
branch.Changes include (those can be ticked once validated here):
Miscellaneous changes
s2grid_bounds_v2.geojson
file contains an additional columncdse_valid
to filter out those tiles.Job manager changes
retry_on_exception
wrapper for post-job actions, as internal openeo exception can disrupt the extraction process.parralel_jobs
depending on the running time of the manager. Useful feature but a bit complex, I'm not using it in-fine for the WorldCereal project so personally I don't mind removing it.Ctrl-C'ed
the script whenever one thread was writing the binary serialized file. So there is something to improve here.