OCSSW/MODIS install error SeaDAS 7.5

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
flavioacgomes
Posts: 3
Joined: Fri May 25, 2018 2:15 pm America/New_York
Answers: 0

OCSSW/MODIS install error SeaDAS 7.5

by flavioacgomes » Sun May 27, 2018 6:07 pm America/New_York

I can't install  terra and aqua OCSSW/MODIS on SeaDAS 7.5.
This message appears:
execution exception: java.io.IOException: install_ocssw.py failed with exit code 1.
Check log for more details.
Installing bundles.sha256sum (1 of 10)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  3809  100  3809    0     0   3848      0 --:--:-- --:--:-- --:--:--  3847
Installing common (2 of 10)
Installing OCSSW_bash.env (3 of 10)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  3001  100  3001    0     0   4909      0 --:--:-- --:--:-- --:--:--  4911
Installing ocrvc (4 of 10)
Installing modis (5 of 10)
Installing modis/aqua (6 of 10)
Installing bin (7 of 10)
Installing opt (8 of 10)
Installing scripts (9 of 10)
Python version acceptable
Installing aqua-luts (10 of 10)
Traceback (most recent call last):
Exception: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)
Exception: 'NoneType' object has no attribute 'status'
  File "/Applications/seadas-7.5/ocssw/scripts/update_luts.py", line 66, in <module>
    luts.get_luts()
  File "/Applications/seadas-7.5/ocssw/scripts/modules/LutUtils.py", line 128, in get_luts
    regex='^((?!\d+).)*' + suffix, check_times=True)
  File "/Applications/seadas-7.5/ocssw/scripts/modules/JsonUtils.py", line 269, in download_allfiles
    all_links = self.get_links(url, regex=regex)
  File "/Applications/seadas-7.5/ocssw/scripts/modules/JsonUtils.py", line 235, in get_links
    content = response.read()
AttributeError: 'NoneType' object has no attribute 'read'
Error - Could not install luts for aqua
Can you help me?
Thank's
Flavio

Filters:

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

OCSSW/MODIS install error SeaDAS 7.5

by gnwiii » Mon May 28, 2018 6:54 am America/New_York

"Exception: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)" may indicate a network glitch or a configuration issue on your system.   I often have to retry the install several times to get the aqua-luts to install.  You should check that you can download the LUTS manually from a browser (see previous posts on problems with update_luts.py). If the install fails after several attempts spread over time, you should provide your OS version and the source of your Python software.

flavioacgomes
Posts: 3
Joined: Fri May 25, 2018 2:15 pm America/New_York
Answers: 0

OCSSW/MODIS install error SeaDAS 7.5

by flavioacgomes » Fri Jun 01, 2018 10:31 pm America/New_York

Thank you for answering George.
I have tried to install several times, through SeaDAS and the terminal, the error message is the same. This problem started when I installed version 7.4, the problem was solved only when I completely reinstalled my OS. I had already tried some forum solutions but it did not work. My system is MacOS High Sierra and I have Python 2.7 and 3.6 installed and updated, downloaded direct from www.python.org. I'm still trying.
If you have any more suggestions I will be very grateful.
Flavio

OB.DAAC-EDL - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Endorsed: 9 times

OCSSW/MODIS install error SeaDAS 7.5

by OB.DAAC-EDL - SeanBailey » Sat Jun 02, 2018 10:29 am America/New_York

Flavio,

We do not (yet) have a system with High Sierra to test, but my guess is you are suffering from the same python/SSL issues from previous versions.  A solution that may work for you is to install another version of python (e.g. Anaconda), as was suggested in this post: https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=32217

Regards,
Sean

lnferris
Posts: 1
Joined: Wed Jun 13, 2018 5:09 pm America/New_York
Answers: 0

OCSSW/MODIS install error SeaDAS 7.5

by lnferris » Wed Jun 13, 2018 10:44 pm America/New_York

Hello Flavio,
I am running macOS High Sierra with Python 2.7 and 3.6, and experienced the same error. I ran the following two commands (without the quotes) in Terminal:

"/Applications/Python\ 3.6/Install\ Certificates.command"
"/Applications/Python\ 2.7/Install\ Certificates.command"

This seems to have fixed the issue for me.
Lauren

flavioacgomes
Posts: 3
Joined: Fri May 25, 2018 2:15 pm America/New_York
Answers: 0

OCSSW/MODIS install error SeaDAS 7.5

by flavioacgomes » Fri Jun 22, 2018 11:46 am America/New_York

Thank you George, Sean and Lauren. It was enough to install the miniconda to work.
However, I would like to register, as information: In version 7.4, when this problem started, I installed and reinstalled python, including the anaconda (graphical interface and terminal) in different sequences, but it did not solve. The installation of OCSSW returned to work when I formatted my MacBook and reinstalled my MacOS. In version 7.5 when the problem reappeared, I did not think of the anaconda because I had tried before and it did not work and I thought about the possibility of conflict between installers.
Sorry for the delay in answering because I was doing some tests. I installed Anaconda 2 and 3. When I installed Ancaconda 3 the problem returned. I reinstalled Anaconda 2 and 3 and OCSSW install worked.
The difference between the situation when the problem came later and now, is that this time I installed the anaconda in the root directory.
Again thank you very much to all.
Regards,
Flavio.

Post Reply