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

Support `CONTINUE` option in `Modflow6Simulation`

オープン 初心者向け
#1,843 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
backend

調査の方向性

Modflow6Simulation のエントリーポイントから開始し、mfsim.nam を生成する writer をたどって、シミュレーションレベルの OPTIONS がどのように表現されているかに注目します。要求されたコンストラクターオプションを通じて CONTINUE を設定できるようにし、その後 simulation.write(...) がそれを name file に出力し、オプションが有効化されていない場合には存在しないことを確認します。

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

説明

enhancement good first issue
Description

The MODFLOW 6 simulation name file (mfsim.nam) supports a CONTINUE option in its OPTIONS block. When set, MODFLOW 6 will continue the simulation even if the solver does not converge, instead of stopping with an error.

Currently, imod-python does not expose this option when writing mfsim.nam via Modflow6Simulation. As a workaround, users have to manually patch the written mfsim.nam file after calling simulation.write(...).

Requested behaviour

Allow setting CONTINUE on the simulation level, for example:

simulation = imod.mf6.Modflow6Simulation("example", continue_on_nonconvergence=True)

Additional context
Continue will be supported in iMOD-coupler via https://github.com/Deltares/imod_coupler/pull/479, currently the testmodel need to be updated manually.

主要言語
Python
スター
41
フォーク
11
平均マージ
3日 3時間
マージ済み PR(30日)
7

環境構築

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

はじめの一歩

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

Deltares/imod-python のほかの issue

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

似ている issue

Python の issue をもっと見る

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

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