[Bug] - MetaSWAP area computed differently from iMOD5

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

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

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

評価

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

調査の方向性

まず MetaSWAP の領域計算を見つけ、説明されている iMOD5 の 3 つのケース、つまり wetter-area のしきい値、セルの面積からの減算、wetter-area が 100% のセルについて、その動作を比較します。これらのケースで計算された面積と SVAT の配置が iMOD5 と一致すれば完了です。issue にはファイルやテストの場所は指定されていません。

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

説明

backwards_compatibility bug

Bug description

@Ydrolog just discovered the following differences between iMOD5 and iMOD Python.

  1. A second SVAT is placed whenever urban area > 0, but iMOD5 additionally filters cells with a wetter_area snmaller than ~20%
  2. iMOD5 is subtracting the wetter area from the area from the cell. iMOD Python attempts to do this as well, but doesn't seem to do this correctly. In his case it resulted in com[uted areas ranging from 625 to ~621.2 instead of 625 to 0 (for 25m cells).
  3. iMOD5 excludes cell with 100% wetter area, whereas iMOD Python includes it
主要言語
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 を短くまとめたダイジェスト。