ENVISAT ASAR Calibration - Cannot find XCA file

Hi,
I am trying to calibrate the ENVISAT ASAR data in SNAP, but it resulted in an error. Its not able to download the auxiliary file from the net. When I used the NEST software its working properly. My SNAP software is up to date.
Looking for help.

org.esa.snap.core.gpf.OperatorException: Calibration: Cannot find XCA file: C:\Users\SAIPLANNER.snap\auxdata\AuxCal\ENVISAT\null
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:417)
at org.esa.s1tbx.calibration.gpf.CalibrationOp.initialize(CalibrationOp.java:157)
at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(OperatorContext.java:499)
at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(OperatorContext.java:278)
at org.esa.snap.core.gpf.Operator.getTargetProduct(Operator.java:359)
at org.esa.snap.core.gpf.GPF.createProductNS(GPF.java:311)
at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:286)
at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:265)
at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.createTargetProduct(SingleOperatorDialog.java:172)
[catch] at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.onApply(SingleOperatorDialog.java:287)
at org.esa.snap.ui.AbstractDialog.lambda$initUI$18(AbstractDialog.java:494)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

There are two strange things about this path.
First, the missing back slash between SAIPLANNER and .snap, and second the null at the end.
Can you show the operator configuration you use?

Hi,
In my c drive this “AuxCal” folder is not at all there. Operator configuration is

By “operator configuration” I did not mean the configuration of you OS. I was referring to the configuration of the calibration operation.
Can you show a screenshot of it or attach the graph.xml (command line call).
The directory should be created and the file downloaded during processing, so it is ok if it doesn’t exist yet.
The missing back slash is what makes me wonder.
Is SAIPLANNER your full user name or is it cut off?

SAIPLANNER is my full user name. Surprisingly now the slash is showing in the error message. PFA. What is the graph.xml you are referring to?


If you create a small subset of the product, does the same problem occur when you try to calibrate the subset?
If so, could you provide me with a link to the subset?

As far as I know all calibration auxiliary data should be available.

Hi,
I have tried doing with a subset as well even then the same problem persist. Automatic downloading of auxiliary file is not happening. So finally I have manually downloaded the auxiliary file and then calibrate it.
Is it the problem with python? I have also update the SNAP as well.

The graph xml is a definition of processing steps. This can be used on the command line or with the Graph Builder.
Type in “gpf overview” and select “SNAP GPF” in the search box in the upper right. There you can learn more about the processing with SNAP

Thank you marpet

Hi,
PFA.



org.esa.snap.core.gpf.OperatorException: Calibration: Cannot find XCA file: C:\Users\SAIPLANNER.snap\auxdata\AuxCal\ENVISAT\null
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:417)
at org.esa.s1tbx.calibration.gpf.CalibrationOp.initialize(CalibrationOp.java:157)
at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(OperatorContext.java:499)
at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(OperatorContext.java:278)
at org.esa.snap.core.gpf.Operator.getTargetProduct(Operator.java:359)
at org.esa.snap.core.gpf.GPF.createProductNS(GPF.java:311)
at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:286)
at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:265)
at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.createTargetProduct(SingleOperatorDialog.java:172)
[catch] at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.onApply(SingleOperatorDialog.java:287)
at org.esa.snap.ui.AbstractDialog.lambda$initUI$18(AbstractDialog.java:494)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

As commented earlier, this path looks suspicious, perhaps your installation is not 100% correct?

C:\Users\SAIPLANNER.snap\auxdata\AuxCal\ENVISAT\null

Hi,
Sometimes its showing C:\Users\SAIPLANNER.snap\auxdata\AuxCal\ENVISAT\null and some time it’s showing C:\Users\SAIPLANNER.snap\auxdata\AuxCal\ENVISAT\null

Did you try without the “Output DN band” option checked?

these are the same:

If there are inconsistencies I’d recommend removing the installaton properly including the .snap\folder and installing it new from scratch.

1 Like

Hi,
Thank you ABraun. I have uninstalled SNAP completely and installed the latest version 5.0. Now its working fine.
Thanks a lot.