data processing # HAWKEYE

Please enter here to ask a question about any NASA Science related topics!
Post Reply
slava.suslin
Posts: 31
Joined: Tue Feb 16, 2021 1:51 am America/New_York

data processing # HAWKEYE

by slava.suslin » Fri Jun 25, 2021 3:53 am America/New_York

Hi,

i try to use next command (like i used for SeaWiFS, MODIS and etc/)

--
cp $INPUT/SEAHAWK1_HAWKEYE.$i.L2.OC.nc test.oc.nc
/home/slava/seadas-7.5.1/bin/gpt.sh Write -Ssource=test.oc.nc -PformatName=CSV -Pfile="test.oc.csv"
--

result is below
--
start 20210617T084304 .. Пт июн 25 10:38:22 MSK 2021
org.esa.beam.framework.gpf.OperatorException: Cannot construct DataBuffer.
at org.esa.beam.framework.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(OperatorExecutor.java:373)
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.beam.framework.gpf.OperatorException: Cannot construct DataBuffer.
at org.esa.beam.gpf.operators.standard.WriteOp.computeTile(WriteOp.java:313)
at org.esa.beam.framework.gpf.internal.OperatorImage.computeRect(OperatorImage.java:77)
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.lang.RuntimeException: Cannot construct DataBuffer.
at com.sun.media.jai.util.DataBufferUtils.constructDataBuffer(DataBufferUtils.java:132)
at com.sun.media.jai.util.DataBufferUtils.createDataBufferFloat(DataBufferUtils.java:214)
at javax.media.jai.ComponentSampleModelJAI.createDataBuffer(ComponentSampleModelJAI.java:271)
at javax.media.jai.RecyclingTileFactory.createTile(RecyclingTileFactory.java:389)
at javax.media.jai.PlanarImage.createWritableRaster(PlanarImage.java:1982)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2160)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2016)
at javax.media.jai.RenderedOp.getData(RenderedOp.java:2266)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:59)
at org.esa.beam.csv.dataio.writer.CsvProductWriter.writeBandRasterData(CsvProductWriter.java:138)
at org.esa.beam.gpf.operators.standard.WriteOp.writeTileRow(WriteOp.java:361)
at org.esa.beam.gpf.operators.standard.WriteOp.computeTile(WriteOp.java:279)
... 6 more

Error: Cannot construct DataBuffer.
--

where was i wrong?
help me, please

thank you,
slava

Tags:

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 224
Joined: Mon Apr 07, 2008 4:40 pm America/New_York

Re: data processing # HAWKEYE

by OB SeaDAS - knowles » Mon Jun 28, 2021 5:13 pm America/New_York

The L2 Hawkeye file might be large. You could try increasing your virtual memory available to SeaDAS 7 GPT.

Find the file:
[SEADAS_APP_HOME]/bin/gpt.sh (or gpt.command or gpt.exe)

Try changing the line:
-Xmx1024M \

to:
-Xmx2048M \

or perhaps:
-Xmx4096M \

slava.suslin
Posts: 31
Joined: Tue Feb 16, 2021 1:51 am America/New_York

Re: data processing # HAWKEYE

by slava.suslin » Tue Jun 29, 2021 4:32 am America/New_York

Good day,

after change size memory, it works

Thank you
slava

Post Reply