Skip to content
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

execute_batch silently adds save_result even if there is already one #401

Open
soxofaan opened this issue Mar 24, 2023 · 3 comments
Open

Comments

@soxofaan
Copy link
Member

cube = cube.save_result(format="NetCDF")
cube.execute_batch()

the last execute_batch() call will silently add a save_result("GTiff") causing to post a process graph with two save_result nodes (in series), which is not intended by the user and not valid either (Open-EO/openeo-processes#334)

soxofaan added a commit that referenced this issue Apr 11, 2023
soxofaan added a commit that referenced this issue Apr 12, 2023
soxofaan added a commit that referenced this issue Apr 12, 2023
@soxofaan
Copy link
Member Author

reopening: still has to be addressed for VectorCubes (and related)

started WIP in #415 already

@soxofaan
Copy link
Member Author

Already avoided double save_result with VectorCube.save_result + .download() in 8cbaf25

still some more work to do: make this feature more generic, like in WIP PR #415

@soxofaan
Copy link
Member Author

addressing #402 will probably simplify and help with the unification of this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant