install ocssw with docker error(macos m2 chip, seadas 8.3.10)

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
wendianlai
Posts: 3
Joined: Sat Sep 09, 2023 8:42 am America/New_York
Answers: 0

install ocssw with docker error(macos m2 chip, seadas 8.3.10)

by wendianlai » Sat Sep 09, 2023 9:27 am America/New_York

I install ocssw with docker, following the link https://seadas.gsfc.nasa.gov/client_server/. when I set the seadas processor location,
I got this eror ,

How can I fix this error to install ocssw, thanks!

macos ventura 13.5.1 (22G90)
seadas 8.3.10
Attachments
error
error
截屏2023-09-09 21.17.45.png (150.84 KiB) Not viewed yet
location
location
截屏2023-09-09 21.13.17.png (182.24 KiB) Not viewed yet

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 655
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: install ocssw with docker error(macos m2 chip, seadas 8.3.10)

by OB SeaDAS - xuanyang02 » Tue Sep 12, 2023 2:47 pm America/New_York

Just click OK in the warning dialog (the 1st screenshot) and proceed

The 2nd screenshot seems correct.

After you configured client-server (docker), you have basic OCSSW installed. You still need to install individual processors, such as modis aqua and/or modis terra. You can install individual sensors on command line -- https://seadas.gsfc.nasa.gov/downloads/

The docker image 1.0 works well with SeaDAS 8.3.0, but has some glitches with 8.3.10.
If you want to Install/Update Science Processors through SeaDAS 8.3.10 GUI, you need an updated image 1.1

Code: Select all

docker run -v $HOME/ocssw:/root/ocssw -v $HOME/seadasClientServerShared:/root/seadasClientServerShared -p 6400:6400 -p 6402:6402 -p 6403:6403 -t seadas/ocssw-run:1.1
Last edited by OB SeaDAS - xuanyang02 on Tue Sep 12, 2023 5:49 pm America/New_York, edited 7 times in total.

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 655
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: install ocssw with docker error(macos m2 chip, seadas 8.3.10)

by OB SeaDAS - xuanyang02 » Tue Sep 12, 2023 2:53 pm America/New_York

For M2, you have an option to run OCSSW locally instead of through docker
You can find additioanl requirements for Mac with Apple silicon or ARM64: here -- https://seadas.gsfc.nasa.gov/downloads/
or
viewtopic.php?t=4553#p16309

wendianlai
Posts: 3
Joined: Sat Sep 09, 2023 8:42 am America/New_York
Answers: 0

Re: install ocssw with docker error(macos m2 chip, seadas 8.3.10)

by wendianlai » Wed Sep 13, 2023 4:06 am America/New_York

Thanks, I have updated image 1.1.
however, after I set the processor location, I click install/update SeaDas processors, the GUI not show and I got this error in the seadas log. How can I fix it? Thanks!

-----------------------------------------------ERROR INFO---------------------------------------
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:139)
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:126)
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:118)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospector(JsonMapperConfigurator.java:113)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospectors(JsonMapperConfigurator.java:86)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.MapperConfiguratorBase._setAnnotations(MapperConfiguratorBase.java:123)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator.getDefaultMapper(JsonMapperConfigurator.java:47)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase.locateMapper(ProviderBase.java:955)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase._endpointForReading(ProviderBase.java:881)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:789)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:257)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:236)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:156)
at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1091)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834)
at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:363)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:936)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:787)
at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
at org.glassfish.jersey.internal.Errors.process(Errors.java:229)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:414)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:785)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:438)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:329)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerFormRemote.updateMissionValues(OCSSWInstallerFormRemote.java:52)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerForm.<init>(OCSSWInstallerForm.java:116)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerFormRemote.<init>(OCSSWInstallerFormRemote.java:32)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction.getProgramUI(CallCloProgramAction.java:107)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction.actionPerformed(CallCloProgramAction.java:151)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(Unknown Source)
at java.desktop/java.awt.MenuItem.processActionEvent(Unknown Source)
at java.desktop/java.awt.MenuItem.processEvent(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
-------------------------------------------------------------------------------------------------------------------
Attachments
iShot_2023-09-13_15.41.00.png
iShot_2023-09-13_15.41.00.png (217.49 KiB) Not viewed yet
iShot_2023-09-13_15.59.44.png
iShot_2023-09-13_15.59.44.png (266.79 KiB) Not viewed yet

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 655
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: install ocssw with docker error(macos m2 chip, seadas 8.3.10)

by OB SeaDAS - xuanyang02 » Tue Sep 19, 2023 10:53 am America/New_York

Sorry that I forgot to mention that SeaDAS 8.3.10 does have a bug -- when trying to install/update SeaDAS processors through GUI using Docker, the install/update SeaDAS Processors GUI won't show

You might want to try installing SeaDAS processors on the docker Terminal

Code: Select all

/root/ocssw/bin/install_ocssw --install_dir=/root/ocssw --seadas --modisa --tag=V2022.3
See this post --
viewtopic.php?t=4553#p16237

wendianlai
Posts: 3
Joined: Sat Sep 09, 2023 8:42 am America/New_York
Answers: 0

Re: install ocssw with docker error(macos m2 chip, seadas 8.3.10)

by wendianlai » Tue Sep 19, 2023 12:20 pm America/New_York

Okay, thanks!

Post Reply