[Bug] - River.from_imod5_data unacceptably slow for IBRAHYM iMOD5 test

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
python
領域
performance

調査の方向性

River.from_imod5_data と IBRAHYM iMOD5 テストから始め、その処理を、遅いものの完了する Drain パッケージの処理と比較します。関連する issue #1844 および #1821 を含め、タスクグラフの複雑さとレイヤー割り当てに関する仮説を調査します。River テストがハングしたり、許容できないほど遅いままになったりしなくなれば完了です。

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

説明

backwards_compatibility bug performance

Bug description
The IBRAHYM imod5 test hangs on calling River.from_imod5_data. The example has 37 timesteps for RIV and 37 layers, and need to go through quite some processing steps. There are 2 systems, which both need to be allocated to layers. Interesting is that the Drain package has 4 systems, 3 of which need to be allocated to layers and 37 layers as well. This one is slow, but not as unbearable as the River.

I have two hypotheses:

  1. The task graph becomes too complex for this package. This might be fixed in a similar manner as #1844. What speaks against this is that the input grids only contain one layer.
  2. Too many layers, caused by #1821. What speaks against this is that the data should not be even loaded into memory yet.
主要言語
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 を短くまとめたダイジェスト。