file_search api seems broken

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
mcoyne
Posts: 10
Joined: Wed Aug 31, 2016 5:41 pm America/New_York
Answers: 0

file_search api seems broken

by mcoyne » Thu Nov 17, 2022 1:47 pm America/New_York

I just noticed that my scripts requesting checksums from the file_search api were returning no results. Looking at the output the file_search url appears to be returning "404 Not Found". I think it was working yesterday. I also checked the file search web page (https://oceandata.sci.gsfc.nasa.gov/api/file_search/) and that is not working either.

Thanks!

Michael
Attachments
Screen Shot 2022-11-17 at 1.43.32 PM.png
Screen Shot 2022-11-17 at 1.43.32 PM.png (112.95 KiB) Not viewed yet

Tags:

OB.DAAC - amscott
User Services
User Services
Posts: 345
Joined: Mon Jun 22, 2020 5:24 pm America/New_York
Answers: 1
Has thanked: 8 times
Been thanked: 3 times

Re: file_search api seems broken

by OB.DAAC - amscott » Thu Nov 17, 2022 2:01 pm America/New_York

What was your query please?

mcoyne
Posts: 10
Joined: Wed Aug 31, 2016 5:41 pm America/New_York
Answers: 0

Re: file_search api seems broken

by mcoyne » Thu Nov 17, 2022 2:57 pm America/New_York

There are several. None are working at the moment. Here is one example:

wget --no-check-certificate --post-data="dtype=L3m&addurl=0&results_as_file=1&search=*8D*SST.sst.4km.nc&cksum=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search

OB.DAAC - amscott
User Services
User Services
Posts: 345
Joined: Mon Jun 22, 2020 5:24 pm America/New_York
Answers: 1
Has thanked: 8 times
Been thanked: 3 times

Re: file_search api seems broken

by OB.DAAC - amscott » Thu Nov 17, 2022 4:03 pm America/New_York

Thank you for your example. An issue was corrected. Please give it another try and let us know if you are successful in retrieving your data.

dem1
Posts: 82
Joined: Mon Nov 28, 2005 4:49 am America/New_York
Answers: 0

Re: file_search api seems broken

by dem1 » Fri Nov 18, 2022 9:09 am America/New_York

Hi,

We observe the same pb, and we suspect that the API now returns an error if none product is found by the search, example:
this one fails because VIIRSN was down on this specific day and there is no products:

Code: Select all

wget --no-check-certificate --post-data="sensor=viirs&sdate=2022-08-01&edate=2022-08-01&dtype=L2&search=SNPP_VIIRS.*.L2.OC*.nc&std_only=1&cksum=1&results_as_file=1&format=txt" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search
but I think before the behavior was different: there was no error in this case and we just get an empty list.

On our side we scan new products 5 days per 5 days and since the recent changes we get errors for periods with no products.

Have a nice day,
Julien

mcoyne
Posts: 10
Joined: Wed Aug 31, 2016 5:41 pm America/New_York
Answers: 0

Re: file_search api seems broken

by mcoyne » Fri Nov 18, 2022 10:13 am America/New_York

Thank you. It does appear to be working again now.

dem1
Posts: 82
Joined: Mon Nov 28, 2005 4:49 am America/New_York
Answers: 0

Re: file_search api seems broken

by dem1 » Fri Nov 18, 2022 10:36 am America/New_York

On my side I still get the 404 error.

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1464
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 4 times

Re: file_search api seems broken

by OB.DAAC - SeanBailey » Fri Nov 18, 2022 11:11 am America/New_York

Julian,
It is two different issues. While both issues are related to changes we made, they are not the same. Michael's issue was resolved.

Sean

Post Reply