file_search api seems broken
file_search api seems broken
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
Thanks!
Michael
- Attachments
-
- Screen Shot 2022-11-17 at 1.43.32 PM.png (112.95 KiB) Not viewed yet
Filters:
-
- Posts: 395
- Joined: Mon Jun 22, 2020 5:24 pm America/New_York
- Has thanked: 8 times
- Been thanked: 8 times
Re: file_search api seems broken
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
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
-
- Posts: 395
- Joined: Mon Jun 22, 2020 5:24 pm America/New_York
- Has thanked: 8 times
- Been thanked: 8 times
Re: file_search api seems broken
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.
Re: file_search api seems broken
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:
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
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
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
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Re: file_search api seems broken
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
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