Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

pre-validate band math tool entries

オープン
#893 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

The issue points to the band_math tool; start there and trace how its entries are handled when an order is created. Use the supplied invalid b2 example as the failing case, and verify that the error is reported before the order runs rather than after several minutes.

索引モデルが issue の本文から書いたものです。

説明

orders api proposal

Is your feature request related to a problem? Please describe.

Creating an order with invalid band math entries results in the order being run for several minutes before the order finally fails. There is no pre-validation.

Describe the solution you'd like

Pre-validate band math entries before an order is run. This would likely happen in the band_math tool itself.

Describe alternatives you've considered

Additional context
Here's an order request with an invalid band math entry for b2.

{
  "name": "name",
  "products": [
    {
      "item_ids": [
        "20230322_161237_04_24ca"
      ],
      "item_type": "PSScene",
      "product_bundle": "analytic_udm2"
    }
  ],
  "tools": [
    {
      "bandmath": {
        "b1": "2*b1",
        "b2": "3*before",
        "pixel_type": "Auto"
      }
    }
  ]
}
主要言語
Python
スター
300
フォーク
99
平均マージ
9日 22時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

planetlabs/planet-client-python のほかの issue

planetlabs/planet-client-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。