Closed sbrunato closed 1 year ago
Update CSW plugin (see if #94 is needed) and finalize wekeo provider integration
Currently, search with wekeo is implemented with the CSW search plugin.
Some research has shown that:
Wekeo's search plugin won't rely on the CSW plugin anymore (which will still stay around), it will instead rely on the HDA API.
By the use of HDA API , in particular the querymetadata, you can see the list of parameters to use for product request. After that no metadata on a product instance is given due to the fact that this interface has for objective to standardize the request and some metadata are not available on all products (ie. CMEMS or Land)
For example, the only metada available for a given S1_SAR_GRD
product is:
{
"downloadUri": null,
"filename": "S1B_IW_RAW__0SDV_20200110T174650_20200110T174723_019758_0255B5_F9FC.SAFE",
"order": null,
"productInfo": {
"datasetId": "EO:ESA:DAT:SENTINEL-1:SAR",
"product": "S1B_IW_RAW__0SDV_20200110T174650_20200110T174723_019758_0255B5_F9FC.SAFE",
"productEndDate": "2020-01-10T17:47:23.200000Z",
"productStartDate": "2020-01-10T17:46:50.800000Z"
},
"size": 1672255055,
"url": "040ff724-6884-5366-ac68-eb96a78d2c4f/S1B_IW_RAW__0SDV_20200110T174650_20200110T174723_019758_0255B5_F9FC.SAFE"
},
Some other examples, tried using both https://github.com/ecmwf/hda and https://wekeo-broker.apps.mercator.dpi.wekeo.eu/databroker/ui/ (same result):
{'downloadUri': None,
'filename': 'S3B_SR_1_SRA_A__20200703T140134_20200703T145203_20200729T051430_3029_040_352______MAR_O_NT_004',
'order': None,
'productInfo': {'datasetId': 'EO:EUM:DAT:SENTINEL-3:SR_1_SRA___',
'product': 'S3B_SR_1_SRA_A__20200703T140134_20200703T145203_20200729T051430_3029_040_352______MAR_O_NT_004',
'productEndDate': '2020-07-03T14:52:03.163000Z',
'productStartDate': '2020-07-03T14:01:33.595000Z'},
'size': 2469606195,
'url': '5f9a904e-f130-43a1-9958-ecb1d7774701/S3B_SR_1_SRA_A__20200703T140134_20200703T145203_20200729T051430_3029_040_352______MAR_O_NT_004'}
{'downloadUri': None,
'filename': 'c_gls_LAI300-RT0_202104200000_GLOBE_OLCI_V1.1.1.nc',
'order': None,
'productInfo': {'datasetId': 'EO:CLMS:DAT:CGLS_GLOBAL_LAI300_V1_333M',
'product': 'c_gls_LAI300-RT0_202104200000_GLOBE_OLCI_V1.1.1.nc',
'productEndDate': '2021-04-20T00:00:00Z',
'productStartDate': '2021-04-20T00:00:00Z'},
'size': 1267728384,
'url': 'Vegetation/Properties/LAI_300m_V1/2021/04/20/LAI300-RT0_202104200000_GLOBE_OLCI_V1.1.1/c_gls_LAI300-RT0_202104200000_GLOBE_OLCI_V1.1.1.nc'}
Original report by Oyono (Bitbucket: aoyono, GitHub: aoyono).
https://www.wekeo.eu/