modis_GEO.py failed for some images
Posted: Tue Nov 17, 2020 8:20 am America/New_York
Hi,
Everyone. I recently used SeaDAS-7.5 to process MODIS-Aqua L1A images in batch. When generating GEO files with command line, almost all the images from 2002 to 2018 can generate GEO files successfully, but some images in 2019 and all images in 2020 cannot generate GEO files. When I re-run the code, the images in 2019 successfully generated GEO files except A2019276045000.L1A_LAC, A2019276062500.L1A_LAC, A2019276063000.L1A_LAC, A2019277053000.L1A_LAC, A2019277053500.L1A_LAC, A2019278061500.L1A_LAC and A2019279052000.L1A_LAC, but the images in 2020 still couldn’t. The GUI also didn't work. At this time, I re-tested the previous images. For example, for images in 2002, GEO files can still be generated successfully.
The error message is as follows:
"$modis_GEO.py A2020272062500.L1A_LAC
Traceback (most recent call last):
File "/opt/seadas-7.5/ocssw/scripts/modis_GEO.py", line 194, in <module>
sys.exit(main())
File "/opt/seadas-7.5/ocssw/scripts/modis_GEO.py", line 185, in main
m.atteph()
File "/opt/seadas-7.5/ocssw/scripts/modules/modis_GEO_utils.py", line 240, in atteph
get.locate()
File "/opt/seadas-7.5/ocssw/scripts/modules/anc_utils.py", line 616, in locate
verbose=self.verbose)
File "/opt/seadas-7.5/ocssw/scripts/modules/ProcUtils.py", line 84, in httpdl
os.makedirs(localpath, mode=0o2775)
File "/opt/software/anaconda2/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied:'/opt/seadas-7.5/ocssw/var/anc/2020/271' "
I downloaded the image again, but still, cannot generate GEO file. Can someone help and give me some suggestions, thanks!
Everyone. I recently used SeaDAS-7.5 to process MODIS-Aqua L1A images in batch. When generating GEO files with command line, almost all the images from 2002 to 2018 can generate GEO files successfully, but some images in 2019 and all images in 2020 cannot generate GEO files. When I re-run the code, the images in 2019 successfully generated GEO files except A2019276045000.L1A_LAC, A2019276062500.L1A_LAC, A2019276063000.L1A_LAC, A2019277053000.L1A_LAC, A2019277053500.L1A_LAC, A2019278061500.L1A_LAC and A2019279052000.L1A_LAC, but the images in 2020 still couldn’t. The GUI also didn't work. At this time, I re-tested the previous images. For example, for images in 2002, GEO files can still be generated successfully.
The error message is as follows:
"$modis_GEO.py A2020272062500.L1A_LAC
Traceback (most recent call last):
File "/opt/seadas-7.5/ocssw/scripts/modis_GEO.py", line 194, in <module>
sys.exit(main())
File "/opt/seadas-7.5/ocssw/scripts/modis_GEO.py", line 185, in main
m.atteph()
File "/opt/seadas-7.5/ocssw/scripts/modules/modis_GEO_utils.py", line 240, in atteph
get.locate()
File "/opt/seadas-7.5/ocssw/scripts/modules/anc_utils.py", line 616, in locate
verbose=self.verbose)
File "/opt/seadas-7.5/ocssw/scripts/modules/ProcUtils.py", line 84, in httpdl
os.makedirs(localpath, mode=0o2775)
File "/opt/software/anaconda2/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied:'/opt/seadas-7.5/ocssw/var/anc/2020/271' "
I downloaded the image again, but still, cannot generate GEO file. Can someone help and give me some suggestions, thanks!