Skip to content

Commit

Permalink
Fix for Pystac ItemCollections (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq authored Aug 30, 2021
1 parent d751f2f commit 98809b4
Show file tree
Hide file tree
Showing 5 changed files with 1,182 additions and 1,000 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ For more information and examples, please [see the documentation](https://stacks

```python
import stackstac
import satsearch
import pystac_client

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

stac_items = catalog.Search(

This comment has been minimized.

Copy link
@julianblue

julianblue Aug 31, 2021

@scottyhq , doesn't the method need to be in lowercase, as in catalog.search() ? Also should .items() be exchanged for .get_all_items() ? I am using the latest pystac_client release. Not sure if I am missing something. Thanks for the great changes anyways.

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 98809b4

Please sign in to comment.