Why `expand_transient_auxiliary_variables`
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず expand_transient_auxiliary_variables 関数とその docstring を読み、次にデータセットの処理とファイル書き込みの際にどこで呼び出されるかを追跡します。濃度や塩分などの補助変数がどのように表現されているか、また writer が展開された DataArrays に依存しているかを確認します。目的と複製の動作が解決され、更新が予期せず乖離することのない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm having trouble seeing the use of expand_transient_auxiliary_variables as a function. I don't like what it's doing either: it's duplicating data in the Datasets.
Also note that the docstring is totally unhelpful in telling me why this is required:
def expand_transient_auxiliary_variables(package: IPackage) -> None:
"""
Splits an auxiliary dataarray of the kind that could potentially be
time-dependent (with one or more auxiliary variable dimension) into
dataarrays per auxiliary variable dimension. For example a concentration
auxiliary variable in a flow package will have a species dimension, and will
be split in several dataarrays- one for each species.
"""
The only thing I can imagine is that it might simplify the file writing, since those methods generally take a DataArray too? Or something?
Anyway, the duplication of data is in my view such a bad choice that it's worth having a slightly more complicated writer. A user may update either concentration or salinity and get unexpected results. This is unacceptable.
- 主要言語
- 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 日以内に返信