Hello,
I run FU-Classification from SNAP using Sentinel 3 Water Full Product downloaded from EUMETSAT in an automated process:
- gpt_processing cmd.pygpt_processing_cmd.py (1.8 KB)
- which loops through a list of data and calls the cmd and the GPT graph
2.fuGraph.xml
fuGraph.xml (2.4 KB)
I ran the process for 2017,2018, 2019 and 2020 and I sometimes encounter the following errors:
“Error: [NodeId: fuNode] The instrument can not be automatically detected, please select the instrument in the processing parameter.” This is the error I get from running the script. When I run the same process in SNAP I get:
I also get a lot of “Cannot construct DataBuffer.”, and reading the other posts in the forum, it seems like it relates to the memory. I have 32GB RAM and 8 cores so this should not be the issue. The Picked up _JAVA_OPTIONS are -Xms256m -Xmx1024m Is it possible if this error occurs if there is no valid water data after subsetting S3 in the node id= “Subset”?
Processing…
Picked up _JAVA_OPTIONS: -Xms256m -Xmx1024m
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Incompatible GDAL 3.3.1 found on system. Internal GDAL 3.0.0 from distribution will be used.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.0.0 set to be used by SNAP.
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.0.0 set to be used by SNAP.
INFO: org.hsqldb.persist.Logger: dataFileCache open start
org.esa.snap.core.gpf.OperatorException: Cannot construct DataBuffer.
at org.esa.snap.core.gpf.graph.GraphProcessor$GPFImagingListener.errorOccurred(GraphProcessor.java:379)
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 com.sun.media.jai.iterator.RandomIterFallback.makeCurrent(Unknown Source)
at com.sun.media.jai.iterator.RandomIterFallback.getSampleFloat(Unknown Source)
at com.sun.media.jai.opimage.WarpNearestOpImage.computeRectFloat(Unknown Source)
at com.sun.media.jai.opimage.WarpNearestOpImage.computeRect(Unknown Source)
at javax.media.jai.WarpOpImage.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 javax.media.jai.RenderedOp.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)
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)
Caused by: java.lang.RuntimeException: Cannot construct DataBuffer.
at com.sun.media.jai.util.DataBufferUtils.constructDataBuffer(Unknown Source)
at com.sun.media.jai.util.DataBufferUtils.createDataBufferFloat(Unknown Source)
at javax.media.jai.ComponentSampleModelJAI.createDataBuffer(Unknown Source)
at javax.media.jai.RasterFactory.createWritableRaster(Unknown Source)
at javax.media.jai.PlanarImage.createWritableRaster(Unknown Source)
at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
… 20 more
Error: Cannot construct DataBuffer.
Any suggestions, please?