Problem opening Sentinel-3 OLCI EFR

First of all, congrats for the release of SNAP 14. It looks promising.
However, when I try to open an OLCI product I get an error.

This is the exception:

java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 1
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
at java.base/java.util.Objects.checkIndex(Objects.java:385)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at org.esa.snap.dataio.netcdf.cache.NetcdfCacheDataProvider.register(NetcdfCacheDataProvider.java:44)
at eu.esa.opt.dataio.s3.Sentinel3DddbReader.registerVariableWithCache(Sentinel3DddbReader.java:528)
at eu.esa.opt.dataio.s3.Sentinel3DddbReader.addBand(Sentinel3DddbReader.java:448)
at eu.esa.opt.dataio.s3.Sentinel3DddbReader.addVariables(Sentinel3DddbReader.java:401)
at eu.esa.opt.dataio.s3.Sentinel3DddbReader.readProductNodesImpl(Sentinel3DddbReader.java:296)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:181)
at org.esa.snap.core.dataio.ProductIO.readProduct(ProductIO.java:180)
at org.esa.snap.rcp.actions.file.ReadProductOperation.run(ReadProductOperation.java:61)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)

You can download the product here: S3B_OL_1_EFR____20230717T104859_20230717T105159_20230717T232729_0180_081_379_2160_PS2_O_NT_003.zip

Hi Marco,

you hit a spot that we never encountered - although we’re processing OLCI L1 systematically.

The reason for the crash is: in baseline version 003.00.00 the frame_offset is an 8 bit array, in 003.03.00 also, in 003.03.01 it is a 16 bit vector and finally from version 003.03.02 and onwards it is again an 8 bit array.

We are currently investigating with the OPT-MPC about this and the missing documentation on the sub-baseline version increments.

We will release a module update once we’re aligned with ESA.

Cheers,

Tom

Oh, what a mess. Thanks for the info Tom.
That’s not that important to me. I noticed it just by chance.

Ciao
Marco