[FEATURE] - Add option to ``cleanup`` to write away grids where cleaning happened

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

メンテナーはふだん 2 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python
領域
data

調査の方向性

The payload names no files; the starting point is the cleanup function in imod-python, whose docstring lists what it cleans. Read how it modifies grids in place, then settle the open questions in the issue: where output goes, whether the option is a function argument or global configuration, and what values to record. Done means maintainers have agreed on that design and a follow-up change is scoped, since the issue itself is not yet a code task.

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

説明

enhancement

Right now the cleanup is a magic function with a good docstring of what it is supposed to clean, but it cleans inplace and it doesn't do any keeping of values that have been changed. This makes it still opaque to users what is actually happening.

After a discussion with @emorway-usgs at the Delft Software Days, we discussed that it would be nice to have the option to let iMOD Python write away some grids/tables with the location of cells that have been changed.

Questions to refine:

  • Where should the data be stored? Or should this be user configurable?
  • Should there be a flag somewhere as an argument, or should it be a global configuration somewhere?
  • What values are we going to write away? Differences? An integer code with that indicates what has changed?
  • We should preserve package and variable names in some way
主要言語
Python
スター
41
フォーク
12
平均マージ
2日 8時間
マージ済み PR(30日)
13

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

Deltares/imod-python のほかの issue

Deltares/imod-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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