[FEATURE] - Automatically drop empty packages depending on the output of `drop_empty_layers_from_dict`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading drop_empty_layers_from_dict and the package validation path, then review the discussion in PR #1912 and issue #1821. Trace how LAYERS_USED determines whether a package contains data and how a package can remove itself from the model. Done means empty packages are dropped automatically without producing invalid zero-sized layer coordinates, and validation succeeds.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
Introduced and discussed here: https://github.com/Deltares/imod-python/pull/1912#issuecomment-5887915901
Describe the solution you'd like
Depending on the return value (a member of LAYERS_USED), a package with no data at all should be removed automatically. This was out of scope for the PR, and could be difficult since the package essentially has to remove itself from the model.
Describe alternatives you've considered
Just returning a grid with layer coord with size 0 doesnt work, as that fails during package validation: see this test run where that was tried:
Additional context
Raised as a potential improvement druing development of from https://github.com/Deltares/imod-python/issues/1821
- 主要言語
- Python
- スター
- 41
- フォーク
- 10
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Deltares/imod-python のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Deltares/imod-python#1940 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Deltares enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Deltares/imod-python#1843 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Deltares/imod-python#1684 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 半日 初心者へのやさしさ 50/100
Deltares/imod-python#1939 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] - Weekly user acceptance test broken because of some missing kotlin config対応中かも @JoerivanEngelen が 9 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 56/100
Deltares/imod-python#1934 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Deltares/imod-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
volcengine/OpenViking#6445 ·
メンテナーはふだん 1 日以内に返信
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be edited対応中かも @ManyaJain111 が今日担当しました。 オープンbug enhancement possible-duplicate
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
AOSSIE-Org/PictoPy#1637 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
deepspeedai/DeepSpeed#8884 ·
メンテナーはふだん 3 日以内に返信
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
flagos-ai/FlagQuantum#718 ·
メンテナーはふだん 1 日以内に返信
-
bug CI-failure high priority
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
vllm-project/afd-plugin#483 ·
メンテナーはふだん 1 日以内に返信