Not logged inOcean Color Forum

The forum is locked.

The Ocean Color Forum has transitioned over to the Earthdata Forum (https://forum.earthdata.nasa.gov/). The information existing below will be retained for historical reference. Please sign into the Earthdata Forum for active user support.

Up Topic SeaDAS / SeaDAS - General Questions / modis_L1B.py failed with exit code 1.
- By osrani Date 2018-11-27 11:36
Haii
I have installed seadas 7.5.1 GUI  in ubuntu 18.04 .When I tried to process modis L1B from modis L1A using modis_L1B.py . the error was:
Execution exception: java.io.IOException: modis_L1B.py failed with exit code 1.
Check log for more details.
Traceback (most recent call last):
  File "/home/itra/seadas-7.5.1/ocssw/scripts/modis_L1B.py", line 144, in <module>
    sys.exit(main())
  File "/home/itra/seadas-7.5.1/ocssw/scripts/modis_L1B.py", line 137, in main
    modis_env(l1b_instance)
  File "/home/itra/seadas-7.5.1/ocssw/scripts/modules/modis_utils.py", line 379, in modis_env
    print("ERROR: Could not find LUTs in".self.lutdir)
AttributeError: 'str' object has no attribute 'self'

Can any one suggest how to solve the issue
- By dshea Date 2018-11-27 15:38
can you type this on the command line and post the results

export SEADAS=<SeaDAS install directory>
$SEADAS/ocssw/scripts/ocssw_runner --ocsswroot $SEADAS/ocssw get_sys_info.py

you should get something like:

Platform: Linux-4.4.0-137-generic-x86_64-with-debian-stretch-sid
Python version: 2.7.12 (part of an Anaconda installation)
Java version: 1.8.0_111
SEADAS_ROOT: /accounts/dshea/local/seadas-7.5.1
OCSSWROOT: /accounts/dshea/local/seadas-7.5.1/ocssw
l2gen version: msl12 9.3.0-044d4967 (May 31 2018 12:45:33)
l2bin version: 4.5.0
l3bin version: 5.12
l3mapgen version: l3mapgen 2.1.0-044d4967 (May 31 2018 12:44:44)


don
- By osrani Date 2018-11-27 16:15
Thank you for the response..
This was the output of the command..

Platform: Linux-4.15.0-39-generic-x86_64-with-Ubuntu-18.04-bionic
Python version: 2.7.15rc1
Java version: 1.8.0_191
SEADAS_ROOT: /home/itra/seadas-7.5.1
OCSSWROOT: /home/itra/seadas-7.5.1/ocssw
l2gen version: msl12 9.3.0-044d4967 (May 31 2018 12:45:33)
l2bin version: 4.5.0
l3bin version: 5.12
l3mapgen version: l3mapgen 2.1.0-044d4967 (May 31 2018 12:44:44)
- By gfireman Date 2019-02-14 16:18
That line is indeed in error; we will fix it on our side.

In the meantime, you could change the first period to a comma:
  File "/home/itra/seadas-7.5.1/ocssw/scripts/modules/modis_utils.py", line 379
from
   print("ERROR: Could not find LUTs in".self.lutdir)
to
   print("ERROR: Could not find LUTs in", self.lutdir)

It will still fail if LUTs aren't installed, but will fail cleanly.
Up Topic SeaDAS / SeaDAS - General Questions / modis_L1B.py failed with exit code 1.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill