developmentseed / developmentseed/lazycogs

Integration with `pystac_client`

Open
#42 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
52
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi all, this looks really fantastic! I'd love to try this out, but I'm unfortunately being blocked by `rustac` issues:
```
14 # Search a STAC API and cache results to a local stac-geoparquet file.
---> 15 await rustac.search_to(
16 "items.parquet",
17 "https://explorer.dea.ga.gov.au/stac",
18 collections=["ga_s2ls_intertidal_cyear_3"],

RustacError: builder error
```

Is it possible to run `lazycogs` directly on the list of items returned by `pystac_client` instead? For example, the output of something like this:
```
client = pystac_client.Client.open("https://explorer.dea.ga.gov.au/stac")

search = client.search(
collections=["ga_ls8c_ard_3"],
bbox=[150.15, -35.75, 150.25, -35.65],
datetime="2023-01-01/2023-01-31",
)

# Retrieve all matched items as a pystac.ItemCollection
items = search.item_collection()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.