Processing error in Rayleigh correction for OLCI product


#1

I have downloaded an OLCI L1 product from the CODA eumetsat hub , I tried to run the Rayleigh processor asking only for BOA reflectances, but I got this error:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrAlgorithm.getFourierSeries(RayleighCorrAlgorithm.java:165)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrAlgorithm.getRhoBrr(RayleighCorrAlgorithm.java:138)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrectionOp.getRhoBrr(RayleighCorrectionOp.java:194)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrectionOp.lambda$computeTileStack$0(RayleighCorrectionOp.java:178)
at java.util.HashMap$EntrySet.forEach(Unknown Source)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrectionOp.computeTileStack(RayleighCorrectionOp.java:142)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:85)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
Caused: org.esa.snap.core.gpf.OperatorException: Index: 0, Size: 0
at org.esa.snap.core.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(OperatorExecutor.java:376)
at com.sun.media.jai.util.SunTileScheduler.sendExceptionToListener(SunTileScheduler.java:1646)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:921)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2085)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:64)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:407)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:393)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:73)
at javax.media.jai.SourcelessOpImage.computeTile(SourcelessOpImage.java:137)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at com.sun.media.jai.util.RequestJob.compute(SunTileScheduler.java:247)
[catch] at com.sun.media.jai.util.WorkerThread.run(SunTileScheduler.java:468)

what is that?How can I avoid it?


#2

From the stacktrace I see that not the latest code is used.
Maybe an update can solve the issue. If it does not help, can you tell me which product you are using?


#3

Yes, you’re right, it is again SNAP 5.0, so probably that is the reason. Thanks again :slight_smile: