Make Snappy wait for Java to finish

In the above example you need to replace the band name ‘MyBand’ by a name which exists in target1.
If you want to do multiple computation steps you can do it differently.
One way is to setup a graph xml file which you can execute with GPF. The other way is to pass the result of one step directly to the next one.

applyOrbitParams = HashMap()
applyOrbitProduct = GPF.createProduct("Apply-Orbit-File", applyOrbitParams, file1)
terrainCorrParams = HashMap()
terrainCorrProduct = GPF.createProduct("Terrain-Correction", terrainCorrParams, applyOrbitTarget)