Dear Sir/Madam,
I am attaching the Screenshot of the location and permission of the
NETRC file which is named as _netrc.text. Is it correct format? Also I
am sharing the codefile, which is exactly like the code on CCDIS site
except the proxy details.
This code is running perfectly in linux system ...
Search found 2 matches
- Thu Mar 23, 2023 1:22 am America/New_York
- Forum: Home
- Question: Downloading data from CDDIS archive.
- Replies: 3
- Wed Mar 15, 2023 9:29 am America/New_York
- Forum: Home
- Question: Downloading data from CDDIS archive.
- Replies: 3
Downloading data from CDDIS archive.
My code
proxy ={"https": f"http://{username}:{password}@{proxyserver}:{port}"}
url = 'https://cddis.nasa.gov/archive/gnss/data/daily/2017/003/17o/mate0030.17o.Z'
response = requests.get(url, proxies=proxy) auth=(A_username, A_password))
if response.status_code == 200:
# Check the Content-Length ...
proxy ={"https": f"http://{username}:{password}@{proxyserver}:{port}"}
url = 'https://cddis.nasa.gov/archive/gnss/data/daily/2017/003/17o/mate0030.17o.Z'
response = requests.get(url, proxies=proxy) auth=(A_username, A_password))
if response.status_code == 200:
# Check the Content-Length ...