Skip to content

Commit

Permalink
Switch examples back to satsearch
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gjoseph92 committed Oct 28, 2021
1 parent e5c7e0f commit 7c06c9e
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 255 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ For more information and examples, please [see the documentation](https://stacks

```python
import stackstac
import pystac_client
import satsearch

URL = "https://earth-search.aws.element84.com/v0"
catalog = pystac_client.Client.open(URL)

stac_items = catalog.Search(
stac_items = satsearch.Search(
url="https://earth-search.aws.element84.com/v0",
intersects=dict(type="Point", coordinates=[-105.78, 35.79]),
collections=["sentinel-s2-l2a-cogs"],
datetime="2020-04-01/2020-05-01"
Expand Down
Loading

0 comments on commit 7c06c9e

Please sign in to comment.