Error: There is already an image reader in terrain correction

Dear all
Several times I have faced with this problem, and I don’t know what is the reason:

java.lang.IllegalStateException: There is already an image reader.
at org.esa.snap.dataio.geotiff.GeoTiffProductReader.readProductNodesImpl(GeoTiffProductReader.java:108)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:178)
at org.esa.snap.core.dataop.dem.ElevationFile.getLocalFile(ElevationFile.java:139)
at org.esa.snap.core.dataop.dem.ElevationFile.getFile(ElevationFile.java:107)
at org.esa.snap.core.dataop.dem.ElevationFile.getTile(ElevationFile.java:84)
at org.esa.snap.core.dataop.dem.BaseElevationModel.getSamples(BaseElevationModel.java:169)
at org.esa.snap.core.dataop.resamp.BilinearInterpolationResampling.resample(BilinearInterpolationResampling.java:82)
at org.esa.snap.core.dataop.dem.BaseElevationModel.getElevation(BaseElevationModel.java:107)
at org.esa.snap.dem.dataio.DEMFactory.getLocalDEM(DEMFactory.java:182)
at org.esa.s1tbx.sar.gpf.geometric.RangeDopplerGeocodingOp.computeTileStack(RangeDopplerGeocodingOp.java:887)
Caused: org.esa.snap.core.gpf.OperatorException: There is already an image reader.
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:434)
at org.esa.s1tbx.sar.gpf.geometric.RangeDopplerGeocodingOp.computeTileStack(RangeDopplerGeocodingOp.java:1104)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(OperatorImageTileStack.java:122)
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(OperatorImageTileStack.java:86)
Caused: org.esa.snap.core.gpf.OperatorException: There is already an image reader.
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)

Please guide me as soon as possible. Thanks.

No answer? terrain correction becomes nightmare in my project. I have tested all possibilities such as auto downloading of DEM as well as many external them.
Please reach to this problem as soon as possible

Dear @nooschinpilot
Could you provide us with more information about your SNAP version, OS version, processing steps and the product you are using?

@djagula can you have a look at this?

Thanks

Dear Diana
I use the last version. I am using S1 GRDH but all of my steps stop in terrain correction.
I use two S1 for flood assessment

What the hell is this? :neutral_face: :face_with_raised_eyebrow:

1 Like

It is impossible to debug anything without having a copy of your processing graphs and information about the input data you used plus error logs.

Dear Mengdahl

The example of error message are mentioned above.
What can I share more?!

See my earlier message.

what a nice help!

1 Like

I have the same problem. Have you solved it