Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to query data_coverage #40

Open
fahadjahangir opened this issue May 2, 2024 · 0 comments
Open

not able to query data_coverage #40

fahadjahangir opened this issue May 2, 2024 · 0 comments

Comments

@fahadjahangir
Copy link

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" }, ] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant