Does "https://oceandata.sci.gsfc.nasa.gov/api/file_search" work?

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
jecoerwrs
Posts: 1
Joined: Fri Mar 20, 2015 6:55 am America/New_York
Answers: 0

Does "https://oceandata.sci.gsfc.nasa.gov/api/file_search" work?

by jecoerwrs » Wed Oct 25, 2017 9:27 pm America/New_York

Hi.

My 1st language is not English. So I want you to understand what I say.

Bulk Download Url  is changed slightly. I don't know when changed.
(before : https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi )
(now : https://oceandata.sci.gsfc.nasa.gov/api/file_search )
Anyone does it work?
Interactive command, I mean in web site, is working. Site showed nc file list exactly.
But when I used wget, didn't work.
Even I tested example in web site(https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=12520), but doesn't work.
Only showed error  message "No URLs found in -.".
Expaple is [wget -q --post-data="sensor=octs&sdate=1996-11-01&edate=1997-01-01&dtype=L3b&addurl=1&results_as_file=1&search=*DAY_CHL*" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search |wget -i -].
Anyone help me?

Thanks

Filters:

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

Does "https://oceandata.sci.gsfc.nasa.gov/api/file_search" work?

by gnwiii » Thu Oct 26, 2017 8:15 am America/New_York

The error indicates the search didn't produce any output -- could be just an internet glitch or a problem at NASA.  It could help if you mention the OS and wget versions so someone with the same configuration can try the command.

wget -q --post-data="sensor=octs&sdate=1996-11-01&edate=1997-01-01&dtype=L3b&addurl=1&results_as_file=1&search=*DAY_CHL*" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search works for me (macOS El Capitan, GNU Wget 1.19.1 built on darwin15.6.0. and also on fedora 26, GNU Wget 1.19.1 built on linux-gnu). 

Try again without the -q to see if there is some more helpful output.

Post Reply