The 'inspect' method allows to log properties of a datacube, which is useful for debugging.
It is however not so easy to invoke it. What I would intuitively expect based on other processes, is a simple cube.inspect().
Note that importing 'inspect' from openeo.processes is an option, but invoking that method returns a ProcessBuilder object, which does not have the convenience functionality to start jobs.
The current workaround I found was to do this:
connection.datacube_from_process("inspect",data=cube)
The 'inspect' method allows to log properties of a datacube, which is useful for debugging.
It is however not so easy to invoke it. What I would intuitively expect based on other processes, is a simple
cube.inspect().Note that importing 'inspect' from
openeo.processesis an option, but invoking that method returns aProcessBuilderobject, which does not have the convenience functionality to start jobs.The current workaround I found was to do this:
connection.datacube_from_process("inspect",data=cube)