Isn’t it working with just these parameters? By looking at the code I would think that all bands are used if the parameter sourceBands is not given.
What is the output you get?
I’ve made a mistake.
I forgot to change outputIntensity to false.
Now I get the output with all bands.
Sorry, next time I’ll take more attettion before posting.
Do you see what is wrong in my code by any chance? (the input image is a sentinel 2 SAFE file, the code is working when I select one band but not two or more)
the error message is
File “D:\projects\code_repository\SAFIY2\trunk\Snap_band_selections.py”, line 45, in band_selection
parameters.put(‘sourceBands’, ‘sun_azimuth’,‘sun_zenith’)
RuntimeError: no matching Java method overloads found