Page 2 of 2

Re: OCSSW Installation Error

Posted: Fri Jun 25, 2021 3:29 pm America/New_York
by avmehta
Thanks for the email.
I was able to install ocssw !
But when I try to do MODIS processing (for getting GEO geolocation files) I get the following error:
call modis_GEO.py -----------------------------
/att/nobackup/avmehta/seadas8//opt/bin/hdp is not executable.
Error! dump_metadata failed.
How to resolve this?
Thanks.
Amita

Re: OCSSW Installation Error

Posted: Fri Jun 25, 2021 3:39 pm America/New_York
by OB SeaDAS - xuanyang02
modis_GEO.py is now modis_GEO in SeaDAS 8.
Please see https://seadas.gsfc.nasa.gov/help/8.0.0 ... EO.html#cl

Bing

Re: OCSSW Installation Error

Posted: Tue Jul 06, 2021 4:04 pm America/New_York
by avmehta
OB.DAAC - SeanBailey wrote: Wed Jun 23, 2021 11:41 am America/New_York Amita,

See https://packaging.python.org/tutorials/ ... -packages/

or if you don't want to read :D

Code: Select all

python3 -m pip install --upgrade pip setuptools wheel
Sean
Hi Sean,
I am trying to run ocssw on a container on adapt (NCCS linux computer). The python version I have 3.7.4. When I try to run modis_GEO I get the following error: /usr/bin/env: ‘python3’: No such file or directory! I do not have write permission to the container and have to request someone to do it for me. How do we get python3? The link you sent assumes there is python3!
Thank you.
Amita

Re: OCSSW Installation Error

Posted: Wed Jul 07, 2021 12:19 pm America/New_York
by gnwiii
You may want to install your own python3 (e.g., using Anaconda) so your SeaDAS installation isn't affected by updates to the "system" python3. Even if you are "only" installing packages you should consider using a Python virtual environment (venv, see: "https://docs.python.org/3/tutorial/venv.html") for SeaDAS so that your Python packages are independent of "system" packages.

Re: OCSSW Installation Error

Posted: Wed Jul 07, 2021 2:03 pm America/New_York
by avmehta
Thank you!
Amita