Skip to content

Commit 98809b4

Browse files
authored
Fix for Pystac ItemCollections (#69)
1 parent d751f2f commit 98809b4

File tree

5 files changed

+1182
-1000
lines changed

5 files changed

+1182
-1000
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ For more information and examples, please [see the documentation](https://stacks
88

99
```python
1010
import stackstac
11-
import satsearch
11+
import pystac_client
1212

13-
stac_items = satsearch.Search(
14-
url="https://earth-search.aws.element84.com/v0",
13+
URL = "https://earth-search.aws.element84.com/v0"
14+
catalog = pystac_client.Client.open(URL)
15+
16+
stac_items = catalog.Search(
1517
intersects=dict(type="Point", coordinates=[-105.78, 35.79]),
1618
collections=["sentinel-s2-l2a-cogs"],
1719
datetime="2020-04-01/2020-05-01"

0 commit comments

Comments
 (0)