Error with Apply-Oribit-File operator with ERS SAR_IMP_1P product from ASAR OTF system

Hello everyone,

I am trying to apply Apply-Orbit-File operator to the ERS SAR_IMP_1P product, but it failed.

Data used: SAR_IMP_1PNESA20070305_024218_00000018A124_00089_62067_0000.E2
SNAP version: 7.0.4

Following are the details of the error message:

java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at org.esa.snap.engine_utilities.util.ZipUtils.unzip(ZipUtils.java:134) at org.esa.snap.engine_utilities.download.DownloadableArchive.getContentFiles(DownloadableArchive.java:39) at org.esa.s1tbx.io.orbits.prare.PrareOrbitFile.getRemoteFiles(PrareOrbitFile.java:130) at org.esa.s1tbx.io.orbits.prare.PrareOrbitFile.retrieveOrbitFile(PrareOrbitFile.java:86) at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.updateOrbits(ApplyOrbitFileOp.java:267) at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.initialize(ApplyOrbitFileOp.java:201) Caused: org.esa.snap.core.gpf.OperatorException: error in opening zip file at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:440) at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.initialize(ApplyOrbitFileOp.java:213) at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(OperatorContext.java:507) at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(OperatorContext.java:294) at org.esa.snap.core.gpf.Operator.getTargetProduct(Operator.java:387) at org.esa.snap.core.gpf.GPF.createProductNS(GPF.java:330) at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:305) at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:284) at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.createTargetProduct(SingleOperatorDialog.java:175) [catch] at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.onApply(SingleOperatorDialog.java:287) at org.esa.snap.ui.AbstractDialog.lambda$initUI$6(AbstractDialog.java:519) 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)

What could be the problem?

Thank you!

can you tell if this has worked for your setting in earlier versions?
If so, this could be related to this: https://senbox.atlassian.net/browse/SITBX-777 and will hopefully be fixed soon.

Hi @ABraun,

I am sorry to tell you that this is actually my first time using SNAP to process ERS data…
Any idea?

Thank you for your prompt reply :smiley:

no problem at all. Did you apply any other steps before this?
Which data source did you select in the second tab? Have you tried an alternative ERS Orbit source? (PRARE or DELFT)

Hi again @ABraun,

No, I usually apply “Apply-Orbit-File” as the first step.

The error message that I mentioned above happened when I select PRARE Precise.

I quickly tried with the other option, DELFT Precise, and it showed another type of error message:

java.io.IOException: Unable to find suitable orbit file. Please refer to http://www.deos.tudelft.nl/ers/precorbs/orbits/ ERS1 orbits are available until 1996 ERS2 orbits are available until 2003 ENVISAT orbits are available until 2008 at org.esa.s1tbx.io.orbits.delft.DelftOrbitFile.retrieveOrbitFile(DelftOrbitFile.java:58) at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.updateOrbits(ApplyOrbitFileOp.java:267) at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.initialize(ApplyOrbitFileOp.java:201) Caused: org.esa.snap.core.gpf.OperatorException: Unable to find suitable orbit file. Please refer to http://www.deos.tudelft.nl/ers/precorbs/orbits/ ERS1 orbits are available until 1996 ERS2 orbits are available until 2003 ENVISAT orbits are available until 2008 at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:440) at org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp.initialize(ApplyOrbitFileOp.java:213) at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(OperatorContext.java:507) at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(OperatorContext.java:294) at org.esa.snap.core.gpf.Operator.getTargetProduct(Operator.java:387) at org.esa.snap.core.gpf.GPF.createProductNS(GPF.java:330) at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:305) at org.esa.snap.core.gpf.GPF.createProduct(GPF.java:284) at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.createTargetProduct(SingleOperatorDialog.java:175) [catch] at org.esa.snap.graphbuilder.rcp.dialogs.SingleOperatorDialog.onApply(SingleOperatorDialog.java:287) at org.esa.snap.ui.AbstractDialog.lambda$initUI$6(AbstractDialog.java:519) 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)

I guess this error is simply due to no orbit file for my data (20070305).

Thank you!

A problem occurred during the target product processing. Type: OperatorException Message: Executor already shutdown!!
Anyone knows something about this error, while ESD operator,
Thanks,

  • Zoran

@YCChen I tried to download your image product, but cannot find it in the ESA catalogue. Where did you download it?

@zgojkovic: Your question does not really fit in here, please post it in a topic dealing with ESD to reach more people which might have an idea.

@ABraun I downloaded the image through ESA Online Dissemination Service (https://esar-ds.eo.esa.int/oads/access/).

This is the metadata of the image:

thank you, I have just downloaded the data and the orbit download worked. It took some time to connect, but then it was successful. So there is at least orbit data available on the server side.

Maybe you have to allow SNAP to pass your firewall. Or you can disable it temporarily for a test.

Hi @ABraun,

After I deleted the ers_precise_orb folder in .snap\auxdata\Orbits and rerun, it worked successfully :smiley:

As you said, it took a while to connect. I think that I encountered this error because I terminated the process while it was connecting to and downloading orbit files from the server… So the file did not download successfully, and re-applying the operator failed :see_no_evil:

Thank you for your help!!!

good to hear! Thank you for reporting the solution.