(base) pi@CToolbox-YS-Rao:~/VVSK/Graphs$ gpt -x C2_Top_Bottom_Split_20180821.xml
INFO: org.esa.snap.python.gpf.PyOperatorSpi: Python operator ‘S2RutOp’ registered (Python module: ‘s2_rut’, class: ‘S2RutOp’, root: ‘/application/pi/snap/s2tbx/modules/org-esa-snap-snap-rut.jar’)
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s2tbx.s2msi.idepix.operators.S2IdepixCloudBufferOp$Spi:Idepix.S2Cloudbuffer conflicts with org.esa.snap.idepix.s2msi.operators.S2IdepixCloudBufferOp$Spi:Idepix.S2Cloudbuffer
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.modis.ModisClassificationOp$Spi:Idepix.Modis.Classification conflicts with org.esa.snap.idepix.modis.IdepixModisClassificationOp$Spi:Idepix.Modis.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.modis.ModisPostProcessOp$Spi:Idepix.Modis.Postprocess conflicts with org.esa.snap.idepix.modis.IdepixModisPostProcessOp$Spi:Idepix.Modis.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.viirs.ViirsClassificationOp$Spi:Idepix.Viirs.Classification conflicts with org.esa.snap.idepix.viirs.ViirsClassificationOp$Spi:Idepix.Viirs.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.viirs.ViirsPostProcessOp$Spi:Idepix.Viirs.Postprocess conflicts with org.esa.snap.idepix.viirs.ViirsPostProcessOp$Spi:Idepix.Viirs.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.seawifs.SeaWifsClassificationOp$Spi:Idepix.SeaWifs.Classification conflicts with org.esa.snap.idepix.seawifs.SeaWifsClassificationOp$Spi:Idepix.SeaWifs.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.seawifs.SeaWifsPostProcessOp$Spi:Idepix.Seawifs.Postprocess conflicts with org.esa.snap.idepix.seawifs.SeaWifsPostProcessOp$Spi:Idepix.Seawifs.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.probav.ProbaVClassificationOp$Spi:Idepix.Probav.Classification conflicts with org.esa.snap.idepix.probav.ProbaVClassificationOp$Spi:Idepix.Probav.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.probav.ProbaVPostProcessOp$Spi:Idepix.Probav.Postprocess conflicts with org.esa.snap.idepix.probav.ProbaVPostProcessOp$Spi:Idepix.Probav.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisLandClassificationOp$Spi:Idepix.Meris.Land conflicts with org.esa.snap.idepix.meris.IdepixMerisLandClassificationOp$Spi:Idepix.Meris.Land
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisWaterClassificationOp$Spi:Idepix.Meris.Water conflicts with org.esa.snap.idepix.meris.IdepixMerisWaterClassificationOp$Spi:Idepix.Meris.Water
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisMergeLandWaterOp$Spi:Idepix.Meris.Merge.Landwater conflicts with org.esa.snap.idepix.meris.IdepixMerisMergeLandWaterOp$Spi:Idepix.Meris.Merge.Landwater
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisPostProcessOp$Spi:Idepix.Meris.Postprocess conflicts with org.esa.snap.idepix.meris.IdepixMerisPostProcessOp$Spi:Idepix.Meris.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.olci.OlciClassificationOp$Spi:Idepix.Olci.Classification conflicts with org.esa.snap.idepix.olci.IdepixOlciClassificationOp$Spi:Idepix.Olci.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.olci.OlciPostProcessOp$Spi:Idepix.Olci.Postprocess conflicts with org.esa.snap.idepix.olci.IdepixOlciPostProcessOp$Spi:Idepix.Olci.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.vgt.VgtClassificationOp$Spi:Idepix.Vgt.Classification conflicts with org.esa.snap.idepix.spotvgt.VgtClassificationOp$Spi:Idepix.Vgt.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.vgt.VgtPostProcessOp$Spi:Idepix.Vgt.Postprocess conflicts with org.esa.snap.idepix.spotvgt.VgtPostProcessOp$Spi:Idepix.Vgt.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.operators.CloudBufferOp$Spi:Idepix.Cloudbuffer conflicts with org.esa.snap.idepix.core.operators.CloudBufferOp$Spi:Idepix.Cloudbuffer
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.operators.IdepixPostProcessingOp$Spi:Idepix.Postprocess conflicts with org.esa.snap.idepix.core.operators.IdepixPostProcessingOp$Spi:Idepix.Postprocess
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
SEVERE: org.esa.s2tbx.dataio.gdal.activator.GDALDistributionInstaller: The environment variable LD_LIBRARY_PATH is not set. It must contain the current folder ‘.’.
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
Executing processing graph
INFO: org.hsqldb.persist.Logger: dataFileCache open start
done.
Error: [NodeId: WriteOp@ProductSet-Reader] Operator ‘WriteOp’: Mandatory source product (field ‘sourceProduct’) not set.
Surprisingly, this graph is running in SNAP software but not running through SNAP command line (gpt)
ABraun
September 7, 2019, 6:36am
3
did you hand over an input product to the gpt in the command line?
In SNAP, a graph without an input product defined works as long as there is a product opened. This is not the case for xmls called by gpt. .
Hi ABraun,
I simply run the xml file like this.
gpt -x C2_Top_Bottom_Split_20180821.xml.
I didn’t mention the input products through the gpt command line. How should I mention the input products?
ABraun
September 9, 2019, 12:22pm
5
SNAP cannot know which products you want to process if the XML file only contains the processing chain. Therefore you have to
You can hand over single files (-Ssource= ) or entire folders as explained here:
https://senbox.atlassian.net/wiki/spaces/SNAP/pages/70503475/Bulk+Processing+with+GPT
Hi PFA,
C2_Top_Bottom_Split_20180105.xml (7.4 KB)
Please tell me where should I make the changes.
ABraun
September 9, 2019, 12:43pm
7
I personally prefer the way it is documented in the help file:
Design a graph XML without input product and specify it when you call gpt
gpt C2_Top_Bottom_Split_20180105_change.xml S1A_IW_SLC__1SDV_20180105T004036_20180105T004104_020012_02217B_92A1.zip
C2_Top_Bottom_Split_20180105_change.xml
1 Like
But in my xml file it is not read operator it is product set reader which takes two inputs products.
I specified two zip files and I got this error.
INFO: org.esa.snap.python.gpf.PyOperatorSpi: Python operator ‘S2RutOp’ registered (Python module: ‘s2_rut’, class: ‘S2RutOp’, root: ‘/application/pi/snap/s2tbx/modules/org-esa-snap-snap-rut.jar’)
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s2tbx.s2msi.idepix.operators.S2IdepixCloudBufferOp$Spi:Idepix.S2Cloudbuffer conflicts with org.esa.snap.idepix.s2msi.operators.S2IdepixCloudBufferOp$Spi:Idepix.S2Cloudbuffer
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.modis.ModisClassificationOp$Spi:Idepix.Modis.Classification conflicts with org.esa.snap.idepix.modis.IdepixModisClassificationOp$Spi:Idepix.Modis.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.modis.ModisPostProcessOp$Spi:Idepix.Modis.Postprocess conflicts with org.esa.snap.idepix.modis.IdepixModisPostProcessOp$Spi:Idepix.Modis.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.viirs.ViirsClassificationOp$Spi:Idepix.Viirs.Classification conflicts with org.esa.snap.idepix.viirs.ViirsClassificationOp$Spi:Idepix.Viirs.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.viirs.ViirsPostProcessOp$Spi:Idepix.Viirs.Postprocess conflicts with org.esa.snap.idepix.viirs.ViirsPostProcessOp$Spi:Idepix.Viirs.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.seawifs.SeaWifsClassificationOp$Spi:Idepix.SeaWifs.Classification conflicts with org.esa.snap.idepix.seawifs.SeaWifsClassificationOp$Spi:Idepix.SeaWifs.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.seawifs.SeaWifsPostProcessOp$Spi:Idepix.Seawifs.Postprocess conflicts with org.esa.snap.idepix.seawifs.SeaWifsPostProcessOp$Spi:Idepix.Seawifs.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.probav.ProbaVClassificationOp$Spi:Idepix.Probav.Classification conflicts with org.esa.snap.idepix.probav.ProbaVClassificationOp$Spi:Idepix.Probav.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.probav.ProbaVPostProcessOp$Spi:Idepix.Probav.Postprocess conflicts with org.esa.snap.idepix.probav.ProbaVPostProcessOp$Spi:Idepix.Probav.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisLandClassificationOp$Spi:Idepix.Meris.Land conflicts with org.esa.snap.idepix.meris.IdepixMerisLandClassificationOp$Spi:Idepix.Meris.Land
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisWaterClassificationOp$Spi:Idepix.Meris.Water conflicts with org.esa.snap.idepix.meris.IdepixMerisWaterClassificationOp$Spi:Idepix.Meris.Water
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisMergeLandWaterOp$Spi:Idepix.Meris.Merge.Landwater conflicts with org.esa.snap.idepix.meris.IdepixMerisMergeLandWaterOp$Spi:Idepix.Meris.Merge.Landwater
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.meris.MerisPostProcessOp$Spi:Idepix.Meris.Postprocess conflicts with org.esa.snap.idepix.meris.IdepixMerisPostProcessOp$Spi:Idepix.Meris.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.olci.OlciClassificationOp$Spi:Idepix.Olci.Classification conflicts with org.esa.snap.idepix.olci.IdepixOlciClassificationOp$Spi:Idepix.Olci.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.olci.OlciPostProcessOp$Spi:Idepix.Olci.Postprocess conflicts with org.esa.snap.idepix.olci.IdepixOlciPostProcessOp$Spi:Idepix.Olci.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.vgt.VgtClassificationOp$Spi:Idepix.Vgt.Classification conflicts with org.esa.snap.idepix.spotvgt.VgtClassificationOp$Spi:Idepix.Vgt.Classification
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.algorithms.vgt.VgtPostProcessOp$Spi:Idepix.Vgt.Postprocess conflicts with org.esa.snap.idepix.spotvgt.VgtPostProcessOp$Spi:Idepix.Vgt.Postprocess
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.operators.CloudBufferOp$Spi:Idepix.Cloudbuffer conflicts with org.esa.snap.idepix.core.operators.CloudBufferOp$Spi:Idepix.Cloudbuffer
SEVERE: org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl: org.esa.s3tbx.idepix.operators.IdepixPostProcessingOp$Spi:Idepix.Postprocess conflicts with org.esa.snap.idepix.core.operators.IdepixPostProcessingOp$Spi:Idepix.Postprocess
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
SEVERE: org.esa.s2tbx.dataio.gdal.activator.GDALDistributionInstaller: The environment variable LD_LIBRARY_PATH is not set. It must contain the current folder ‘.’.
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
Executing processing graph
done.
Error: ProductSet-Reader fileList is empty