[FEATURE] - Modflow6Simulation.split: warn on spatially unchunked input

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

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

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

評価

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

調査の方向性

Modflow6Simulation.split と dump メソッドから始め、関連する issue #1686 を読んでください。構造化入力と非構造化入力をどのように区別するのか、順序をどのように表現するのか、また望ましい結果が警告、自動的なチャンク分割、並べ替えのいずれなのかを明確にしてください。実装前に動作と文言について合意されていれば完了です。

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

説明

enhancement

Related to #1686: it may be worthwhile to detect if the model to split is unchunked. As mentioned in the PR, this will lead to massive IO waste when writing the parallel partitions. I'm not sure on how best to word this.

There is also the distinction between structured and unstsructured inputs. A structured model can be trivially chunked along x and y. To solve the partition-related overhead, it would be sufficient to set the relevant encoding in a dump method.

This isn't the case for the unstructured case, where the internal topology ordering is essential. We could define a reorder method on the model, but it feels a bit messy to me. For structured data, I guess it would be a no-op. Perhaps a pragmatic solution is to allow it to be called internally (as an xugrid method) in the dump method: if the data is unstructured and not already ordered, then it ordered automatically before being written to Zarr or netCDF chunks.

主要言語
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 を短くまとめたダイジェスト。