Page 1 of 1

download from oceandata.sci.gsfc.nasa.gov

Posted: Sun May 19, 2024 10:20 pm America/New_York
by sergdkv
Good afternoon.
I can't download some files from oceandata.sci.gsfc.nasa.gov.

More precisely, I'm trying to get files using wget.

If the file is small, I download the file successfully.

If the download takes more than 5 minutes, the download is interrupted. In this case, resuming the download (-c option) does not work.

Is it possible to do anything in this situation?

PARTS OF WGET LOG:

--2024-05-20 12:14:47-- https://oceandata.sci.gsfc.nasa.gov/ob/getfile/A2024123052000.L1A_LAC.bz2
...................................
Length: 212295824 (202M) [application/octet-stream]
Saving to: '/var/www/html/lab34/cache//A2024123052000.L1A_LAC.bz2'

0K .......... .......... .......... .......... .......... 0% 192K 17m58s
50K .......... .......... .......... .......... .......... 0% 132K 22m3s
......................
17500K .......... .......... .. 8% 109K=2m12s

2024-05-20 12:17:01 (133 KB/s) - Connection closed at byte 17942819. Giving up.

Re: download from oceandata.sci.gsfc.nasa.gov

Posted: Mon May 20, 2024 10:11 am America/New_York
by OB.DAAC-EDL - amscott
Hello! This may be hard to replicate without more information. Would you mind sharing your wget command?

Re: download from oceandata.sci.gsfc.nasa.gov

Posted: Mon May 20, 2024 7:37 pm America/New_York
by sergdkv
I use this commands (--limit-rate=200k has been added for simulates slow connection).

# clear cookies
echo -n >~/.urs_cookies;
# fill username and etc
echo 'machine urs.earthdata.nasa.gov login MYLOGIN password MYPASSWORD' >~/.netrc
chmod 0600 ~/.netrc

wget -4 --limit-rate=200k --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --auth-no-challenge=on --content-disposition https://oceandata.sci.gsfc.nasa.gov/ob/getfile/A2024123052000.L1A_LAC.bz2