Created
November 4, 2020 22:41
-
-
Save cbeddow/73d2ef699810d6ac7cce13a04df500c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from stac_interact import get_collection_ids, get_item_dict, get_items_within | |
# desired collection ID | |
collection = 'sentinel-s2-l2a' | |
# get first item in desired collections | |
data = get_item_dict(collection) | |
assets = data['assets'] | |
keys = assets.keys() | |
for key in keys: | |
print(assets[key]['href']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment