We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running a pystac query as follows includes duplicate products:
def pystac_query(collection, max_items, time_range, lon, lat, max_cloud): client = Client.open("https://earth-search.aws.element84.com/v1") query = client.search( max_items=max_items, collections=[collection], query={"eo:cloud_cover": {"lt": max_cloud}}, datetime = time_range, intersects=dict(type="Point", coordinates=[lon, lat]), ) items = query.item_collection() return query, items lat = 31.731557 lon = -102.042006 query, items = pystac_query("sentinel-2-l2a'", 100, "2020-01-01/2020-08-01", lon, lat, 30)
I do not want to download the duplicate items. What is the best way to remove them from the query, or from the item_collection? Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running a pystac query as follows includes duplicate products:
I do not want to download the duplicate items. What is the best way to remove them from the query, or from the item_collection? Thank you.
The text was updated successfully, but these errors were encountered: