microsoft / microsoft/PlanetaryComputerExamples
module 'pystac_client' has no attribute 'ItemCollection'
まだ誰も着手していません。
- 主要言語
- Jupyter Notebook
- スター
- 455
- フォーク
- 225
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue にリンクされている cloudless mosaic Sentinel-2 チュートリアルと、pystac_client.ItemCollection を含む notebook のセルから始めます。notebook の import とインストール済みパッケージの API を確認して、サポートされている ItemCollection のエントリーポイントを特定します。次に、stackstac の処理ステップまで例を再実行し、AttributeError が発生しなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook, python
- 領域
- data, documentation
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100