Page 1 of 1

"SeaDAS 7.4 OCSSW install on Ubuntu 14.04 LTE ---- (bundles.sha256sum) not downloaded

Posted: Wed Apr 18, 2018 12:11 pm America/New_York
by naveedbuttar
Hi, I countered this problem, i am in China, i downloaded all below files and paste into the /tmp
$ cd /tmp
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/install_ocssw.py
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/README
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/OCSSW_bash.env
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/common.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/bin-linux_64.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/bin3-linux_64.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/ocrvc.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/modis.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/modisa.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/hmodisa.bundle
$ wget -cN http://oceandata.sci.gsfc.nasa.gov/ocssw/seawifs.bundle

But i can't open https://seadas.gsfc.nasa.gov/ in china, i am using vpn to open it. I used vpn on my Ubuntu but still have below error.

root@ubuntu:/tmp# ./install_ocssw.py –install-dir=/usr/local/seadas-7.4/ocssw  –local=/tmp –aqua –seawifs
Installing bundles.sha256sum (1 of 7)
--2018-04-18 08:55:49--  https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... failed: Connection refused.
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|2001:4d0:2418:128::84|:443... failed: Network is unreachable.
Error - Executing command "cd /root/ocssw; wget --tries=5 --wait=5 https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum"
Bundle checksum file (bundles.sha256sum) not downloaded

Please help me to figure out this problem how can i fix it???

"SeaDAS 7.4 OCSSW install on Ubuntu 14.04 LTE ---- (bundles.sha256sum) not downloaded

Posted: Wed Apr 18, 2018 2:09 pm America/New_York
by OB SeaDAS - dshea
Grab the new installer.  It will not do any networking if you are using the --local option. 
I also noticed that you do not have 2 dashes in front of your command line options.
You also need to add the option "--git-branch=v7.4"

https://oceandata.sci.gsfc.nasa.gov/ocssw/install_ocssw.py

don

"SeaDAS 7.4 OCSSW install on Ubuntu 14.04 LTE ---- (bundles.sha256sum) not downloaded

Posted: Wed Apr 18, 2018 11:32 pm America/New_York
by naveedbuttar
Thank you so much for your help in this situation Don, my command was wrong. now re-write the command as per you corrected me, it works but face another issue below

root@ubuntu:/tmp# ./install_ocssw.py --install-dir=/usr/local/seadas-7.4/ocssw --local=/tmp --git-branch=v7.4 --aqua --seawifs
Installing bundles.sha256sum (1 of 10)
Installing common (2 of 10)
Not updating Git Repository, no-update requested
Installing OCSSW_bash.env (3 of 10)
cp: cannot stat '/tmp/OCSSW_bash.env.v7.4': No such file or directory
Error - Executing command "cp /tmp/OCSSW_bash.env.v7.4 /usr/local/seadas-7.4/ocssw"
Traceback (most recent call last):
  File "./install_ocssw.py", line 624, in <module>
    os.rename(os.path.join(installDir, 'OCSSW_bash.env.' + gitBranch), os.path.join(installDir, 'OCSSW_bash.env'))
OSError: [Errno 2] No such file or directory

Please guide me again

"SeaDAS 7.4 OCSSW install on Ubuntu 14.04 LTE ---- (bundles.sha256sum) not downloaded

Posted: Thu Apr 19, 2018 8:07 am America/New_York
by OB.DAACx - SeanBailey
grab https://oceandata.sci.gsfc.nasa.gov/ocssw/OCSSW_bash.env.v7.4 and put it with the other files you downloaded (e.g. /tmp)

"SeaDAS 7.4 OCSSW install on Ubuntu 14.04 LTE ---- (bundles.sha256sum) not downloaded

Posted: Thu Apr 19, 2018 11:42 pm America/New_York
by naveedbuttar
Finally i installed the OCSSW packages, Thanks Sean