Hi marpet,
The product from which I have encountered this error is:
S3A_OL_1_EFR____20200905T162021_20200905T162321_20200906T204739_0179_062_254_1980_LN1_O_NT_002.SEN3
I am able to recreate the error with the following python script:
from snappy import ProductIO, GPF, HashMap, WKTReader
in_file = 'S3A_OL_1_EFR____20200905T162021_20200905T162321_20200906T204739_0179_062_254_1980_LN1_O_NT_002.SEN3'
subset_file = 'subset_file.dim'
wkt = 'POLYGON((-79.6508789062 56.8174174759, -78.6758422852 56.8174174759, -78.6758422852 56.3880631441, -79.6508789062 56.3880631441, -79.6508789062 56.8174174759))'
source = ProductIO.readProduct(in_file)
parameters = HashMap()
geom = WKTReader().read(wkt)
parameters.put('copyMetadata', 'false')
parameters.put('fullSwath', 'false')
parameters.put('geoRegion', geom)
parameters.put('sourceBands', '')
parameters.put('subSamplingX', '1')
parameters.put('subSamplingY', '1')
target = GPF.createProduct('Subset', parameters, source)
ProductIO.writeProduct(target, subset_file, 'BEAM-DIMAP')
source = ProductIO.readProduct(subset_file)
parameters = HashMap()
parameters.put('cloudBufferWidth', '8')
parameters.put('computeCloudBuffer', 'true')
parameters.put('outputSchillerNNValue', 'false')
parameters.put('radianceBandsToCopy', '')
parameters.put('reflBandsToCopy', '')
target = GPF.createProduct('Idepix.Olci', parameters, source)
In case it is useful:
snap --nosplash --nogui --modules --list --refresh | grep āidepixā
org.esa.snap.idepix.probav 8.0.0 Available
org.esa.snap.idepix.modis 8.0.0 Available
org.esa.s3tbx.s3tbx.idepix 6.0.7 Enabled
org.esa.s2tbx.s2tbx.s2msi.idepix 6.0.4 Enabled
org.esa.snap.idepix.spotvgt 8.0.0 Available
org.esa.snap.idepix.landsat8 8.0.0 Available
org.esa.snap.idepix.viirs 8.0.0 Available
org.esa.snap.idepix.olci 8.0.0 Installed
org.esa.snap.idepix.seawifs 8.0.0 Available
org.esa.snap.idepix.meris 8.0.0 Available
org.esa.s3tbx.s3tbx.idepix.ui 6.0.7 Available
org.esa.snap.idepix.s2msi 8.0.2 Installed
org.esa.snap.idepix.core 8.0.0 Installed
org.esa.s2tbx.s2tbx.s2msi.idepix.ui 6.0.4 Available
Above shows I now have both version 6 and 8 installed. If I modify the code to use āIdepix.Sentinel3.Olciā (I believe version 6) instead of āIdepix.Olciā (I believe version 8) then there is no error.
Please note the error was present even when I had only version 8 installed. However I have now both versions as a work-around so I can use version 6 for the time being.