Page 1 of 1

wget download sp3 files

Posted: Tue May 25, 2021 7:53 am America/New_York
by zhw_123
I use wget to download the sp3 files and created the .netrc file, included the line with username and passwd.

wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies https://cddis.nasa.gov/archive/gnss/pro ... WDAY.sp3.Z

But the file is corrupted and cannot be used. I need some help

Thanks

Re: wget download sp3 files

Posted: Tue May 25, 2021 11:38 am America/New_York
by CDDIS_support_Lori
Have you looked at the wget examples on https://cddis.nasa.gov/Data_and_Derived ... ccess.html?

Re: wget download sp3 files

Posted: Tue May 25, 2021 9:34 pm America/New_York
by zhw_123
Yes, I also try this method

wget --auth-no-challenge "https://cddis.nasa.gov/archive/doris/da ... 7001.001.Z"

But, the sp3 also corrupted and the it shows as the following:

--2021-05-26 09:32:43-- https://cddis.nasa.gov/archive/gnss/pro ... 1176.sp3.Z
Resolving cddis.nasa.gov (cddis.nasa.gov)... 198.118.199.52
Connecting to cddis.nasa.gov (cddis.nasa.gov)|198.118.199.52|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://urs.earthdata.nasa.gov/oauth/au ... zYuc3AzLlo [following]
--2021-05-26 09:32:45-- https://urs.earthdata.nasa.gov/oauth/au ... zYuc3AzLlo
Resolving urs.earthdata.nasa.gov (urs.earthdata.nasa.gov)... 198.118.243.33
Connecting to urs.earthdata.nasa.gov (urs.earthdata.nasa.gov)|198.118.243.33|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'wum21176.sp3.Z'

0K .......... .. 57.1K=0.2s

2021-05-26 09:32:46 (57.1 KB/s) - 'wum21176.sp3.Z' saved [12561]

Thanks

Re: wget download sp3 files

Posted: Wed May 26, 2021 11:30 am America/New_York
by CDDIS_support_Lori
The most common problem is that the .netrc file is not set up correctly. That file also has to be in your home directory. Here is a link to the instructions for setting it up: https://cddis.nasa.gov/Data_and_Derived ... cFile.html