[FEATURE] - Enforce descending y-coords
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、出力次元の順序を強制する既存のデコレータと、mf6 モジュールですでに使用されている入力検証を確認します。グリッドユーティリティでデコレータを使って y 座標が降順になることを強制するか、昇順の座標を拒否するかを決定し、グリッドの入力と出力、および期待される動作を網羅するテストを定義します。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
We quietly assume y-coords of structred grids are in descending order, but we often do not check this. Especially not for utility functions. Given that xarray has a tendency to flip coordinates into ascending order, y-coords often end up ascending. This can result into trouble such as in #825.
One way to deal with this is to create a decorator which forces descending y-coordinates for grid input and output of a function/method, similarly how we have a decorator to enforce the dim order of the output of a function/method.
An alternative would be input validation and presenting an error if y is not descending. This is already the case for the mf6 module, but I think expanding that to utility functions might be too strict and will frustrate user experience.
- 主要言語
- Python
- スター
- 41
- フォーク
- 12
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Deltares/imod-python のほかの issue
-
backwards_compatibility enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
Deltares/imod-python#1963 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
bug Deltares
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Deltares/imod-python#1950 ·
メンテナーはふだん 2 日以内に返信
-
Deltares enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Deltares/imod-python#1843 ·
メンテナーはふだん 2 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Deltares/imod-python#1684 ·
メンテナーはふだん 2 日以内に返信
-
Bugs found in a code review of master (6f0ec0bc)対応中かも @JoerivanEngelen が 9 日前に担当しました。 オープン
Deltares/imod-python#1980 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
Deltares/imod-python の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信