microsoft / microsoft/PlanetaryComputerExamples
Question: landsat-c2-l2 scaling & NDVI
まだ誰も着手していません。
- 主要言語
- Jupyter Notebook
- スター
- 455
- フォーク
- 225
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
I was going through the landsat-c2-example.ipynb notebook and noticed that the NDVI is calculated directly from the red and nir08 bands as loaded via odc.stac - without applying the documented scale and offset.
My understanding of odc.stac is that it does not apply scaling by default, so the computation as in the example notebook seems to be using the raw integer DNs. Doesn't this bias the NDVI? Is there a specific reason why the example computes NDVI on the unscaled data - or have I misunderstood anything?
Thank you for providing and maintaining these examples, they've been super helpful for getting familiar with MPC!
Best
Maike
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
datasets/landsat-c2/landsat-c2-example.ipynb を開き、NDVI の計算前に odc.stac が red バンドと nir08 バンドをどのように読み込むか確認してください。その計算を文書化されているスケールとオフセットと比較し、現在の動作の理由を明らかにするか、ノートブックの NDVI 計算が正しくなるように例を更新してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook
- 領域
- data
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100