Sentinel-1 "Failed to open image window"

Hi,

I am having some problems after coregistering a Sentinel-1 images.

Any help would be appreciated, I’m not sure what the problem is. I don’t think it’s with coregistration itself as I was able to create an interferogram (but still not open it like this other image).

I get this error message below:

image

java.lang.NullPointerException

at com.sun.media.jai.util.SunCachedTile.<init>(SunCachedTile.java:80)

at com.sun.media.jai.util.SunTileCache.add(SunTileCache.java:257)

at javax.media.jai.OpImage.addTileToCache(OpImage.java:1087)

at javax.media.jai.OpImage.getTile(OpImage.java:1142)

at javax.media.jai.PlanarImage.getData(PlanarImage.java:2085)

at org.esa.snap.core.datamodel.StxFactory.accumulateTile(StxFactory.java:343)

at org.esa.snap.core.datamodel.StxFactory.accumulate(StxFactory.java:323)

at org.esa.snap.core.datamodel.StxFactory.accumulate(StxFactory.java:296)

at org.esa.snap.core.datamodel.StxFactory.create(StxFactory.java:200)

at org.esa.snap.core.datamodel.StxFactory.create(StxFactory.java:274)

at org.esa.snap.core.datamodel.RasterDataNode.computeStxImpl(RasterDataNode.java:2453)

at org.esa.snap.core.datamodel.Band.computeStxImpl(Band.java:504)

at org.esa.snap.core.datamodel.RasterDataNode.getStx(RasterDataNode.java:2420)

at org.esa.snap.core.datamodel.RasterDataNode.createDefaultImageInfo(RasterDataNode.java:1827)

at org.esa.snap.core.datamodel.Band.createDefaultImageInfo(Band.java:483)

at org.esa.snap.core.datamodel.RasterDataNode.getImageInfo(RasterDataNode.java:1809)

at org.esa.snap.core.datamodel.RasterDataNode.getImageInfo(RasterDataNode.java:1792)

at org.esa.snap.core.image.ImageManager.prepareImageInfos(ImageManager.java:834)

at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(ColoredBandImageMultiLevelSource.java:51)

at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(ColoredBandImageMultiLevelSource.java:47)

at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(ColoredBandImageMultiLevelSource.java:41)

at org.esa.snap.ui.product.ProductSceneImage.<init>(ProductSceneImage.java:69)

at org.esa.snap.rcp.actions.window.OpenImageViewAction.createProductSceneImage(OpenImageViewAction.java:271)

at org.esa.snap.rcp.actions.window.OpenImageViewAction.access$100(OpenImageViewAction.java:69)

at org.esa.snap.rcp.actions.window.OpenImageViewAction$1.doInBackground(OpenImageViewAction.java:236)

at org.esa.snap.rcp.actions.window.OpenImageViewAction$1.doInBackground(OpenImageViewAction.java:213)

at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(ProgressMonitorSwingWorker.java:55)

at javax.swing.SwingWorker$1.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at javax.swing.SwingWorker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused: java.util.concurrent.ExecutionException

at java.util.concurrent.FutureTask.report(Unknown Source)

at java.util.concurrent.FutureTask.get(Unknown Source)

at javax.swing.SwingWorker.get(Unknown Source)

[catch] at org.esa.snap.rcp.actions.window.OpenImageViewAction$1.done(OpenImageViewAction.java:221)

at javax.swing.SwingWorker$5.run(Unknown Source)

at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)

at sun.swing.AccumulativeRunnable.run(Unknown Source)

at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)

at javax.swing.Timer.fireActionPerformed(Unknown Source)

at javax.swing.Timer$DoPostEvent.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(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.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 product level of Sentinel-1 did you use (SLC or GRD) and which coregistration tool was applied? Any other steps which were applied before this error?

I used SLC images and did the S1 TOPS coregistration.

Could you provide the file names of the two S1 products and any steps you did to get to that error?Thanks.

S1A_IW_SLC__1SDV_20170916T223624_20170916T223651_018407_01EFD9_6EF5

and

S1A_IW_SLC__1SDV_20170928T223624_20170928T223651_018582_01F52F_D73E

I opened these images in SNAP and then used the S1 TOPS coregistration tool; I picked a subset of one of the IW images to perform the coregistration. The options I used were defaults.

how did you create the subset? Was it before coregistration?
Usually, you reduce the area of interest in the “TOPS split” tab within TOPS coregistration .

Within the coregistration tool there’s a scrolling bar where you can choose which subset images you want to use. I tried to use split beforehand but that did not work for another reason so I decided to split within the coregistration tool.

that actually is the correct way to do it.
I just tried it in the G-TEP and at least the products seem fine. Have you tried it again?
I didn’t have the time to download them and directly test in SNAP which would clearly be more representative.

You can have a look at it here.

I went ahead with the steps for creating an interferogram despite getting the errors (the errors didn’t prevent the products from being made, but just being seen). When I went through the steps I was able to create interferograms that I could open! Very strange, I don’t know what the problem is with the co registered image. So now I’m moving on to unwrapping, despite the original errors.

I’ve never heard of G-TEP, what is that?

Does the message still pop up when opening the interferogram?
I had this once with TanDEM-X data but nothing was wrong.

The platform allows cloud computing of SAR data, but its still in a beta phase.

Yes, the interferogram itself won’t open - but I can see subsequent products made from the interferogram (debursted etc).