Difficulty installing SeaDAS 7.4 OCSSW packages on linux
Posted: Thu Mar 01, 2018 1:34 pm America/New_York
Hi all,
I've been trying to install SeaDAS 7.4 and OCSSW packages on a 64-bit linux machine here, and have run into a problem. I got the files and am going through the instructions here: https://seadas.gsfc.nasa.gov/downloads/
I have successfully installed SeaDAS 7.4 using the "SeaDAS Visualization Installers" instructions on that page, into a directory /data3/asayer/seadas-7.4, and added the path to my login shell. (Note the install ___location for SeaDAS isn't in my home directory here due to a space limitation.)
I then went on to try to install the ocssw packages (I want source code and SeaWiFS). I did steps 1, 2, and 3 on the above link (checking for software, download the installer script, make install_ocssw.py executable). However when I try to run it I get an error message. My understanding is that for the source code and SeaWiFS processing packages, I should invoke the command as follows:
./install_ocssw.py --install-dir=/data3/asayer/seadas-7.4/ocssw --git-branch=v7.4 --src --seawifs
However doing so gives this output:
Installing bundles.sha256sum (1 of 10)
--2018-03-01 13:31:06-- https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
Resolving oceandata.sci.gsfc.nasa.gov... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2992 (2.9K) [application/octet-stream]
Saving to: “bundles.sha256sumâ€
100%[================================================================================================================================>] 2,992 --.-K/s in 0s
2018-03-01 13:31:06 (133 MB/s) - “bundles.sha256sum†saved [2992/2992]
Installing common (2 of 10)
error: unknown switch `B'
usage: git checkout [options] <branch>
or: git checkout [options] [<branch>] -- <file>...
-q, --quiet be quiet
-b <new branch> branch
-l log for new branch
-t, --track track
-2, --ours stage
-3, --theirs stage
-f, --force force
-m, --merge merge
--conflict <style> conflict style (merge or diff3)
-p, --patch select hunks interactively
Error - Could not run "cd /data3/asayer/seadas-7.4/ocssw/run/data/common; git checkout -t -B v7.4 remotes/origin/v7.4 -q > /dev/null"
Do you know where I might be going wrong? I guess "error: unknown switch `B'" is the culprit but am not sure why/how to fix.
Cheers,
Andy
I've been trying to install SeaDAS 7.4 and OCSSW packages on a 64-bit linux machine here, and have run into a problem. I got the files and am going through the instructions here: https://seadas.gsfc.nasa.gov/downloads/
I have successfully installed SeaDAS 7.4 using the "SeaDAS Visualization Installers" instructions on that page, into a directory /data3/asayer/seadas-7.4, and added the path to my login shell. (Note the install ___location for SeaDAS isn't in my home directory here due to a space limitation.)
I then went on to try to install the ocssw packages (I want source code and SeaWiFS). I did steps 1, 2, and 3 on the above link (checking for software, download the installer script, make install_ocssw.py executable). However when I try to run it I get an error message. My understanding is that for the source code and SeaWiFS processing packages, I should invoke the command as follows:
./install_ocssw.py --install-dir=/data3/asayer/seadas-7.4/ocssw --git-branch=v7.4 --src --seawifs
However doing so gives this output:
Installing bundles.sha256sum (1 of 10)
--2018-03-01 13:31:06-- https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
Resolving oceandata.sci.gsfc.nasa.gov... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2992 (2.9K) [application/octet-stream]
Saving to: “bundles.sha256sumâ€
100%[================================================================================================================================>] 2,992 --.-K/s in 0s
2018-03-01 13:31:06 (133 MB/s) - “bundles.sha256sum†saved [2992/2992]
Installing common (2 of 10)
error: unknown switch `B'
usage: git checkout [options] <branch>
or: git checkout [options] [<branch>] -- <file>...
-q, --quiet be quiet
-b <new branch> branch
-l log for new branch
-t, --track track
-2, --ours stage
-3, --theirs stage
-f, --force force
-m, --merge merge
--conflict <style> conflict style (merge or diff3)
-p, --patch select hunks interactively
Error - Could not run "cd /data3/asayer/seadas-7.4/ocssw/run/data/common; git checkout -t -B v7.4 remotes/origin/v7.4 -q > /dev/null"
Do you know where I might be going wrong? I guess "error: unknown switch `B'" is the culprit but am not sure why/how to fix.
Cheers,
Andy