I am trying to run a postprocessing job on a custom S1 dataset.
For this, I need to specify the unit and no-data values (and use) of each band.
With SNAP, everything is working fine.
I am trying to loop in python /snappy, and while I manage to set the unit per band with:
p = ProductIO.readProduct(fn)
p.getBand(‘band_1’).setUnit(‘db’)
I can’t find the correct syntax to set the No-Data Value Used to ‘True’, as well as the No-Data Value