aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
xpf7622
Posts: 14
Joined: Thu May 24, 2018 10:05 am America/New_York
Answers: 0

aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

by xpf7622 » Tue Jun 05, 2018 4:26 am America/New_York

I use the command as the following paragraph, bundle of (aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast )have the same error
(ocuring in the last step, that's to say the step of  installing of *-luts), :confused:but the others works well,:confused: Who can help me find
out the problem

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
./install_ocssw.py --install-dir=/home/pfxie/seadas-7.5/ocssw --git-branch=v7.5 --arch=linux_64  --seawif  --save-dir=/home/pfxie/下载
Installing bundles.sha256sum (1 of 9)
--2018-06-05 16:12:26--  https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
正在连接 xx.xxx.xx.xx:8087... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度: 3719 (3.6K) [application/octet-stream]
正在保存至: “bundles.sha256sum.1”

bundles.sha256sum.1    100%[===========================>]   3.63K  --.-KB/s    in 0s     

2018-06-05 16:12:27 (21.1 MB/s) - 已保存 “bundles.sha256sum.1” [3719/3719])

Installing common (2 of 9)
Installing OCSSW_bash.env (3 of 9)
--2018-06-05 16:12:29--  https://oceandata.sci.gsfc.nasa.gov/ocssw/OCSSW_bash.env.v7.5
正在连接 xx.xxx.xx.xx:8087... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度: 3001 (2.9K) [application/octet-stream]
正在保存至: “OCSSW_bash.env.v7.5”

OCSSW_bash.env.v7.5    100%[===========================>]   2.93K  --.-KB/s    in 0s     

2018-06-05 16:12:30 (20.7 MB/s) - 已保存 “OCSSW_bash.env.v7.5” [3001/3001])

Installing ocrvc (4 of 9)
Installing seawifs (5 of 9)
Installing bin (6 of 9)
Installing opt (7 of 9)
Installing scripts (8 of 9)
Python version acceptable

Installing seawifs-luts (9 of 9)
Traceback (most recent call last):
  File "/home/pfxie/seadas-7.5/ocssw/scripts/update_luts.py", line 66, in <module>
    luts.get_luts()
  File "/home/pfxie/seadas-7.5/ocssw/scripts/modules/LutUtils.py", line 128, in get_luts
    regex='^((?!d+).)*' + suffix, check_times=True)
  File "/home/pfxie/seadas-7.5/ocssw/scripts/modules/JsonUtils.py", line 269, in download_allfiles
    all_links = self.get_links(url, regex=regex)
  File "/home/pfxie/seadas-7.5/ocssw/scripts/modules/JsonUtils.py", line 234, in get_links
    response = self.open_url(url, get=True)
  File "/home/pfxie/seadas-7.5/ocssw/scripts/modules/JsonUtils.py", line 166, in open_url
    self.session, proxy = httpinit(parts.netloc, timeout=self.timeout)
  File "/home/pfxie/seadas-7.5/ocssw/scripts/modules/ProcUtils.py", line 48, in httpinit
    proxy.port, timeout=timeout)
  File "/usr/lib/python2.7/httplib.py", line 751, in __init__
    (self.host, self.port) = self._get_hostport(host, port)
  File "/usr/lib/python2.7/httplib.py", line 783, in _get_hostport
    i = host.rfind(':')
AttributeError: 'NoneType' object has no attribute 'rfind'
Error - Could not install luts for seawifs

Filters:

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 271
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

by OB SeaDAS - dshea » Wed Jun 06, 2018 9:10 am America/New_York

Looks like your python can not connect to our server over https while updating the LUTs.  Make sure your python has one of these cyphers:

https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=27565;hl=openssl%20ciphers

don

xpf7622
Posts: 14
Joined: Thu May 24, 2018 10:05 am America/New_York
Answers: 0

aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

by xpf7622 » Wed Jun 06, 2018 10:11 am America/New_York

my python is the new , OpenSSL is also new.


>>> import ssl
>>> print ssl.OPENSSL_VERSION


OpenSSL 1.0.2g  1 Mar 2016

in the other hand, if I run the follwing command,/install_ocssw.py --install-dir=/home/pfxie/seadas-7.5/ocssw --git-branch=v7.5 --arch=linux_64  --aquar  --save-dir=/home/pfxie/下载 there have error as follow:
./install_ocssw.py --install-dir=/home/pfxie/seadas-7.5/ocssw --git-branch=v7.5 --arch=linux_64  --aquar  --save-dir=/home/pfxie/下载Installing bundles.sha256sum (1 of 9)
--2018-06-06 22:10:28--  https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
正在连接 xx.xxx.xx.xx:8087... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度: 3719 (3.6K) [application/octet-stream]
正在保存至: “bundles.sha256sum.11”
bundles.sha256sum. 100%[================>]   3.63K  --.-KB/s    in 0.006s 
**************************
Installing aquarius (5 of 9)
error: inflate: data stream error (invalid stored block lengths)
error: inflate: data stream error (invalid stored block lengths)
error: inflate: data stream error (invalid stored block lengths)
error: inflate: data stream error (invalid stored block lengths)
error: inflate: data stream error (invalid stored block lengths)
error: inflate: data stream error (invalid stored block lengths)
error: inflate: data stream error (invalid stored block lengths)

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 271
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

by OB SeaDAS - dshea » Wed Jun 06, 2018 3:01 pm America/New_York

Are you sure you want to install --aquarius?  I just tried installing it and the files are fine on our end. 

Looks like you have a corrupt git bundle.  I would delete and download the aquarius bundle again.

don

xpf7622
Posts: 14
Joined: Thu May 24, 2018 10:05 am America/New_York
Answers: 0

aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

by xpf7622 » Thu Jun 07, 2018 10:38 am America/New_York

Desperate, I turned to use git command.
when I run  git clone -b v7.5 https://oceandata.sci.gsfc.nasa.gov/ocssw/seawifs.git
the follow error prompt.
there'is have conflicts in the md5 or sha?
what's mean?

git clone -b v7.5 https://oceandata.sci.gsfc.nasa.gov/ocssw/seawifs.git
???? 'seawifs'...
fatal: ?????????? 4539?????? -5
error: Unable to find 9277a6189590405aa68057b85c23f4b42f2a7537 under https://oceandata.sci.gsfc.nasa.gov/ocssw/seawifs.git
Cannot obtain needed commit 9277a6189590405aa68057b85c23f4b42f2a7537
while processing commit 9e1d2f6fa1c89e93f7a5e65d5ed3de27d76d0260.
error: fetch failed.

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

aqua , terra ,seawif, viirsn, viirsj1,--direct-broadcast have the same error!

by OB.DAACx - SeanBailey » Thu Jun 07, 2018 11:29 am America/New_York

The reason we created the git bundles is because the repositories are quite large and network issues were causing issues with the standard git clone approach.
If you have the bundles, you can verify them with the shasum file, then follow the instructions on https://oceandata.sci.gsfc.nasa.gov/ocssw.

Post Reply