OCSSW Processors Not Installing - WSL

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 5
Joined: Sat Jun 17, 2023 12:13 pm America/New_York
Answers: 0

OCSSW Processors Not Installing - WSL

by nathra » Sat Jun 17, 2023 12:24 pm America/New_York

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.

#SNAP configuration 'seadas'
#Sat Jun 17 11:06:18 CDT 2023


Is there a way to manually install the processors or fix the issue within SeaDas? Thank you!


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

Re: OCSSW Processors Not Installing - WSL

by OB SeaDAS - xuanyang02 » Tue Jun 20, 2023 5:13 pm America/New_York

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

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

Re: OCSSW Processors Not Installing - WSL

by gnwiii » Thu Jun 29, 2023 7:17 pm America/New_York

nathra wrote: Sat Jun 17, 2023 12:24 pm America/New_York
Is there a way to manually install the processors or fix the issue within SeaDas? Thank you!
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.

Post Reply