Error processing from MODIS L1 to L2 in SEADAS

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 2
Joined: Tue Nov 22, 2011 11:50 am America/New_York
Answers: 0

Error processing from MODIS L1 to L2 in SEADAS

by delgadoanalau » Thu Dec 09, 2021 1:47 pm America/New_York

I have a problem with SEADAS 8 command line processing with python 3.8, from L1 MODIS-Aqua to L2 (in Ubuntu 20.04). Until yesterday it was working perfectly fine, and from today I get a mistake, apparently with the 'MetaUtils' library from python, which is properly installed. When I start the processing I get the following errors:

Traceback (most recent call last):
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/", line 8, in <module>
from modules.modis_utils import buildpcf, modis_env
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/modules/", line 5, in <module>
from MetaUtils import readMetadata
ModuleNotFoundError: No module named 'MetaUtils'
Traceback (most recent call last):
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/", line 196, in <module>
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/", line 188, in main
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/modules/", line 174, in setup
from modis_utils import modis_timestamp
ModuleNotFoundError: No module named 'modis_utils'

I have tried re-installing Seadas and OCSSW processors, but still it is not working. Do you have any idea of what might be happening?
Thank you very much!


OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 484
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 1 time

Re: Error processing from MODIS L1 to L2 in SEADAS

by OB SeaDAS - xuanyang02 » Thu Dec 09, 2021 4:12 pm America/New_York

In SeaDAS 7, and are in $OCSSWROOT/scripts, and is in $OCSSWROOT/scripts/modules.

In SeaDAS 8, modis_GEO and getanc are in $OCSSWROOT/bin, is in $OCSSWROOT/bin/seadasutils.

It seems to me you are running in SeaDAS 7 on command line.

I wonder what your $OCSSWROOT is. Did you mix both sets of OCSSW for SeaDAS 7 and SeaDAS 8 in the same directory?

What was the command you used to install OCSSW? What tag of OCSSW did you install for SeaDAS 8?

Post Reply