SEADAS errors for Windows/Docker

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
aleesumner
Posts: 5
Joined: Fri Feb 02, 2024 2:30 pm America/New_York
Answers: 0

SEADAS errors for Windows/Docker

by aleesumner » Fri Feb 02, 2024 3:00 pm America/New_York

I have downloaded Docker and SEADAS according to the instructions for the the upcoming ARSET training: https://appliedsciences.nasa.gov/get-involved/training/english/arset-overview-seadas-841-processing-analysis-and-visualization as well as https://seadas.gsfc.nasa.gov/client_server/ .The instructions provided on each differ in the code for how Docker is started/which image is used and the instructions for the class do not discuss changing the SeaDas Properties file - I think because changing the processor location does this automatically.

No matter which instructions I follow, I get the below errors that differ depending on whether I set the SEADAS processor location to Docker (first) or VirtualMachine (second). What is also difficult is that I did, at one point, have SeaDas working and was able to download the processors and complete a mosaic. However, I could not run processors to geolocate a level 1 file and use l2gen to create a level 2 file. To be honest, I am not sure what I did differently between then and now, but I uninstalled/reinstalled thinking that would correct the initial problem with the processors and it seems to have created a whole new problem that doesn't even let me get to the same point. I appreciate any help.

>1. Setting location to Docker
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.4.1
SNAP Engine Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Desktop Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Engine Build Date: 202311091552
SNAP Desktop Build Date: 202311091557
Installation Directory: C:\Program Files (x86)\SeaDAS
Data Directory: C:\Users\alees\.seadas8
Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.properties
VM Configuration: C:\Program Files (x86)\SeaDAS\etc\seadas.conf
VM Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.conf
VM Configuration (gpt): C:\Program Files (x86)\SeaDAS\bin\gpt.vmoptions
VM Configuration (pconvert): C:\Program Files (x86)\SeaDAS\bin\pconvert.vmoptions
Runtime Configuration: C:\Users\alees\.seadas8\etc\snap.properties
Runtime Configuration (SeaDAS Toolbox): C:\Users\alees\.seadas8\etc\seadas.properties
JRE: OpenJDK Runtime Environment 11.0.19+7
JVM: OpenJDK 64-Bit Server VM by Eclipse Adoptium
Memory: 4096 MiB
OCSSWROOT (Java Env): null
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.4.1
SeaDAS Toolbox Build Date: 202311091607
Configuration: C:\Users\alees\.seadas8\etc\seadas.properties
OCSSW Docker Root Directory: C:\Users\alees\ocssw
OCSSW Docker Log Directory: C:\Program Files (x86)\SeaDAS
OCSSW Location: docker
Environment {$OCSSWROOT} (external): null
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
WARNING! Cannot find 'seadas_info' in the OCSSW DOcker bin directory
-----------------------------------------------------------
General System and Software (from GUI):
-----------------------------------------------------------
Operating System: Windows 11 10.0
Java Version: 11.0.19

>2. Setting location to virtual machine
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.4.1
SNAP Engine Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Desktop Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Engine Build Date: 202311091552
SNAP Desktop Build Date: 202311091557
Installation Directory: C:\Program Files (x86)\SeaDAS
Data Directory: C:\Users\alees\.seadas8
Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.properties
VM Configuration: C:\Program Files (x86)\SeaDAS\etc\seadas.conf
VM Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.conf
VM Configuration (gpt): C:\Program Files (x86)\SeaDAS\bin\gpt.vmoptions
VM Configuration (pconvert): C:\Program Files (x86)\SeaDAS\bin\pconvert.vmoptions
Runtime Configuration: C:\Users\alees\.seadas8\etc\snap.properties
Runtime Configuration (SeaDAS Toolbox): C:\Users\alees\.seadas8\etc\seadas.properties
JRE: OpenJDK Runtime Environment 11.0.19+7
JVM: OpenJDK 64-Bit Server VM by Eclipse Adoptium
Memory: 4096 MiB
OCSSWROOT (Java Env): null
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.4.1
SeaDAS Toolbox Build Date: 202311091607
Configuration: C:\Users\alees\.seadas8\etc\seadas.properties
OCSSW Root Directory: /root/ocssw
WARNING!! Directory '/root/ocssw' does not exist
OCSSW Docker Log Directory: C:\Program Files (x86)\SeaDAS
OCSSW Location: virtualMachine
Environment {$OCSSWROOT} (external): null
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
WARNING!! Could not retrieve system parameters because command '[Ljava.lang.String;@2b54e861' failed
java.io.IOException: Cannot run program "/bin/bash": CreateProcess error=2, The system cannot find the file specified

