Calibration failure on 2/3 of swaths

snap 4.0
Mac OSX 10.10.5 & Linux
granule: S1A_IW_GRDH_1SDV_20150514T113306_20150514T113331_005916_0079F7_46A0.zip

Radiometric calibration is successful only on 1 of 3 subswaths (see intensity image vs calibrated image). On SNAP GUI, the calibration ends successfully. But on commandline version of SNAP, Index error develops in Cal, causing Java exception.

Questions are

  1. is there a way to identify this failure cases without relying on manually examining the result
  2. why would the commandline version fail, while GUI version does not?

(above is calibrated) (below is intensity)

Change to SNAP 5 please.

Are you sure the data is incomplete? Sometime the displayed tiles take a while to load and need to be panned or zoomed.
It would have processed from the top down and not by subswath. If the processing had failed mid way through I would have expected the bottom half to be missing.
If you move the mouse over the missing area, what is the pixel readout? If it’s really missing it would have NaN.
What is the exception and how did you run it from the command line so I could try to repeat it the same way?
Thanks


below are the details of index error that occurred during the commandline version of calibration

::::::::::::::
20170105T000008071/L2_S0_S1.log
::::::::::::::

INFO:root:Calibration command: /pkg/snap/bin/gpt SMAP_L2_S0_S1_PP_CalConfig_S1A_IW_GRDH_1SDV_20150514T113306_20150514T113331_005916_0079F7_46A0.xml
INFO:root:Calibration ready to run in snap toolkit
INFO:root:INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Loading external tools…
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /pkg/snap/smos
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /pkg/snap/rstb
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /pkg/snap/s1tbx
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /pkg/snap/s2tbx
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /pkg/snap/s3tbx
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Scanning for external tools adapters: /home/oasisopr/.snap/auxdata/tool-adapters
org.esa.snap.core.gpf.OperatorException: Index: 0, Size: 7
at org.esa.snap.core.gpf.graph.GraphProcessor$GPFImagingListener.errorOccurred(GraphProcessor.java:373)
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 com.sun.media.jai.util.RequestJob.compute(SunTileScheduler.java:247)
at com.sun.media.jai.util.WorkerThread.run(SunTileScheduler.java:468)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 7
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at org.geotools.feature.simple.SimpleFeatureTypeImpl.getType(SimpleFeatureTypeImpl.java:105)
at org.esa.snap.core.dataio.geometry.VectorDataNodeIO.getConverters(VectorDataNodeIO.java:47)
at org.esa.snap.core.dataio.geometry.VectorDataNodeWriter.writeFeatures0(VectorDataNodeWriter.java:94)
at org.esa.snap.core.dataio.geometry.VectorDataNodeWriter.writeFeatures(VectorDataNodeWriter.java:63)
at org.esa.snap.core.dataio.geometry.VectorDataNodeWriter.write(VectorDataNodeWriter.java:54)
at org.esa.snap.core.dataio.dimap.DimapProductWriter.writeVectorData(DimapProductWriter.java:534)
at org.esa.snap.core.dataio.dimap.DimapProductWriter.writeVectorData(DimapProductWriter.java:526)
at org.esa.snap.core.dataio.dimap.DimapProductWriter.writeProductNodesImpl(DimapProductWriter.java:122)
at org.esa.snap.core.dataio.AbstractProductWriter.writeProductNodes(AbstractProductWriter.java:109)
at org.esa.snap.core.gpf.common.WriteOp.doExecute(WriteOp.java:294)
at org.esa.snap.core.gpf.internal.OperatorContext.executeOperator(OperatorContext.java:1242)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:65)
at javax.media.jai.SourcelessOpImage.computeTile(SourcelessOpImage.java:137)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
… 3 more

Error: Index: 0, Size: 7

Have you tried with 5.0?

Just tried with 5.0. The problem seems to have gone! But I will keep eye on if the same issue occurs. Thanks!

1 Like