Dear all,
I’d firstly like to thank you all in advance for your help.
I am currently pre-processing ERS-2 data to export them for StaMPS. (I previously performed PSI analysis using Sentinel SLC, so I have an idea of the full process, I hope).
Now, I’m trying to pre-process ERS-2 data and, after applying orbits, I am trying to perform the coregistration step (as @ABraun suggested previously: Apply Orbit > Coregistration > Interferogram - Quick question: in which step subset would be best to be applied?)
IMPORTANT OBSERVATIONS:
-
I am working with a set of 25 images. If I try to coregister all of them I get the errors below. If I try to coregister just 10 of them, it works!
-
My CPU and Memory (as seen from Task Manager) during the process stays between 85-100% CPU and Memory starts from ~30% and after a few minutes stays between 90-100%.
-
The scenes are stored into an external HD (so are taken from there) and I am writing them into my local disk C:
-
In the coregistration tabs all the parameters are kept as default.
The Errors:
java.lang.NullPointerException
at org.esa.snap.core.datamodel.ProductNodeList.indexOf(ProductNodeList.java:307)
at org.esa.snap.core.datamodel.ProductNodeList.get(ProductNodeList.java:100)
at org.esa.snap.core.datamodel.ProductNodeGroup.get(ProductNodeGroup.java:138)
at org.esa.snap.core.datamodel.Product.getBand(Product.java:1229)
at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.getWarpData(WarpOp.java:533)
at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.computeTile(WarpOp.java:454)
Caused: org.esa.snap.core.gpf.OperatorException
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:440)
at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.computeTile(WarpOp.java:500)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:82)
at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at javax.media.jai.PlanarImage.getData(Unknown Source)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:64)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:449)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
[catch] at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:86)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at com.sun.media.jai.util.RequestJob.compute(Unknown Source)
at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
and
java.lang.ArrayIndexOutOfBoundsException: -1
at org.ejml.data.DMatrixD1.get(DMatrixD1.java:96)
at org.jlinda.core.coregistration.CPM.estimateCPM(CPM.java:565)
at org.jlinda.core.coregistration.CPM.computeCPM(CPM.java:333)
at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.getWarpData(WarpOp.java:624)
at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.computeTile(WarpOp.java:454)
Caused: org.esa.snap.core.gpf.OperatorException: -1
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:440)
at org.esa.s1tbx.insar.gpf.coregistration.WarpOp.computeTile(WarpOp.java:500)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:82)
at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at javax.media.jai.PlanarImage.getData(Unknown Source)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:64)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:449)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:116)
[catch] at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:86)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at com.sun.media.jai.util.RequestJob.compute(Unknown Source)
at com.sun.media.jai.util.WorkerThread.run(Unknown Source)
The coregistration runs for a while and processes all the scenes, but as soon as it’s time to write them it stops and gives me these errors. Also, a “-1” appear at the bottom left corner of the coregistration window (screenshot below) as soon as it fails.
Only once, after changing the VM Parameters the error has changed, and it was something like “Buffer…”, I can’t exactly remember the full error, sorry.
Summary of environment and settings:
System Type x64-based PC
Processor AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 2300 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 13.9 GB
Available Physical Memory 10.5 GB
Total Virtual Memory 22.5 GB
Available Virtual Memory 16.0 GB (After failed coregistration it goes as low as 3GB left)
Hard drive 512 GB PCIe® NVMe™ M.2 SSD > 476.11 GB (237.05 GB free)
SNAP Original Settings (Gives the errors above):
VM Parameters: -Xmx9216m -Xms256m -XX:+AggressiveOpts -Xverify:none -Dnetbeans.mainclass=org.esa.snap.main.Main -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Dsun.java2d.dpiaware=false
Cache Path: C:\Users\simon.snap\var\cache
Cache Size (MB): 1024
512 128;256;512;*;
8 8;
StoredGraph
SNAP Modified Settings #1 (Gives the errors above):
VM Parameters: -Xmx8GB -Xms256m -XX:+AggressiveOpts -Xverify:none -Dnetbeans.mainclass=org.esa.snap.main.Main -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Dsun.java2d.dpiaware=false
Cache Path: C:\Users\simon.snap\var\cache
Cache Size (MB): 2048
512 128;256;512;*;
8 8;
StoredGraph
SNAP Modified Settings #2 (Gives the errors above):
VM Parameters: -Xmx13GB -Xms512m -XX:+AggressiveOpts -Xverify:none -Dnetbeans.mainclass=org.esa.snap.main.Main -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Dsun.java2d.dpiaware=false
Cache Path: C:\Users\simon.snap\var\cache
Cache Size (MB): 6 (GB)
512 128;256;512;*;
8 8;
StoredGraph
I have tried to search for the errors, but I couldn’t find much. I would very much appreciate your help and suggestions, thank you very much!
P.s. If you need additional information please do not hesitate to let me know!