Page 1 of 1


Posted: Fri Apr 19, 2024 7:19 am America/New_York
by lailai0824
Hello,When I use the tool ‘’ in SeaDAS, I always get an error:

'execution exception: failed with exit code 1
Check log for more details.
Determining required attitude and ephemeris files...
Traceback(most recent calllast):
Searching database: /home/a/seadas-7.5.3/ocsswar/ancillary data,db
File "/home/a/seadas-7,5,3/ocssw/scripts/modis", line 194, in <module>
File "/home/a/seadas-7.5.3/ocssw/scripts/modis", line 185, in main
File "/home/a/seadas-7,5.3/ocssw/scripts/modules/modis GE0 utils,py", line 238, in atteph
File "home/a/seadas-7.5.3/ocssw/scripts/modules/anc", line 428, in findweb

File "home/a/seadas-7.5.3/ocssw/scripts/modules/", line 74, in httpd
with closing(obpgSession.get(urlStr, stream=True, timeout=timeout))as reg:File "/usr/local/lib/python2,7/dist-packages/requests/", line 525, in getreturn self.request('GET',url, **kwaras)File "/usr/local/lib/python2.7/dist-packages/requests/", line 512, in requestreso-self.send(prep,**send kwaras)File "/usr/local/lib/python2,7/dist-packages/requests/", line 622, in sendr=adapter.send(request,**kwargs)File "/usr/local/lib/python2.7/dist-packages/requests/", line 513, in sendInput file: /home/a/DailyProgram/work/A2024109053500.L1A_LAC

requests.exceptions.ConnectionEror: HTsconectionPool(host*', pot-443): Max reties exceeded wth url: /aplaltephiAy2024109053500202410
Sensor :modisa
Start time: 2024109053500
End time:2024109054000
0BPG session started'

How can I fix this? thank you!


Posted: Fri Apr 19, 2024 11:27 am America/New_York
by OB SeaDAS - knowles
Based on your output messages it seems like you are using SeaDAS 7.5.3 and implementing python2.7

The current SeaDAS is 9.0.0 and uses python3. So upgrading would be highly advisable.

It looks like your python requests call is failing. It is possible you don't have an internet connection when running


Posted: Mon Apr 22, 2024 4:30 am America/New_York
by lailai0824
Thank you for your reply!
But what is puzzling is that when the same programs call SeaDas to do atmospheric corrections on MODIS Aqua data, some are successful, and some consistently show such errors, appearing intermittently.

The error is:
‘requests.exceptions.ConnectionError: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /api/anc_data_api/?&m=7&s=2024-03-22T05:05:00&e=2024-03-22T05:10:00&missing_tags=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='', port=443): Read timed out. (read timeout=10.0)",)) ’

If the problem is the network, it should be that all the data can not succeed, are there other reasons or solutions? Thanks.


Posted: Mon Apr 22, 2024 11:01 am America/New_York
by OB SeaDAS - xuanyang02
It appears that getanc timed out after 10 seconds. The workaround is to increase the timeout to 60 seconds.

I believe the latest OCSSW tag has timeout default to 60 seconds. For SeaDAS 7.5 users, you can try to use the --timeout=60 option for modis_GEO

See if this post helps -- viewtopic.php?p=17360&hilit=getanc&sid=737c4144e9601fd6430fc1ba0769c497#p17360