Skip to content

Commit 7c06c9e

Browse files
committed
Switch examples back to satsearch
Until stac-utils/pystac#546 is resolved, pystac is very painful to use, so I'd rather not have it be the lead example. Partially Revert "Fix for Pystac ItemCollections (#69)" This reverts commit 98809b4.
1 parent e5c7e0f commit 7c06c9e

File tree

2 files changed

+170
-255
lines changed

2 files changed

+170
-255
lines changed

README.md

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

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

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

0 commit comments

Comments
 (0)