SNAP 6.0 beta RayLeigh Corerection error reported


#1

Hi,when I processed OLCI radiance 1b data with SNAp 6.0 beta, the Optical/Preprocessing/Rayleigh Correction didn’t work, the error message is reported as follows:

java.lang.ArrayIndexOutOfBoundsException: 21
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrectionOp.getCorrectOzone(RayleighCorrectionOp.java:291)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrectionOp.lambda$computeTileStack$0(RayleighCorrectionOp.java:216)
at java.util.HashMap$EntrySet.forEach(Unknown Source)
at org.esa.s3tbx.olci.radiometry.rayleigh.RayleighCorrectionOp.computeTileStack(RayleighCorrectionOp.java:172)
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: 21
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)


#2

I think you are still using the beta preview4, right?
Please try the new preview5. It should be fixed there.


#3

YES. Preview 4. Thank you for the new beta preview.


#4

Now it is OK with Preview 5 for RayLeigh correction. Then I performed the FLH/MCI Processor ,and selected BBR as the input, then selected OLCI L2 FLH for Preset, but an eoor occured:


I think it maybe due to the setting for Mask expression?
WQSF_lsb.WATER || WQSF_lsb.INLAND_WATER


#5

Because you don’t have a real OLCI L2 Water product the preset is not working. You need to adapt the mask expression.