module 'pystac_client' has no attribute 'ItemCollection'
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- jupyter-notebook, python
- Domain
- data, documentation
Research direction
Start with the cloudless mosaic Sentinel-2 tutorial linked in the issue and the notebook cell containing pystac_client.ItemCollection. Check the notebook's imports and installed package APIs to identify the supported ItemCollection entry point, then rerun the example through the stackstac processing step and confirm the AttributeError is gone.
Written by the indexing model from the issue text.
Description
Hi
I run this example https://planetarycomputer.microsoft.com/docs/tutorials/cloudless-mosaic-sentinel2/
and i found following error:
AttributeError Traceback (most recent call last)
Cell In[23], line 1
----> 1 signed_items = pystac_client.ItemCollection([
2 planetary_computer.sign_assets(item) for item in items
3 ])
4 #print(signed_items)
5 data = (
6 stackstac.stack(
7 items,
(...)
13 .assign_coords(band=lambda x: x.common_name.rename("band")) # use common names
14 )
AttributeError: module 'pystac_client' has no attribute 'ItemCollection'
How to solve this problem?
- Dominant language
- Jupyter Notebook
- Stars
- 455
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/PlanetaryComputerExamples
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/PlanetaryComputerExamples#307 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/PlanetaryComputerExamples#303 · 5 comments ·
All issues in microsoft/PlanetaryComputerExamples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
removeToken
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cowprotocol/token-lists#1514 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
anomalyco/models.dev#7670 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cisagov/cyhy-reports#149 · 3 comments ·
-
correction metadata
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
acl-org/acl-anthology#10032 · 1 comment ·