OCCSW

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
avmehta
Posts: 184
Joined: Mon Feb 03, 2020 10:27 am America/New_York
Answers: 0
Been thanked: 1 time

OCCSW

by avmehta » Thu Nov 11, 2021 9:28 am America/New_York

Hello,
We are trying to install OCCSW on a Windows computer. Please see the following from a colleague and also the attached screenshots and the following Config File. We'd really appreciate your help.

"I am still having issues with configuring OCSSW with SeaDAS on Windows. I have OCSSW installed as followed by the guidelines here: https://seadas.gsfc.nasa.gov/downloads/. In addition, I also have Python 3.6 installed with Requests as well as Git and cURL and all of the necessary scripts to run everything. All of the config files are also properly set up per the server/client guide on SeaDAS as well. I have attached the SeaDAS/System Info log and a screenshot showing the server running properly.

I am not one to give up and it is probably something simple (as with everything in programming), but I will get it to work properly."

SeaDAS-Config file
Main Application Platform:
Application Version: SeaDAS 8.1.0
Installation Directory: C:\Program Files (x86)\SeaDAS
Data Directory: C:\Users\Selwyn's Custom PC\.seadas8
Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.properties
WARNING!! File 'C:\Program Files (x86)\SeaDAS\etc\snap.properties' does not exist
Configuration2: C:\Users\Selwyn's Custom PC\.seadas8\etc\snap.properties
VM Configuration: C:\Program Files (x86)\SeaDAS\bin\pconvert.vmoptions
WARNING!! File 'C:\Program Files (x86)\SeaDAS\bin\pconvert.vmoptions' does not exist
VM Configuration (gpt): C:\Program Files (x86)\SeaDAS\bin\gpt.vmoptions
WARNING!! File 'C:\Program Files (x86)\SeaDAS\bin\gpt.vmoptions' does not exist
Desktop Specification Version: 8.0.3
Engine Specification Version: 8.0.3
JRE: Java(TM) SE Runtime Environment 1.8.0_201-b09
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Memory: 3641 MiB

OCSSWROOT (Java Env): null

WARNING!! Could not retrieve system parameters because 'which python3' failed
java.io.IOException: Cannot run program "bash": CreateProcess error=2, The system cannot find the file specified

SeaDAS Toolbox:
SeaDAS Toolbox Specification Version: 1.1.0
Configuration: C:\Users\Selwyn's Custom PC\.seadas8\etc\seadas.properties
OCSSW Root Directory: null
OCSSW Log Directory: C:\Users\Selwyn's Custom PC\seadasClientServerShared
OCSSW Location: virtualMachine
Environment {$OCSSWROOT} (external): null

-----------------------------------------------
NASA Science Processing (OCSSW):
Warning! Processers not installed

General System and Software:
Operating System: Windows 10 10.0
Java Version: 1.8.0_201

-- ===============
Selwyn Hudson-Odoi
Training Coordinator
NASA Applied Remote Training and Sensing Program (ARSET)
Joint Center for Earth Systems Technology/UMBC
C: (301) 861-7509
shudsono@umbc.edu
Attachments
Server_Ubuntu.png
Server_Ubuntu.png (252.15 KiB) Not viewed yet
SeaDAS_Error.png
SeaDAS_Error.png (120.14 KiB) Not viewed yet

Tags:

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

Re: OCCSW

by gnwiii » Fri Nov 12, 2021 7:37 am America/New_York

Two things to consider:
  • When working with a mix of Windows and Linux, it is best to stick with simple directory names: no spaces or "special" characters. Your example has both a <space> character and a <single_quote> character.
  • The Virtual machine instructions are for a "headless" linux server. See: https://www.thomas-krenn.com/en/wiki/He ... VirtualBox. This configuration enables ssh connections with the VM. It looks like the network connection between the SeaDAS GUI and the REST server is blocked, so you should review the VM's network configuration. The headless linux configuration should greatly reduce the disk space and memory requirements, so if you don't need a linux GUI you may want to switch to the headless server configuration.

OB SeaDAS - aynur
Subject Matter Expert
Subject Matter Expert
Posts: 53
Joined: Tue Dec 20, 2011 12:28 pm America/New_York
Answers: 0

Re: OCCSW

by OB SeaDAS - aynur » Mon Nov 15, 2021 2:30 pm America/New_York

Hi,

Can you post the content of osswserver.config? This file is in the same directory that seadas-ocsswserver.jar file resides on the virtual machine/wsl. Also, please post the content of seadas.properties, which is in the .seadas8/etc directory of your windows home directory.

Thanks,
Aynur

avmehta
Posts: 184
Joined: Mon Feb 03, 2020 10:27 am America/New_York
Answers: 0
Been thanked: 1 time

Re: OCCSW

by avmehta » Tue Nov 16, 2021 6:08 pm America/New_York

Hello Aynur,
Sorry for the delay in sending these.

occsswserver.cinfig.txt:

ocsswrest.version=1.0
baseUriPortNumber=6400
ocsswroot=${user.name}/ocssw
serverWorkingDirectory=${user.name}/seadasClientServerShared
clientServerSharedDir=true
keepIntermediateFilesOnServer=false
processInputStreamPortNumber=6402
processErrorStreamPortNumber=6403


seadas.properties.txt:

#SNAP configuration 'seadas'
#Tue Nov 16 16:59:36 EST 2021
seadas.ocssw.port=6400
seadas.ocssw.keepFilesOnServer=false
seadas.ocssw.processErrorStreamPort=6403
seadas.ocssw.tag=V2021.2
seadas.ocssw.serverAddress=
seadas.ocssw.location=virtualMachine
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.sharedDir=C\:\\Users\\test_ocssw\\seadasClientServerShared
seadas.client.id=${user.name}
seadas.log.dir=C\:\\Users\\test_ocssw\\.seadas8

Thank you for your help.
Amita

OB SeaDAS - aynur
Subject Matter Expert
Subject Matter Expert
Posts: 53
Joined: Tue Dec 20, 2011 12:28 pm America/New_York
Answers: 0

Re: OCCSW

by OB SeaDAS - aynur » Wed Nov 24, 2021 6:46 pm America/New_York

Hi Amita,

In the "occsswserver.cinfig.txt" file that you sent, please correct the following two lines:
ocsswroot=${user.name}/ocssw
serverWorkingDirectory=${user.name}/seadasClientServerShared

They should be:
ocsswroot=${user.home}/ocssw
serverWorkingDirectory=${user.home}/seadasClientServerShared

Please test after you make changes and let us know how it goes.

Thanks,
Aynur

Post Reply