Hello! I followed the instructions for client-server configuration on Windows: https://seadas.gsfc.nasa.gov/client_server/
I was able to get the OCSSW server running on the Ubuntu distribution (WSL 1). However, when I go to SeaDas and try to click "Install/Update SeaDas Processors", nothing happens (I was previously getting an error that the server was not running but I solved that issue). When I try to then run l2gen, I get a java exception: "execution exception: java.io.IOException: l2gen failed with exit code -1." with the log saying: server ocssw root path: /home/nathra/ocssw/bin
Debugging: par file new path: /mnt/c/Users/16309/seadasClientServerShared/l2gen_par_file4750930658340760266.par
Debugging: new par string:
Debugging: convert successful
Debugging: write successful
Debugging: commandArrayPrefix: /home/nathra/ocssw/bin/ocssw_runner
Debugging: commandArrayPrefix: --ocsswroot
Debugging: commandArrayPrefix: /home/nathra/ocssw
process status: -100
Debugging: command array: /home/nathra/ocssw/bin/ocssw_runner --ocsswroot /home/nathra/ocssw l2gen par=/mnt/c/Users/16309/seadasClientServerShared/l2gen_par_file4750930658340760266.par
java.io.IOException: Cannot run program "/home/nathra/ocssw/bin/ocssw_runner" (in directory "/mnt/c/Users/16309/seadasClientServerShared"): error=2, No such file or directory
I am assuming I am getting this error because I was unable to install the processors.
-------------seadas.properties-----------------
#SNAP configuration 'seadas'
#Sat Jun 17 11:06:18 CDT 2023
seadas.ocssw.port=6400
seadas.ocssw.location=virtualMachine
seadas.ocssw.keepFilesOnServer=false
seadas.ocssw.log.Dir=C\:\\Users\\16309\\seadasClientServerShared\\log
seadas.client.id=16309
seadas.ocssw.processErrorStreamPort=6403
seadas.ocssw.serverAddress=
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.sharedDir=C\:\\Users\\16309\\seadasClientServerShared
----------------------------------------------------
-------------ocsswserver.config-----------------
ocsswrest.version=1.0
baseUriPortNumber=6400
ocsswroot=${user.home}/ocssw
serverWorkingDirectory=${user.home}/seadasClientServerShared
clientServerSharedDir=true
keepIntermediateFilesOnServer=false
processInputStreamPortNumber=6402
processErrorStreamPortNumber=6403
----------------------------------------------------
Is there a way to manually install the processors or fix the issue within SeaDas? Thank you!
OCSSW Processors Not Installing - WSL
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: OCSSW Processors Not Installing - WSL
It might be easier to install Docker Desktop for Windows and run SeaDAS Science Processors via the Docker image.
Go to the site -- https://seadas.gsfc.nasa.gov/client_server/
In Section 1, click the "Docker" tab, and follow the instructions.
Skip to Section 4, click the "Docker" tab, and edit the file seadas.properties
And you should be able to install/update SeaDAS processors in SeaDAS GUI
Go to the site -- https://seadas.gsfc.nasa.gov/client_server/
In Section 1, click the "Docker" tab, and follow the instructions.
Skip to Section 4, click the "Docker" tab, and edit the file seadas.properties
And you should be able to install/update SeaDAS processors in SeaDAS GUI
Re: OCSSW Processors Not Installing - WSL
https://seadas.gsfc.nasa.gov/downloads/ has a section for "Manual Installation".
If you have not used Linux command-line tools before, you will find it helpful to spend a few hours with a basic introduction to the linux command-line such as https://linuxcommand.org.