Welcome to the BEAM Forum!

We encourage you to sign in our forum and participate in the BEAM community. The forum is maintained by the BEAM project team who will most likely answer your questions within 24 hours (except during common holidays) - if not done by other community members. Collaborate, share your knowledge and learn from other users!

If you don't find what you are looking for, please also consider the following external forums:

Combination View Flat View Tree View
Threads [ Previous | Next ]
RE: after upgrade ubuntu up to 18.0 the utility gpt.sh doesn't work
toggle
Good day,

I work with ocean color data from https://oceancolor.gsfc.nasa.gov/
data type:Level-2: SeaWiFS, MODIS-Aqua/Terra, VIIRS current reprocessing versions
After upgrade Ubuntu up to 18.0 the utility gpt.sh doesn't work

Before upgrade Ubuntu (16....) all're ok.

This command (see below) give me (before upgrade OC) ascii-output for every record.

/home/slava/seadas-7.4/bin/gpt.sh Write -Ssource=A2018009104000.L2_LAC_OC.x.nc -PformatName=CSV -Pfile="test.oc.csv"

now current output is
===java.lang.IllegalArgumentException: org.geotools.styling.StyleFactory is not an ImageIO SPI class
at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
at java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
at org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:154)
at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:90)
at org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:78)
at org.geotools.factory.CommonFactoryFinder.lookup(CommonFactoryFinder.java:315)
at org.geotools.factory.CommonFactoryFinder.getFilterFactory(CommonFactoryFinder.java:286)
at org.geotools.feature.AttributeTypeBuilder.<init>(AttributeTypeBuilder.java:192)
at org.geotools.feature.AttributeTypeBuilder.<init>(AttributeTypeBuilder.java:199)
at org.geotools.feature.simple.SimpleFeatureTypeBuilder.<init>(SimpleFeatureTypeBuilder.java:189)
at org.geotools.feature.simple.SimpleFeatureTypeBuilder.<init>(SimpleFeatureTypeBuilder.java:179)
at org.esa.beam.framework.datamodel.Placemark.createPointFeatureType(Placemark.java:428)
at org.esa.beam.framework.datamodel.Placemark.createPinFeatureType(Placemark.java:412)
at org.esa.beam.framework.datamodel.Product.createPinGroup(Product.java:1262)
at org.esa.beam.framework.datamodel.Product.<init>(Product.java:252)
at org.esa.beam.framework.datamodel.Product.<init>(Product.java:221)
at org.esa.beam.framework.datamodel.Product.<init>(Product.java:206)
at gov.nasa.gsfc.seadas.dataio.L2FileReader.createProduct(L2FileReader.java:100)
at gov.nasa.gsfc.seadas.dataio.SeadasProductReader.readProductNodesImpl(SeadasProductReader.java:170)
at org.esa.beam.framework.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:173)
at org.esa.beam.framework.gpf.main.DefaultCommandLineContext.readProduct(DefaultCommandLineContext.java:54)
at org.esa.beam.framework.gpf.main.CommandLineTool.readProduct(CommandLineTool.java:495)
at org.esa.beam.framework.gpf.main.CommandLineTool.addProduct(CommandLineTool.java:435)
at org.esa.beam.framework.gpf.main.CommandLineTool.getSourceProductMap(CommandLineTool.java:422)
at org.esa.beam.framework.gpf.main.CommandLineTool.runOperator(CommandLineTool.java:257)
at org.esa.beam.framework.gpf.main.CommandLineTool.runGraphOrOperator(CommandLineTool.java:246)
at org.esa.beam.framework.gpf.main.CommandLineTool.run(CommandLineTool.java:150)
at org.esa.beam.framework.gpf.main.CommandLineTool.run(CommandLineTool.java:122)
at org.esa.beam.framework.gpf.main.GPT.run(GPT.java:54)
at org.esa.beam.framework.gpf.main.GPT.main(GPT.java:34)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.bc.ceres.launcher.Launcher.launch(Launcher.java:154)
at com.bc.ceres.launcher.Launcher.main(Launcher.java:56)

Error: org.geotools.styling.StyleFactory is not an ImageIO SPI class
===

What must I do? Return to old OC version?

The output is the same after the installation of seadas 7.5.1 ..

Sorry for my English,
Thank you,
slava
Flag Flag
RE: after upgrade ubuntu up to 18.0 the utility gpt.sh doesn't work
8/27/18 2:05 PM as a reply to Vyacheslav Vladimirovich Suslin.
Hello slava,

BEAM is not in active development anymore. It has been replaced by SNAP and the Sentinel Toolboxes.
Since you are using SeaDAS it is better to post your question in the SeaDAS forum. I see that you did this already (https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=9219). So I think that you should get the answer from the SeaDAS guys.

best wishes
Marco
Flag Flag
RE: after upgrade ubuntu up to 18.0 the utility gpt.sh doesn't work
8/27/18 9:46 AM as a reply to Marco Peters.
Marco,

thank You for your replay

regards,
slava
Flag Flag