Stripmap SLC error during Thermal Noise Removal

Hi everyone!
I’m running into the following error when I want to perform Thermal Noise Removal on a Stripmap SLC scene. I’m not that familiar with Stripmap but expected that the standard SLCtoGRD workflow would work. Guess it’s a bug? I’m using SNAP 8 with the latest updates btw.

org.esa.snap.core.gpf.OperatorException: java.lang.NullPointerException
	at org.esa.s1tbx.calibration.gpf.Sentinel1RemoveThermalNoiseOp.computeTile(Sentinel1RemoveThermalNoiseOp.java:623)
	at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:82)
	at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
Caused: org.esa.snap.core.gpf.OperatorException: java.lang.NullPointerException
	at org.esa.snap.core.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(OperatorExecutor.java:381)
	at com.sun.media.jai.util.SunTileScheduler.sendExceptionToListener(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.OperatorImage.computeRect(OperatorImage.java:75)
	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 com.sun.media.jai.util.RequestJob.compute(Unknown Source)
[catch] at com.sun.media.jai.util.WorkerThread.run(Unknown Source)

Hello @mengdahl @jun_lu,

this problem still exists in the newest version and I assume that TN removal for SM SLC data should be possible as it is also mentioned here (page 18).

It would be great if a ticket could be created so that this will eventually get fixed.

Best regards

1 Like

As I mentioned in another thread thermal noise removal should only work for scalar bands - they way it’s now implemented for SLCs is cheating. We should probably change it so that the i and q are not modified.