I’m getting a error when trying to filter an interferogram (3 swaths, 14 bursts each) and I’m not sure if it’s an OS, SNAP, or file issue. I’m looking for some guidance to help narrow down the cause. The steps and screen outputs are below. I’m using gpt and xml graphs in a linux environment.
I’m not very familiar with Java, but my searching on ‘device or resource busy’ suggests that a file is locked somewhere but I can’t find any locked files. I’m not sure if the issue relates to the ‘Database closed’ message appearing after 10% of ifg creation has occurred.
Any advice would be appreciated.
- Read in *.SAFE files:
Executing processing graph INFO: org.hsqldb.persist.Logger: dataFileCache open start INFO: org.esa.snap.engine_utilities.download.DownloadableContentImpl: http retrieving http://aux.sentinel1.eo.esa.int/POEORB/<path_to_orbit_file> ....10%....20%....30%....40%....50%....60%....70%....80%....90% done.
- Create interferogram:
Executing processing graph
INFO: org.hsqldb.persist.Logger: dataFileCache open start
…10%INFO: org.hsqldb.persist.Logger: Database closed
…20%…30%…40%…50%…60%…70%…80%…90% done.
– org.jblas INFO Deleting /tmp/jblas2922490162459314703/libjblas.so
– org.jblas INFO Deleting /tmp/jblas2922490162459314703/libjblas_arch_flavor.so
– org.jblas INFO Deleting /tmp/jblas2922490162459314703
- Filter interferogram:
Executing processing graph
INFO: org.hsqldb.persist.Logger: dataFileCache open start
…90% done.
org.esa.snap.core.gpf.OperatorException: Device or resource busy
at org.esa.snap.core.gpf.graph.GraphProcessor$GPFImagingListener.errorOccurred(GraphProcessor.java:363)
at com.sun.media.jai.util.SunTileScheduler.sendExceptionToListener(SunTileScheduler.java:1646)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:921)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at com.sun.media.jai.util.RequestJob.compute(SunTileScheduler.java:247)
at com.sun.media.jai.util.WorkerThread.run(SunTileScheduler.java:468)
Caused by: org.esa.snap.core.gpf.OperatorException: Device or resource busy
at org.jlinda.nest.dataio.SnaphuExportOp.computeTile(SnaphuExportOp.java:199)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:80)
at javax.media.jai.SourcelessOpImage.computeTile(SourcelessOpImage.java:137)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
… 3 more
Caused by: java.io.IOException: Device or resource busy
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(RandomAccessFile.java:377)
at org.esa.s1tbx.commons.io.EnhancedRandomAccessFile.read_(EnhancedRandomAccessFile.java:520)
at org.esa.s1tbx.commons.io.EnhancedRandomAccessFile.seek(EnhancedRandomAccessFile.java:315)
at org.esa.s1tbx.commons.io.FileImageOutputStreamExtImpl.seek(FileImageOutputStreamExtImpl.java:143)
at org.esa.snap.core.datamodel.ProductData.writeTo(ProductData.java:984)
at org.jlinda.nest.dataio.SnaphuWriter.writeBandRasterData(SnaphuWriter.java:167)
at org.jlinda.nest.dataio.SnaphuExportOp.computeTile(SnaphuExportOp.java:193)
… 6 moreError: Device or resource busy
– org.jblas INFO Deleting /tmp/jblas1115541007696653433/libjblas_arch_flavor.so
– org.jblas INFO Deleting /tmp/jblas1115541007696653433/libjblas.so
– org.jblas INFO Deleting /tmp/jblas1115541007696653433