Element84 / earth-search

Earth Search information and issue tracking
https://earth-search.aws.element84.com/v1
27 stars 2 forks source link

not able to query data_coverage #40

Open fahadjahangir opened 3 months ago

fahadjahangir commented 3 months ago

in v0 'https://earth-search.aws.element84.com/v0/search' I was able to query 'data_coverage' using

'properties.sentinel:data_coverage'

but in v1 'https://earth-search.aws.element84.com/v1/search' it is not working, has it been changed or removed?

following is the code I am using to construct payload:

payload = { "collections": ['sentinel-2-l2a'], "datetime": '2020-10-01T00:00:00Z/2024-04-01T00:00:00Z', "intersects": { "type": "Polygon", "coordinates": [ [ [bounds[0], bounds[1]], [bounds[2], bounds[1]], [bounds[2], bounds[3]], [bounds[0], bounds[3]], [bounds[0], bounds[1]] ] ] }, "fields": { 'include': ['id', 'properties.datetime', 'properties.eo:cloud_cover', 'properties.sentinel:data_coverage', ], }, "sortby": [ { "field": 'properties.datetime', "direction": "asc" }, ] }