Filters:

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

Re: SEADAS errors for Windows/Docker

by OB SeaDAS - aynur » Fri Feb 02, 2024 4:12 pm America/New_York

Hi there,

Please follow the instruction at https://seadas.gsfc.nasa.gov/client_server/ because we update it after each release of SeaDAS.

You posted the message that was displayed when you ran "Software and System Info" in SeaDAS Toolbox. We will take care of the error message in it. However, it should not affect the execution of OCSSW programs. Have you tried to install SeaDAS processors?

Thanks,
Aynur

aleesumner
Posts: 5
Joined: Fri Feb 02, 2024 2:30 pm America/New_York
Answers: 0

Re: SEADAS errors for Windows/Docker

by aleesumner » Fri Feb 02, 2024 4:31 pm America/New_York

Hi Aynur,
I appreciate the response. I had figured the website was the most current, but started with what was provided for the class. Yes, I have tried to install the SeaDas Processors. I get an error for that too, which I thought was linked to the info I shared before. The error code is the same no matter if the processor location is set to Docker or VirtualMachine. It is not clear from instructions which it should be set to. I assume Docker (it does it automatically and the seadas property file change on the website seems to indicate that). Any help is greatly appreciated! Amy

>Error Code
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Traceback (most recent call last):
File "/tmp/install_ocssw", line 1004, in <module>
sys.exit(run())
File "/tmp/install_ocssw", line 670, in run
downloadBundleList(options1[0])
File "/tmp/install_ocssw", line 271, in downloadBundleList
checkTag(options)
File "/tmp/install_ocssw", line 172, in checkTag
if not mf.check_tag(manifest_options, None):
File "/tmp/manifest.py", line 597, in check_tag
for tag in get_tags(options, args):
File "/tmp/manifest.py", line 568, in get_tags
status = httpdl(host, request, localpath=tempDir.name,
File "/tmp/manifest.py", line 100, in httpdl
with closing(obpgSession.get(urlStr, stream=True, timeout=timeout, headers=headers)) as req:
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 449, in prepare_request
auth = get_netrc_auth(request.url)
File "/usr/lib/python3/dist-packages/requests/utils.py", line 203, in get_netrc_auth
_netrc = netrc(netrc_path).authenticators(host)
File "/usr/lib/python3.8/netrc.py", line 30, in __init__
self._parse(file, fp, default_netrc)
File "/usr/lib/python3.8/netrc.py", line 39, in _parse
toplevel = tt = lexer.get_token()
File "/usr/lib/python3.8/shlex.py", line 109, in get_token
raw = self.read_token()
File "/usr/lib/python3.8/shlex.py", line 140, in read_token
nextchar = self.instream.read(1)
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

mwraenqual
Posts: 10
Joined: Mon Feb 05, 2024 2:14 pm America/New_York
Answers: 0
Has thanked: 2 times

Re: SEADAS errors for Windows/Docker

by mwraenqual » Mon Feb 05, 2024 2:20 pm America/New_York

Hello. I also am preparing for an upcoming workshop and having errors from SeaDAS 8.4.1 install on a PC (Windows 11). I tried to follow the video showing how to Install a SeaDAS processor. I get the following error:

ocssw installation script failed to download.
Please check network connection or 'seadas.ocssw.root' variable in the "seadas.config" file.
possible cause of error: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

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

Re: SEADAS errors for Windows/Docker

by OB SeaDAS - aynur » Wed Feb 07, 2024 10:58 am America/New_York

Hi Amy,

Can you send me content of ${user.dir}\.seadas8\etc\seadas.properties file?

Thanks,
Aynur

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

Re: SEADAS errors for Windows/Docker

by OB SeaDAS - aynur » Wed Feb 07, 2024 10:59 am America/New_York

Hi mwraenqual,

Can you check the version number of Java on your computer?

Thanks,
Aynur

mwraenqual
Posts: 10
Joined: Mon Feb 05, 2024 2:14 pm America/New_York
Answers: 0
Has thanked: 2 times

Re: SEADAS errors for Windows/Docker

by mwraenqual » Wed Feb 07, 2024 11:01 am America/New_York

Hi Aynur,

I'm running Java Version 8 Update 201 (build 1.8.0_201-b09)

Devon via mwraenqual

OB SeaDAS - aynur wrote:
> Hi mwraenqual,
>
> Can you check the version number of Java on your computer?
>
> Thanks,
> Aynur

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

Re: SEADAS errors for Windows/Docker

by OB SeaDAS - aynur » Wed Feb 07, 2024 11:51 am America/New_York

Can you also send me content of ${user.dir}\.seadas8\etc\seadas.properties file?

Thanks,
Aynur

mwraenqual
Posts: 10
Joined: Mon Feb 05, 2024 2:14 pm America/New_York
Answers: 0
Has thanked: 2 times

Re: SEADAS errors for Windows/Docker

by mwraenqual » Wed Feb 07, 2024 12:48 pm America/New_York

Sure can! Here's what I found:

#SNAP configuration 'seadas'
#Mon Feb 05 14:01:38 EST 2024
seadas.ocssw.serverAddress=
seadas.ocssw.sharedDir=C\:\\Users\\winkler_d\\seadasclientservershared
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.processErrorStreamPort=6403
seadas.ocssw.location=virtualMachine
seadas.ocssw.port=6400

Devon

OB SeaDAS - aynur wrote:
> Can you also send me content of ${user.dir}\.seadas8\etc\seadas.properties
> file?
>
> Thanks,
> Aynur

aleesumner
Posts: 5
Joined: Fri Feb 02, 2024 2:30 pm America/New_York
Answers: 0

Re: SEADAS errors for Windows/Docker

by aleesumner » Sat Feb 10, 2024 2:33 pm America/New_York

Aynur,
The seadas.properties file content changes when I change the SeaDas Processor location (see below). I have also tried changing it to read exactly what it says on the Client-Server website. None of these seem to matter with operation. I've tried a number of combinations of things to troubleshoot.

> seadas.properties file when Docker is selected:
#SNAP configuration 'seadas'
#Sat Feb 10 11:26:26 PST 2024
seadas.ocssw.keepFilesOnserver=false
seadas.ocssw.location=docker
seadas.ocssw.port=6400
seadas.ocssw.serverAddress=
seadas.ocssw.sharedDir=C\:\\Users\\alees\\seadasClientServerShared
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.tag=T2023.24
seadas.ocssw.processErrorStreamPort=6403
seadas.client.id=alees

>seadas.properties file when VirtualMachine is selected:
#SNAP configuration 'seadas'
#Sat Feb 10 11:32:59 PST 2024
seadas.ocssw.keepFilesOnserver=false
seadas.ocssw.location=virtualMachine
seadas.ocssw.port=6400
seadas.ocssw.serverAddress=
seadas.ocssw.sharedDir=C\:\\Users\\alees\\seadasClientServerShared
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.tag=T2023.24
seadas.ocssw.processErrorStreamPort=6403
seadas.client.id=alees

Thanks,
Amy

Post Reply