Hello,
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:
/home/ana/Curso_PDI_linux/MODIS_py/A2006004185500.L1A_LAC.x.hdf
Traceback (most recent call last):
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/modis_GEO.py", line 8, in <module>
from modules.modis_utils import buildpcf, modis_env
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/modules/modis_utils.py", line 5, in <module>
from MetaUtils import readMetadata
ModuleNotFoundError: No module named 'MetaUtils'
/home/ana/Curso_PDI_linux/MODIS_py/A2006004185500.L1A_LAC.x.hdf
Traceback (most recent call last):
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/getanc.py", line 196, in <module>
sys.exit(main())
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/getanc.py", line 188, in main
g.setup()
File "/home/ana/seadas8/ocssw/ocssw_src/scripts/modules/anc_utils.py", 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!
Ana
Error processing from MODIS L1 to L2 in SEADAS
-
- Posts: 2
- Joined: Tue Nov 22, 2011 11:50 am America/New_York
-
- Subject Matter Expert
- Posts: 713
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: Error processing from MODIS L1 to L2 in SEADAS
In SeaDAS 7, modis_GEO.py and getanc.py are in $OCSSWROOT/scripts, and anc_utils.py is in $OCSSWROOT/scripts/modules.
In SeaDAS 8, modis_GEO and getanc are in $OCSSWROOT/bin, anc_utils.py is in $OCSSWROOT/bin/seadasutils.
It seems to me you are running modis_GEO.py 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? https://seadas.gsfc.nasa.gov/downloads/
In SeaDAS 8, modis_GEO and getanc are in $OCSSWROOT/bin, anc_utils.py is in $OCSSWROOT/bin/seadasutils.
It seems to me you are running modis_GEO.py 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? https://seadas.gsfc.nasa.gov/downloads/