openeo-python-client
openeo-python-client copied to clipboard
execute_batch silently adds save_result even if there is already one
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 (https://github.com/Open-EO/openeo-processes/issues/334)
reopening: still has to be addressed for VectorCubes (and related)
started WIP in #415 already
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
addressing #402 will probably simplify and help with the unification of this feature