Inability to Download OB.DAAC Data with obdaac_download.py
Posted: Wed Jan 31, 2024 10:27 am America/New_York
Using the python method provided in the data download methods (https://oceancolor.gsfc.nasa.gov/data/download_methods/), I am trying to download many day files of SNPP-VIIRS Rrs data. I am working on a machine using Windows 10 and my current python version is 3.8.10.
Without changing the py file I issue this command to the script:
python obdaac_download.py -v --filelist C:\Users\path\to\file\list --odir C:\Users\path\to\output\location --appkey myappkey
Output directory: C:\Users\path\to\output\location
Retrieving https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/SNPP_VIIRS.20200101.L3m.DAY.RRS.Rrs_410.4km.nc
and after trying to reach the url to download the data the following error is returned:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='oceandata.sci.gsfc.nasa.gov', port=443): Max retries exceeded with url: /cgi/getfile/SNPP_VIIRS.20200101.L3m.DAY.RRS.Rrs_410.4km.nc?appkey=myappkey (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000022CA4F261C0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Is there a known solution to this error or is there something else that I need to do on my system to allow for it to grab data remotely?
Without changing the py file I issue this command to the script:
python obdaac_download.py -v --filelist C:\Users\path\to\file\list --odir C:\Users\path\to\output\location --appkey myappkey
Output directory: C:\Users\path\to\output\location
Retrieving https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/SNPP_VIIRS.20200101.L3m.DAY.RRS.Rrs_410.4km.nc
and after trying to reach the url to download the data the following error is returned:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='oceandata.sci.gsfc.nasa.gov', port=443): Max retries exceeded with url: /cgi/getfile/SNPP_VIIRS.20200101.L3m.DAY.RRS.Rrs_410.4km.nc?appkey=myappkey (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000022CA4F261C0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Is there a known solution to this error or is there something else that I need to do on my system to allow for it to grab data remotely?