Install OCSSW SeaDAS 8.3 Mac OS
-
- Posts: 19
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Install OCSSW SeaDAS 8.3 Mac OS
Hi
I am having trouble installing the OCSSW processor in SeaDAS 8.3. I have tried to go through all of the recommendation such as installing requests and pointing to the system python 3, but I continue to get the following error.
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Traceback (most recent call last):
File "/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/install_ocssw", line 25, in <module>
import manifest as mf
File "/private/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/manifest.py", line 16, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
% which python3
/Users/andy/opt/anaconda3/bin/python3
% echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I have tried this both in bash and zsh shells.
Any help is appreciated.
Andy
I am having trouble installing the OCSSW processor in SeaDAS 8.3. I have tried to go through all of the recommendation such as installing requests and pointing to the system python 3, but I continue to get the following error.
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Traceback (most recent call last):
File "/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/install_ocssw", line 25, in <module>
import manifest as mf
File "/private/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/manifest.py", line 16, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
% which python3
/Users/andy/opt/anaconda3/bin/python3
% echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I have tried this both in bash and zsh shells.
Any help is appreciated.
Andy
Filters:
-
- Subject Matter Expert
- Posts: 269
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
Re: Install OCSSW SeaDAS 8.3 Mac OS
Send me the output from the menu item:
SeaDAS-Toolbox->Software & System Info...
don
SeaDAS-Toolbox->Software & System Info...
don
-
- Posts: 19
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Re: Install OCSSW SeaDAS 8.3 Mac OS
Thanks, Don. Here is the output. Looks like the SeaDAS .conf file is the problem?
-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.3.0
SNAP Engine Version: 9.0.3* (SeaDAS Platform modified)
SNAP Desktop Version: 9.0.3* (SeaDAS Platform modified)
SNAP Engine Build Date: 202212081832
SNAP Desktop Build Date: 202212081837
Installation Directory: /Users/andy/SeaDAS
Data Directory: /Users/andy/.seadas8
Configuration: /Users/andy/SeaDAS/etc/snap.properties
VM Configuration: /Users/andy/SeaDAS/etc/seadas.conf
WARNING!! File '/Users/andy/SeaDAS/etc/seadas.conf' does not exist
VM Configuration: /Users/andy/SeaDAS/etc/snap.conf
WARNING!! File '/Users/andy/SeaDAS/etc/snap.conf' does not exist
VM Configuration (gpt): /Users/andy/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/andy/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/andy/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/andy/.seadas8/etc/seadas.properties
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): /Users/andy/SeaDAS/ocssw
Python3 Directory: /usr/local/bin/python3
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202212081844
Configuration: /Users/andy/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Users/andy/SeaDAS/ocssw
OCSSW Log Directory: /Users/andy
OCSSW Location: local
Environment {$OCSSWROOT} (external): /Users/andy/SeaDAS/ocssw
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
OCSSWROOT=/Users/andy/SeaDAS/ocssw
OCDATAROOT=/Users/andy/SeaDAS/ocssw/share
l2gen version: msl12 9.6.0-V2022.2 (Nov 28 2022 12:24:20)
l2bin version: 7.0.3
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2022.2 (Nov 28 2022 12:25:33)
Installed Missions: ['aqua']
-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: MacOS 11.7.4
Java version: 19.0.2
Python3 version: 3.11.2
Python3 Path: /usr/local/bin/python3
Env:
CC=gcc
CXX=g++
ELEMENTS=/Users/andy/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=macintel64
FC=gfortran
GCC_TUNE=
HDFEOS_LIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
HRPT_STATION_IDENTIFICATION_FILE=/Users/andy/SeaDAS/ocssw/share/seawifs/station/station_id.dat
L2GEN_ANC=/Users/andy/SeaDAS/ocssw/var/anc
LIB3_BIN=/Users/andy/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/Users/andy/SeaDAS/ocssw/opt
LIB3_INC=/Users/andy/SeaDAS/ocssw/opt/include
LIB3_LIB=/Users/andy/SeaDAS/ocssw/opt/lib
NAVCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
OCSSW_ARCH=macosx_intel
OCSSW_BIN=/Users/andy/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCTS_REGISTRATION_TABLES=/Users/andy/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/Users/andy/SeaDAS/ocssw/var
ORBCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
PGSINC=/Users/andy/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
PROJ_LIB=/Users/andy/SeaDAS/ocssw/opt/share/proj
SWFTBL=/Users/andy/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/Users/andy/SeaDAS/ocssw/share/seawifs
-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.3.0
SNAP Engine Version: 9.0.3* (SeaDAS Platform modified)
SNAP Desktop Version: 9.0.3* (SeaDAS Platform modified)
SNAP Engine Build Date: 202212081832
SNAP Desktop Build Date: 202212081837
Installation Directory: /Users/andy/SeaDAS
Data Directory: /Users/andy/.seadas8
Configuration: /Users/andy/SeaDAS/etc/snap.properties
VM Configuration: /Users/andy/SeaDAS/etc/seadas.conf
WARNING!! File '/Users/andy/SeaDAS/etc/seadas.conf' does not exist
VM Configuration: /Users/andy/SeaDAS/etc/snap.conf
WARNING!! File '/Users/andy/SeaDAS/etc/snap.conf' does not exist
VM Configuration (gpt): /Users/andy/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/andy/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/andy/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/andy/.seadas8/etc/seadas.properties
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): /Users/andy/SeaDAS/ocssw
Python3 Directory: /usr/local/bin/python3
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202212081844
Configuration: /Users/andy/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Users/andy/SeaDAS/ocssw
OCSSW Log Directory: /Users/andy
OCSSW Location: local
Environment {$OCSSWROOT} (external): /Users/andy/SeaDAS/ocssw
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
OCSSWROOT=/Users/andy/SeaDAS/ocssw
OCDATAROOT=/Users/andy/SeaDAS/ocssw/share
l2gen version: msl12 9.6.0-V2022.2 (Nov 28 2022 12:24:20)
l2bin version: 7.0.3
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2022.2 (Nov 28 2022 12:25:33)
Installed Missions: ['aqua']
-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: MacOS 11.7.4
Java version: 19.0.2
Python3 version: 3.11.2
Python3 Path: /usr/local/bin/python3
Env:
CC=gcc
CXX=g++
ELEMENTS=/Users/andy/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=macintel64
FC=gfortran
GCC_TUNE=
HDFEOS_LIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
HRPT_STATION_IDENTIFICATION_FILE=/Users/andy/SeaDAS/ocssw/share/seawifs/station/station_id.dat
L2GEN_ANC=/Users/andy/SeaDAS/ocssw/var/anc
LIB3_BIN=/Users/andy/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/Users/andy/SeaDAS/ocssw/opt
LIB3_INC=/Users/andy/SeaDAS/ocssw/opt/include
LIB3_LIB=/Users/andy/SeaDAS/ocssw/opt/lib
NAVCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
OCSSW_ARCH=macosx_intel
OCSSW_BIN=/Users/andy/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCTS_REGISTRATION_TABLES=/Users/andy/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/Users/andy/SeaDAS/ocssw/var
ORBCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
PGSINC=/Users/andy/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
PROJ_LIB=/Users/andy/SeaDAS/ocssw/opt/share/proj
SWFTBL=/Users/andy/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/Users/andy/SeaDAS/ocssw/share/seawifs
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: Install OCSSW SeaDAS 8.3 Mac OS
SeaDAS-Toolbox->Software & System Info... says
"Python3 Path: /usr/local/bin/python3"
You probably opened SeaDAS from a shell that has the path set to /usr/local/bin/python3.
Try
"Python3 Path: /usr/local/bin/python3"
You probably opened SeaDAS from a shell that has the path set to /usr/local/bin/python3.
Try
Code: Select all
/usr/bin/pip3 install requests
-
- Posts: 19
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Re: Install OCSSW SeaDAS 8.3 Mac OS
Hi xuanyang,
I still get the same error when trying to install the processors. I was able to install requests given your commands in the previous post. I have tried adjust the python3 path in the .bashrc file a couple different ways after installing requests but each iteration leads to the same error.
.bashrc
#export PATH="/Users/andy/opt/anaconda3/bin/python3:$PATH"
export OCSSWROOT="/Users/andy/SeaDAS/ocssw"
source $OCSSWROOT/OCSSW_bash.env
#export PATH="/Users/andy/Library/Python/3.8/bin:$PATH"
export PATH="/usr/local/bin/python3:$PATH"
andy$ which python
/Users/andy/opt/anaconda3/bin/python
andy$ which python3
/Users/andy/opt/anaconda3/bin/python3
andy$ echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Thanks again for your help.
Andy
I still get the same error when trying to install the processors. I was able to install requests given your commands in the previous post. I have tried adjust the python3 path in the .bashrc file a couple different ways after installing requests but each iteration leads to the same error.
.bashrc
#export PATH="/Users/andy/opt/anaconda3/bin/python3:$PATH"
export OCSSWROOT="/Users/andy/SeaDAS/ocssw"
source $OCSSWROOT/OCSSW_bash.env
#export PATH="/Users/andy/Library/Python/3.8/bin:$PATH"
export PATH="/usr/local/bin/python3:$PATH"
andy$ which python
/Users/andy/opt/anaconda3/bin/python
andy$ which python3
/Users/andy/opt/anaconda3/bin/python3
andy$ echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Thanks again for your help.
Andy
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: Install OCSSW SeaDAS 8.3 Mac OS
Your .bashrc has
If you open a new terminal, should return /usr/local/bin/python3.
If you open SeaDAS from the same terminal, SeaDAS-Toolbox->Software & System Info... should return
"Python3 Path: /usr/local/bin/python3".
If you did SeaDAS should no longer complain ModuleNotFoundError: No module named 'requests'.
The fact "/usr/local/bin/python3" is not in your PATH
"/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
indicates that your .bashrc is not being used.
It's best that you consult with your system admin to sort out this PATH issue.
Bing
Code: Select all
export PATH="/usr/local/bin/python3:$PATH"
Code: Select all
which python3
If you open SeaDAS from the same terminal, SeaDAS-Toolbox->Software & System Info... should return
"Python3 Path: /usr/local/bin/python3".
If you did
Code: Select all
/usr/bin/pip3 install requests
The fact "/usr/local/bin/python3" is not in your PATH
"/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
indicates that your .bashrc is not being used.
It's best that you consult with your system admin to sort out this PATH issue.
Bing
-
- Posts: 19
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Re: Install OCSSW SeaDAS 8.3 Mac OS
Thanks, Bing.
I modified all of the paths accordingly but still came up with the error. I reinstalled requests as root, which came up with all sorts of warnings, and now the processors are installing. Hopefully there won't be problems later.
Thanks again for your help. Always very helpful.
Andy
I modified all of the paths accordingly but still came up with the error. I reinstalled requests as root, which came up with all sorts of warnings, and now the processors are installing. Hopefully there won't be problems later.
Thanks again for your help. Always very helpful.
Andy
Re: Install OCSSW SeaDAS 8.3 Mac OS
Please help me,
I am installing Seadas 8.4.0 but I am facing the following errors:
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Installing (1 of 9) - bin_macosx_intel
Installing (2 of 9) - lib_macosx_intel
Installing (3 of 9) - opt_macosx_intel
Installing (4 of 9) - root
Installing (5 of 9) - common
Installing (6 of 9) - ocrvc
Installing (7 of 9) - seawifs
Installing (8 of 9) - sgli
Installing (9 of 9) - viirsdem
Traceback (most recent call last):
File "/Users/misganawchoto/SeaDAS/ocssw/bin/update_luts", line 9, in <module>
import seadasutils.LutUtils as Lut
File "/Users/misganawchoto/SeaDAS/ocssw/bin/seadasutils/LutUtils.py", line 3, in <module>
import seadasutils.JsonUtils as Session
File "/Users/misganawchoto/SeaDAS/ocssw/bin/seadasutils/JsonUtils.py", line 6, in <module>
from seadasutils.ProcUtils import getSession, httpdl
File "/Users/misganawchoto/SeaDAS/ocssw/bin/seadasutils/ProcUtils.py", line 15, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
Installing lut - seawifs
Error: trying to run = /Users/misganawchoto/SeaDAS/ocssw/bin/ocssw_runner --ocsswroot /Users/misganawchoto/SeaDAS/ocssw update_luts seawifs
please help me to solve the above errors.
seadas system information as follows:
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.4.0
SNAP Engine Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Desktop Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Engine Build Date: 202310041459
SNAP Desktop Build Date: 202310041504
Installation Directory: /Users/misganawchoto/SeaDAS
Data Directory: /Users/misganawchoto/.seadas8
Configuration: /Users/misganawchoto/SeaDAS/etc/snap.properties
VM Configuration: /Users/misganawchoto/SeaDAS/etc/seadas.conf
VM Configuration: /Users/misganawchoto/SeaDAS/etc/snap.conf
VM Configuration (gpt): /Users/misganawchoto/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/misganawchoto/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/misganawchoto/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/misganawchoto/.seadas8/etc/seadas.properties
JRE: OpenJDK Runtime Environment 11.0.19+7
JVM: OpenJDK 64-Bit Server VM by Eclipse Adoptium
Memory: 4096 MiB
OCSSWROOT (Java Env): null
Python3 Directory: /Users/misganawchoto/anaconda3/bin/python3
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.4.0
SeaDAS Toolbox Build Date: 202310041514
Configuration: /Users/misganawchoto/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Users/misganawchoto/SeaDAS/ocssw
OCSSW Docker Log Directory: /
OCSSW Location: local
Environment {$OCSSWROOT} (external): null
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
OCSSWROOT=/Users/misganawchoto/SeaDAS/ocssw
OCDATAROOT=/Users/misganawchoto/SeaDAS/ocssw/share
l2gen version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
l2bin version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
l3bin version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
l3mapgen version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
Installed Missions: ['seawifs', 'sgli', 'viirsdem']
-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: MacOS 14.0
Java version: 19.0.2
Python3 version: 3.9.6
Python3 Path: /usr/bin/python3
Env:
CC=gcc
CXX=g++
ELEMENTS=/Users/misganawchoto/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=macintel64
FC=gfortran
GCC_TUNE=
HDFEOS_LIB=/Users/misganawchoto/SeaDAS/ocssw/opt/EOS/lib/macintel64
HRPT_STATION_IDENTIFICATION_FILE=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/station/station_id.dat
L2GEN_ANC=/Users/misganawchoto/SeaDAS/ocssw/var/anc
LIB3_BIN=/Users/misganawchoto/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/Users/misganawchoto/SeaDAS/ocssw/opt
LIB3_INC=/Users/misganawchoto/SeaDAS/ocssw/opt/include
LIB3_LIB=/Users/misganawchoto/SeaDAS/ocssw/opt/lib
NAVCTL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/nav
OCSSW_ARCH=macosx_intel
OCSSW_BIN=/Users/misganawchoto/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCSSW_MODIS=1
OCTS_REGISTRATION_TABLES=/Users/misganawchoto/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/Users/misganawchoto/SeaDAS/ocssw/var
ORBCTL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/nav
PGSINC=/Users/misganawchoto/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/Users/misganawchoto/SeaDAS/ocssw/opt/EOS/lib/macintel64
PROJ_DATA=/Users/misganawchoto/SeaDAS/ocssw/opt/share/proj
PROJ_LIB=/Users/misganawchoto/SeaDAS/ocssw/opt/share/proj
SWFTBL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs
Waiting your kind response.
I am installing Seadas 8.4.0 but I am facing the following errors:
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Installing (1 of 9) - bin_macosx_intel
Installing (2 of 9) - lib_macosx_intel
Installing (3 of 9) - opt_macosx_intel
Installing (4 of 9) - root
Installing (5 of 9) - common
Installing (6 of 9) - ocrvc
Installing (7 of 9) - seawifs
Installing (8 of 9) - sgli
Installing (9 of 9) - viirsdem
Traceback (most recent call last):
File "/Users/misganawchoto/SeaDAS/ocssw/bin/update_luts", line 9, in <module>
import seadasutils.LutUtils as Lut
File "/Users/misganawchoto/SeaDAS/ocssw/bin/seadasutils/LutUtils.py", line 3, in <module>
import seadasutils.JsonUtils as Session
File "/Users/misganawchoto/SeaDAS/ocssw/bin/seadasutils/JsonUtils.py", line 6, in <module>
from seadasutils.ProcUtils import getSession, httpdl
File "/Users/misganawchoto/SeaDAS/ocssw/bin/seadasutils/ProcUtils.py", line 15, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
Installing lut - seawifs
Error: trying to run = /Users/misganawchoto/SeaDAS/ocssw/bin/ocssw_runner --ocsswroot /Users/misganawchoto/SeaDAS/ocssw update_luts seawifs
please help me to solve the above errors.
seadas system information as follows:
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.4.0
SNAP Engine Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Desktop Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Engine Build Date: 202310041459
SNAP Desktop Build Date: 202310041504
Installation Directory: /Users/misganawchoto/SeaDAS
Data Directory: /Users/misganawchoto/.seadas8
Configuration: /Users/misganawchoto/SeaDAS/etc/snap.properties
VM Configuration: /Users/misganawchoto/SeaDAS/etc/seadas.conf
VM Configuration: /Users/misganawchoto/SeaDAS/etc/snap.conf
VM Configuration (gpt): /Users/misganawchoto/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/misganawchoto/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/misganawchoto/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/misganawchoto/.seadas8/etc/seadas.properties
JRE: OpenJDK Runtime Environment 11.0.19+7
JVM: OpenJDK 64-Bit Server VM by Eclipse Adoptium
Memory: 4096 MiB
OCSSWROOT (Java Env): null
Python3 Directory: /Users/misganawchoto/anaconda3/bin/python3
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.4.0
SeaDAS Toolbox Build Date: 202310041514
Configuration: /Users/misganawchoto/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Users/misganawchoto/SeaDAS/ocssw
OCSSW Docker Log Directory: /
OCSSW Location: local
Environment {$OCSSWROOT} (external): null
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
OCSSWROOT=/Users/misganawchoto/SeaDAS/ocssw
OCDATAROOT=/Users/misganawchoto/SeaDAS/ocssw/share
l2gen version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
l2bin version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
l3bin version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
l3mapgen version: Reason: tried: '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc@10/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
Installed Missions: ['seawifs', 'sgli', 'viirsdem']
-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: MacOS 14.0
Java version: 19.0.2
Python3 version: 3.9.6
Python3 Path: /usr/bin/python3
Env:
CC=gcc
CXX=g++
ELEMENTS=/Users/misganawchoto/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=macintel64
FC=gfortran
GCC_TUNE=
HDFEOS_LIB=/Users/misganawchoto/SeaDAS/ocssw/opt/EOS/lib/macintel64
HRPT_STATION_IDENTIFICATION_FILE=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/station/station_id.dat
L2GEN_ANC=/Users/misganawchoto/SeaDAS/ocssw/var/anc
LIB3_BIN=/Users/misganawchoto/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/Users/misganawchoto/SeaDAS/ocssw/opt
LIB3_INC=/Users/misganawchoto/SeaDAS/ocssw/opt/include
LIB3_LIB=/Users/misganawchoto/SeaDAS/ocssw/opt/lib
NAVCTL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/nav
OCSSW_ARCH=macosx_intel
OCSSW_BIN=/Users/misganawchoto/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCSSW_MODIS=1
OCTS_REGISTRATION_TABLES=/Users/misganawchoto/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/Users/misganawchoto/SeaDAS/ocssw/var
ORBCTL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/nav
PGSINC=/Users/misganawchoto/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/Users/misganawchoto/SeaDAS/ocssw/opt/EOS/lib/macintel64
PROJ_DATA=/Users/misganawchoto/SeaDAS/ocssw/opt/share/proj
PROJ_LIB=/Users/misganawchoto/SeaDAS/ocssw/opt/share/proj
SWFTBL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/Users/misganawchoto/SeaDAS/ocssw/share/seawifs
Waiting your kind response.
-
- Subject Matter Expert
- Posts: 711
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: Install OCSSW SeaDAS 8.3 Mac OS
"ModuleNotFoundError: No module named 'requests'" indicates that you need to install requests module
Try
Try
Code: Select all
/usr/bin/pip3 install requests