module 'pystac_client' has no attribute 'ItemCollection'
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 38/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- jupyter-notebook, python
- 領域
- data, documentation
研究方向
從 issue 中連結的 cloudless mosaic Sentinel-2 教學,以及包含 pystac_client.ItemCollection 的 notebook 儲存格開始。檢查 notebook 的 imports 和已安裝套件的 API,以識別受支援的 ItemCollection 入口點,然後重新執行範例直到 stackstac 處理步驟,並確認 AttributeError 已消失。
由索引模型根據 Issue 內容生成。
描述
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?
- 主要語言
- Jupyter Notebook
- 星號
- 455
- 分支
- 225
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/PlanetaryComputerExamples 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 68/100
-
難度 3/5 1-2 天 新手友好度 35/100
-
難度 5/5 一週以上 新手友好度 35/100
-
難度 4/5 3-5 天 新手友好度 30/100
microsoft/PlanetaryComputerExamples#307 · 4 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
microsoft/PlanetaryComputerExamples#303 · 5 則留言 ·
查看 microsoft/PlanetaryComputerExamples 的全部 Issue
相似的 Issue
-
bug needs triage p2
難度 2/5 1-3 小時 新手友好度 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 90/100
-
correction metadata
難度 1/5 1 小時以內 新手友好度 72/100
acl-org/acl-anthology#10025 · 1 則留言 ·
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 76/100