Page 1 of 1

seadas 8.1 installation issue

Posted: Mon Jun 28, 2021 11:33 am America/New_York
by bruce
I just installed 8.1, following, I think, all of the steps. If I start Seadas, it says it's 8.1.0, yet if I click on SeaDAS-OCSSW>>Install/Update OCSSW, it has the local install dir as /seadas/seadas-8.0/OCSSW not the actual install dir of /seadas/seadas-8.1/ocssw (and it's un-edittable).

Here the relevant (I think) environment variables.
bcb@modis:~$ env | grep -i seadas
SWFTBL=/seadas/seadas-8.1/ocssw/share/seawifs/qc
NAVCTL=/seadas/seadas-8.1/ocssw/share/seawifs/nav
ASAP_PARMS=/seadas/seadas-8.1/ocssw/share/common/nav
LIB3_DIR=/seadas/seadas-8.1/ocssw/opt
SWTBL=/seadas/seadas-8.1/ocssw/share/seawifs
LIB3_BIN=/seadas/seadas-8.1/ocssw/opt/bin
OCVARROOT=/seadas/seadas-8.1/ocssw/var
OCTS_REGISTRATION_TABLES=/seadas/seadas-8.1/ocssw/share/octs/nav
PGSLIB=/seadas/seadas-8.1/ocssw/opt/EOS/lib/linux64
OCSSWROOT=/seadas/seadas-8.1/ocssw
ELEMENTS=/seadas/seadas-8.1/ocssw/var/seawifs
HRPT_STATION_IDENTIFICATION_FILE=/seadas/seadas-8.1/ocssw/share/seawifs/station/station_id.dat
PGSINC=/seadas/seadas-8.1/ocssw/opt/EOS/include
L2GEN_ANC=/seadas/seadas-8.1/ocssw/var/anc
ORBCTL=/seadas/seadas-8.1/ocssw/share/seawifs/nav
LIB3_LIB=/seadas/seadas-8.1/ocssw/opt/lib
LIB3_INC=/seadas/seadas-8.1/ocssw/opt/include
PROJ_LIB=/seadas/seadas-8.1/ocssw/opt/share/proj
OCSSW_BIN=/seadas/seadas-8.1/ocssw/bin
OCDATAROOT=/seadas/seadas-8.1/ocssw/share
PATH=/seadas/seadas-8.1/bin:/seadas/seadas-8.1/ocssw/opt/bin:/seadas/seadas-8.1/ocssw/bin:/home/bcb/bin:/home/bcb/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
NAVQC=/seadas/seadas-8.1/ocssw/share/seawifs/nav
HDFEOS_LIB=/seadas/seadas-8.1/ocssw/opt/EOS/lib/linux64

all of which point at 8.1. It was installed as "me", not root. There is an 8.0 installation on the machine, but when I did the install, I selected "new installation" not "upgrade"

Any hints on how to fix it (short of deleting the 8.0 installation)?

Re: seadas 8.1 installation issue

Posted: Mon Jun 28, 2021 12:29 pm America/New_York
by OB SeaDAS - xuanyang02
Did you install OCSSW by command line? It seems to me ocssw is in the right place.

I wonder what your OCSSWROOT says when you do SeaDAS-OCSSW -> Configure OCSSW.

Can yo post the output of SeaDAS-OCSSW -> SeaDAS/System Info here?

Re: seadas 8.1 installation issue

Posted: Mon Jun 28, 2021 12:44 pm America/New_York
by bruce
This is how I installed the OCSSW stuff
./install_ocssw --install_dir /seadas/seadas-8.1/ocssw --tag V2021.1 --seadas --modisa --modist --seawifs --src --viirsj1 --viirsn

and here's the output you asked for

Main Application Platform:
Application Version: SeaDAS 8.1.0
Installation Directory: /seadas/seadas-8.1
Data Directory: /home/bcb/.seadas8
Configuration: /seadas/seadas-8.1/etc/snap.properties
WARNING!! File '/seadas/seadas-8.1/etc/snap.properties' does not exist
Configuration2: /home/bcb/.seadas8/etc/snap.properties
VM Configuration: /seadas/seadas-8.1/bin/pconvert.vmoptions
WARNING!! File '/seadas/seadas-8.1/bin/pconvert.vmoptions' does not exist
VM Configuration (gpt): /seadas/seadas-8.1/bin/gpt.vmoptions
WARNING!! File '/seadas/seadas-8.1/bin/gpt.vmoptions' does not exist
Desktop Specification Version: 8.0.3
Engine Specification Version: 8.0.3
JRE: Java(TM) SE Runtime Environment 1.8.0_201-b09
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Memory: 3641 MiB

OCSSWROOT (Java Env): /seadas/seadas-8.1/ocssw

Python3 Directory:
/usr/bin/python3

SeaDAS Toolbox:
SeaDAS Toolbox Specification Version: 1.1.0
Configuration: /home/bcb/.seadas8/etc/seadas.properties
OCSSW Root Directory: /seadas/seadas-8.0/OCSSW
OCSSW Log Directory: /home/bcb
OCSSW Location: local
Environment {$OCSSWROOT} (external): /seadas/seadas-8.1/ocssw
WARNING!: An environment variable for OCSSWROOT exists which does not match the GUI configuration. The GUI will use '/seadas/seadas-8.0/OCSSW' as the ocssw root inside the GUI.

-----------------------------------------------

NASA Science Processing (OCSSW):
Environment {$OCSSWROOT}: /seadas/seadas-8.0/OCSSW
Environment {$OCDATAROOT}: /seadas/seadas-8.0/OCSSW/share
l2gen version: msl12 9.5.1-V2020.1 (Oct 5 2020 15:35:59)
l2bin version: 6.2.0
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2020.1 (Oct 5 2020 15:34:40)
Installed Missions: ['aqua', 'terra', 'seawifs', 'viirsn', 'viirsj1']

General System and Software:
Operating system: Ubuntu 20.04.2 LTS
Python version: 2.7.18
Java version: 1.8.0_201


Which of course points out that I didn't move the .seadsa8 directory out of the way... Doing that and things are working as expected.