Problem installing luts

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
pmarroig
Posts: 4
Joined: Thu Jan 26, 2012 1:03 pm America/New_York
Answers: 0

Problem installing luts

by pmarroig » Fri Mar 10, 2017 2:16 pm America/New_York

Hello,

I'm trying to install the ocssw processor in my Mac (Sierra 10.12.3), I've read all the problems that could exist and test several ways to solve it, but I really couldn't find what I am doing wrong. I tried to install using the script and the GUI (this last has install almost all of the necessary, but give the error in the luts).

This is the end of the log file [Execution log for
[/Applications/seadas-7.4/ocssw/run/scripts/install_ocssw.py, --install-dir=/Applications/seadas-7.4/ocssw, --src, --aqua, --terra, --git-branch=v7.4]]:
Installing scripts (14 of 17)
Python version acceptable
Installing aqua-luts (15 of 17)
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
Error - Could not install luts for aqua


I am using  the new version of seadas and:
python --version
Python 2.7.13
openssl version
OpenSSL 1.0.2k  26 Jan 2017

Any suggestions or help would be appreciated.

Filters:

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Problem installing luts

by OB.DAACx - SeanBailey » Fri Mar 10, 2017 3:24 pm America/New_York

Did you try running it again?  If you got to the point of the lut updates, you have an appropriate version of python and can connect to our servers via HTTPS.
The error suggests an intermittent network connection issue.

pmarroig
Posts: 4
Joined: Thu Jan 26, 2012 1:03 pm America/New_York
Answers: 0

Problem installing luts

by pmarroig » Sat Mar 11, 2017 8:18 am America/New_York

Hi Sean,
i've allready try to run it again and it doesn't work. As i am using a wifi connection it could be this (the internet here is not so stable). I will try to do it again with a better network connection. Thank you.

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Problem installing luts

by OB.DAACx - SeanBailey » Sat Mar 11, 2017 10:09 am America/New_York

Yes, a stable connection would help.  You can also just manually run the update_luts.py script, which will reduce the amount of connection attempts you'd need to make by using install_ocssw.py (which has to check everything again, just to get to the lut updates).

Sean

asubramaniam
Posts: 10
Joined: Thu Aug 11, 2005 3:53 pm America/New_York
Answers: 0

Problem installing luts

by asubramaniam » Thu Mar 16, 2017 11:19 am America/New_York

Sean

I am having the same problem and as far as I can figure out, I don't have any network issues.  I am now connected by ethernet cable but have this issue with both wifi and ethernet.
Any suggestions?

Thanks
Ajit

execution exception: java.io.IOException: install_ocssw.py failed with exit code 1.
Check log for more details.
Installing bundles.sha256sum (1 of 20)
  % 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  2736  100  2736    0     0  29009      0 --:--:-- --:--:-- --:--:-- 29106
Installing common (2 of 20)
Installing OCSSW_bash.env (3 of 20)
  % 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  2894  100  2894    0     0  42306      0 --:--:-- --:--:-- --:--:-- 42558
Installing README (4 of 20)
  % 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  3358  100  3358    0     0  48646      0 --:--:-- --:--:-- --:--:-- 49382
Installing ocrvc (5 of 20)
Installing meris (6 of 20)
Installing modis (7 of 20)
Installing modisa (8 of 20)
Installing hmodisa (9 of 20)
Installing osmi (10 of 20)
Installing oli (11 of 20)
Installing seawifs (12 of 20)
Installing viirsn (13 of 20)
Installing bin (14 of 20)
Installing bin3 (15 of 20)
Installing scripts (16 of 20)
Python version acceptable
Installing seawifs-luts (17 of 20)
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
Error - Could not install luts for seawifs

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Problem installing luts

by OB.DAACx - SeanBailey » Thu Mar 16, 2017 1:37 pm America/New_York

Run update_luts.py directly:
$ update_luts.py --verbose  aqua
$ update_luts.py --verbose  terra
$ update_luts.py --verbose  viirsn
$ update_luts.py --verbose  seawifs

asubramaniam
Posts: 10
Joined: Thu Aug 11, 2005 3:53 pm America/New_York
Answers: 0

Problem installing luts

by asubramaniam » Sun Mar 19, 2017 9:20 am America/New_York

Dear Sean

It still does not work.  I am absolutely certain that my internet is robust (have tried it over wifi and with ethernet and have checked the speeds which are mostly in excess of 50 mbps up and down).  Given that the install/update worked all the way to the step before the LUTS, it is likely it is something else. 
I checked the requirements listed on the seadas page and am compliant with all of them but I wonder if this is a symptom of some other problem such as openSSL or something like that not being up to date.   I am working with Mac OS Sierra that is up to date.

Thanks
cheers
Ajit

PS This is the message I get:
./update_luts.py --verbose  aqua
[ MODIS ]
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Problem installing luts

by OB.DAACx - SeanBailey » Sun Mar 19, 2017 3:19 pm America/New_York

Ajit,

I can't make it not work on my up-to-date MacOS Sierra...

Can you verify the python build you're using:
$ which python
$ python --version


Can you also provide the date/time you attempted and the external IP address of your machine?  Might be something in the logs we can check.

Sean

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 306
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0
Been thanked: 3 times

Problem installing luts

by OB SeaDAS - knowles » Mon Mar 20, 2017 7:49 am America/New_York

Hi Ajit:

Two things you will want to do (which I did on my MacOS Sierra).

1.  Update Python Version: I've seen your same error on my MacOS Sierra.   The version of python which comes with MacOS Sierra is "Python 2.7.10".  You can update this either laboriously with MacPorts or the quick and easy as I did by downloading Anaconda Python Version 2.7:
https://www.continuum.io/downloads follow their instructions (currently: select Python Version 2.7 "COMMAND-LINE INSTALLER (358M)" for the download and then run "bash Anaconda2-4.3.1-MacOSX-x86_64.sh ").  This installs and automatically updates your $PATH environment variable.  Open a new window and make sure the version is right.  Mine is "Python 2.7.13 :: Anaconda 4.3.0 (x86_64)".

NOTE: You will now need to restart your computer if you are running SeaDAS via the GUI.

2.  Delete OCSSW Directory and Reinstall OCSSW: Here's a nuanced bug: Your installation of OCSSW failed but will likely have left an ocssw directory there, mine did.  This directory is a failed installation of ocssw.  After I installed Anaconda Python, I still got errors trying to install ocssw.  I found that when I then deleted my ocssw directory, the installation worked fine.  

Hope this helps
Danny

asubramaniam
Posts: 10
Joined: Thu Aug 11, 2005 3:53 pm America/New_York
Answers: 0

Problem installing luts

by asubramaniam » Wed Mar 22, 2017 3:49 pm America/New_York

Dear Danny, Sean

Thanks very much, that worked.  I thought I had posted a reply and apologies if you see this twice.
In any case, I also wanted to express my appreciation for you guys for coming up with solutions to problems even when I can't really describe all the symptoms accurately!!
Thanks again
cheers
ajit

Post Reply