[Errno 101] Network is unreachable
Posted: Thu Apr 19, 2018 9:02 am America/New_York
Hello.
I am running this statement
modis_GEO.py A2018108105738.L1A_LAC
and I get this error:
Exception: [Errno 101] Network is unreachable
Exception: 'NoneType' object has no attribute 'status'
Traceback (most recent call last):
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modis_GEO.py", line 187, in <module>
sys.exit(main())
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modis_GEO.py", line 175, in main
m.utcleap()
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/modis_GEO_utils.py", line 140, in utcleap
lut.get_luts()
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/LutUtils.py", line 127, in get_luts
regex='^((?!\d+).)*' + suffix, check_times=True)
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/JsonUtils.py", line 269, in download_allfiles
all_links = self.get_links(url, regex=regex)
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/JsonUtils.py", line 235, in get_links
content = response.read()
AttributeError: 'NoneType' object has no attribute 'read'
I ran this statement to
python simple_python_connection_test.py
and I got this output:
read https://oceancolor.gsfc.nasa.gov/ successfully
Funny enough, it was working yesterday in the same computer but for some reason, it completely stopped working and hasn't worked ever since. I even shifted processing to another computer and I got this error.
Cannot create geolocation from A2018108105738.L1A_LAC; exiting.
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
Would you help me narrow what the problem might be?
Regards,
James
I am running this statement
modis_GEO.py A2018108105738.L1A_LAC
and I get this error:
Exception: [Errno 101] Network is unreachable
Exception: 'NoneType' object has no attribute 'status'
Traceback (most recent call last):
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modis_GEO.py", line 187, in <module>
sys.exit(main())
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modis_GEO.py", line 175, in main
m.utcleap()
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/modis_GEO_utils.py", line 140, in utcleap
lut.get_luts()
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/LutUtils.py", line 127, in get_luts
regex='^((?!\d+).)*' + suffix, check_times=True)
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/JsonUtils.py", line 269, in download_allfiles
all_links = self.get_links(url, regex=regex)
File "/home/rcmrd/seadas-7.4/ocssw/scripts/modules/JsonUtils.py", line 235, in get_links
content = response.read()
AttributeError: 'NoneType' object has no attribute 'read'
I ran this statement to
python simple_python_connection_test.py
and I got this output:
read https://oceancolor.gsfc.nasa.gov/ successfully
Funny enough, it was working yesterday in the same computer but for some reason, it completely stopped working and hasn't worked ever since. I even shifted processing to another computer and I got this error.
Cannot create geolocation from A2018108105738.L1A_LAC; exiting.
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
Would you help me narrow what the problem might be?
Regards,
James