-
Notifications
You must be signed in to change notification settings - Fork 41
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
Allow '_ensure_save_result' to be skipped with a flag in any place it is called. #513
Comments
Do you have an example of these different result nodes? Maybe the check can also be improved?
We are for instance thinking about a save_collection process, that could also have this problem.
…________________________________
From: Gerald Walter Irsiegler ***@***.***>
Sent: Monday, December 4, 2023 11:44 AM
To: Open-EO/openeo-python-client ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [Open-EO/openeo-python-client] Allow '_ensure_save_result' to be skipped with a flag in any place it is called. (Issue #513)
Often I find myself being unable to start jobs that have different result nodes which are incompatible with save_result and there has to be some workaround implemented for handling these edge cases.
I'd like to propose an optional flag for methods such as create_job and download which allows ensure save result to be skipped so that no superfluous save_result node gets added.
I can also create a PR for this if a change like this is approved.
—
Reply to this email directly, view it on GitHub<#513>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABNJPSH5Q75CQFPLCIQLMK3YHWSQTAVCNFSM6AAAAABAFYEIOOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDGNJVGAYDCMI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
VITO Disclaimer: http://www.vito.be/e-maildisclaimer
|
We are currently using save_ml_model which stores results of random forest regression, we debated including this functionality in save_result but decided the outputs were different enough to justify its own process (and this might in the future be the case for more things, like UDFs). I think for more advanced users having the option would be a benefit, and making it optional would save the users relying on it currently from any trouble. |
is |
ah no wait, can you provide some examples in code snippets? |
I would like to skip the |
Side note: if you do |
Thanks for pointing this out, then I will use the create job with the flat graph for now! |
I'm not completely following: if you don't have a save_result in your first job, you don't really have result assets in your job results so how can you reference to that cube in another job? Isn't it better to define a "SAFE" file format in your capabilities to be used in this case? |
FYI: I was referring to this part in openeo-python-client/openeo/rest/mlmodel.py Lines 108 to 110 in 26bef79
|
added |
Often I find myself being unable to start jobs that have different result nodes which are incompatible with save_result and there has to be some workaround implemented for handling these edge cases.
I'd like to propose an optional flag for methods such as create_job and download which allows ensure save result to be skipped so that no superfluous save_result node gets added.
I can also create a PR for this if a change like this is approved.
The text was updated successfully, but these errors were encountered: