Forum

Message Boards Message Boards

Back

Sentinel-3 OLCI API not working

Toggle
Sentinel-3 OLCI API not working
api olci
Answer
6 April 2023 9:52
If I search aSEN3 OLCI image i.e. S3B_OL_2_WFR____20230330T063001_20230330T063301_20230330T082519_0179_077_362_3240_MAR_O_NR_003.SEN3 by Product Identifier via UI (finder and explorer) I see the image of interest, and I can download it:
(https://finder.creodias.eu/resto/api/collections/Sentinel3/search.json?maxRecords=10&productIdentifier=%25S3B_OL_2_WFR____20230330T063001_20230330T063301_20230330T082519_0179_077_362_3240_MAR_O_NR_003.SEN3%25&sortParam=startDate&sortOrder=descending&status=all&dataset=ESA-DATASET)
If I search it using observed data, polygon of interest, collection, Instrument, processing level is not finding anything. This is the same via python API (both with finder and datahub API).
Is there something I am missing?
​I cannot understand why I receive different results. 
Please help me

0 (0 Votes)

RE: Sentinel-3 OLCI API not working
Answer
5 April 2023 3:06 as a reply to Beatrice Gottardi.
Did you use the "Platform" filter as well (to get results only for Sentinel-3A or Sentinel-3B when you used the explorer?

I noticed and reported that it does not work on some collections (at least  OL_2_WFR and SR_2_WAT) because the "platformSerialIdentifier" attribute does not seem to be set for the files that belong to these collections, so all the results are discarded when the "Platform" filter is used in the search query.

Setting all the filters except the "Platform" one actually yields results, but you get both S-3A and S-3B.
-1 (1 Vote)

RE: Sentinel-3 OLCI API not working
Answer
6 April 2023 9:53 as a reply to Sylvain Herlédan.
I tried again but I dont have that image as results of these filters observed data, polygon of interest, collection, Instrument, processing level.
I indeed need to find Sentinel-3 images inside ad aoi and doi, respecting this processing level 
OL_2_WFR.
I dont get any results, even if I know that in the area i am searching there is the image reported, i got zero answer from the api (and from GUI too)
Let me know if there is a workaround, please.
0 (0 Votes)

RE: Sentinel-3 OLCI API not working
Answer
6 April 2023 10:15 as a reply to Beatrice Gottardi.
Here is an example using https://explore.creodias.eu:



I did not use the "Instrument" (OLCI) or the "Processing level" (L2) filters because it is redundant with the "Product type" (OL_2_WFR), but it should work if you set them as well.


With these search parameters the image that you mentioned in your first message appears in the results:



Also notice the "Copy query" link on the bottom left of the first screenshot, it can help if you need examples to build API queries for your scripts.

In this case the query was:
1
https://datahub.creodias.eu/odata/v1/Products?$filter=((ContentDate/Start ge 2023-03-29T22:00:00.000Z and ContentDate/Start le 2023-03-30T21:59:59.999Z) and (Online eq true) and (OData.CSC.Intersects(Footprint=geography'SRID=4326;POLYGON ((22.957322 -15.228435, 23.950264 -45.602417, 69.029825 -44.621413, 68.235472 -14.652813, 22.957322 -15.228435))')) and (((((((Attributes/OData.CSC.StringAttribute/any(i0:i0/Name eq 'productType' and i0/Value eq 'OL_2_WFR___')))) and (((Attributes/OData.CSC.StringAttribute/any(i0:i0/Name eq 'timeliness' and i0/Value eq 'NR')))) and (Collection/Name eq 'SENTINEL-3'))))))&$expand=Attributes&$top=20
0 (0 Votes)