Search found 406 matches

by OB.DAAC-EDL - amscott
Tue May 26, 2020 1:43 pm America/New_York
Forum: Home
Question: wget redirection
Replies: 30

wget redirection

We just went through a troubleshooting session where the redirect issue was solved after the user deleted the old cookie file and was able to successfully execute the command with a new cookie file was generated. It is hopefully that simple for everyone else. Please give it a try.
by OB.DAAC-EDL - amscott
Thu Apr 30, 2020 11:58 am America/New_York
Forum: Home
Question: how to wget files in more than one folder
Replies: 11

how to wget files in more than one folder

The issue with your command is that the directory you are using is not the direct path to the files you want to retrieve. A 'year' directory sits between the two. If you use file search, this command gets you the URLS to the data which you can then download: wget -q --post-data="sensor=...
by OB.DAAC-EDL - amscott
Wed Feb 26, 2020 4:07 pm America/New_York
Forum: Home
Question: Wget constantly redirected
Replies: 16

Wget constantly redirected

We removed the recommendation to --keep-session-cookies in the data download examples. What happens if you "save" cookies during your session, but don't "keep" them after you exit the browser?
by OB.DAAC-EDL - amscott
Mon Feb 24, 2020 9:50 am America/New_York
Forum: Home
Question: Data Downloading Problem
Replies: 2

Data Downloading Problem

Dear Jane,

Your IP was indeed blocked. The block has been removed. Take care not to preform the same action that caused the block in order to prevent this issue from reoccurring.

Alicia
by OB.DAAC-EDL - amscott
Thu Feb 20, 2020 4:36 pm America/New_York
Forum: Home
Question: wget only downloading partial file
Replies: 18

wget only downloading partial file

Do I need ~/.netrc or hmod 600 ~/.netrc in my curl command? NOWith the curl command:curl https://oceandata.sci.gsfc.nasa.gov/ob/getfile/A2020046181000.L2_LAC.S3470.nc.Southeast.sst.png -b ~/.urs_cookies -c ~/.urs_cookies -L -n -o ~/www/saltwx.com/public_html/MODIS/sst/A2020046181000.L2_LAC.S3470.nc....
by OB.DAAC-EDL - amscott
Thu Feb 20, 2020 4:34 pm America/New_York
Forum: Home
Question: wget only downloading partial file
Replies: 18

wget only downloading partial file

wget -P ~/www/saltwx.com/public_html/MODIS/sst/ --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies --auth-no-challenge=on https://oceandata.sci.gsfc.nasa.gov/ob/getfile/A2020046181000.L2_LAC.S3470.nc.Southeast.sst.pngworks fine. You need to remove the quotes around th...
by OB.DAAC-EDL - amscott
Fri Jan 24, 2020 1:06 pm America/New_York
Forum: Home
Question: IP blocked
Replies: 1

IP blocked

Hi Andrew,

Your IP address has been unblocked. If it happens again, you can follow the instructions on this post to get it resolved: https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=6447

Alicia
by OB.DAAC-EDL - amscott
Wed Jan 22, 2020 12:27 pm America/New_York
Forum: Home
Question: opendap asleep?
Replies: 2

opendap asleep?

Ben,

Thanks for the notice. The server is back up.

Alicia
by OB.DAAC-EDL - amscott
Wed Jan 15, 2020 11:36 am America/New_York
Forum: Home
Question: wget EarthData Login does not work
Replies: 37

wget EarthData Login does not work

Hi, Currently, you need to use a curl command and a .netrc file to store your credentials. First go to "Options for passing credentials" under the cURL heading on the Data Download Methods page. Then use a command like: curl -O -b ~/.urs_cookies -c ~/.urs_cookies -L -n https://oceandata.sc...
by OB.DAAC-EDL - amscott
Thu Jun 27, 2019 2:17 pm America/New_York
Forum: Home
Question: Problem accessing subscription data
Replies: 2

Problem accessing subscription data

You had an old URL to the file_search utility.

Use wget --no-check-certificate --post-data="subID=244&results_as_file=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search  > c:\seadas\aqua\subfiles.tmp