HFB writing is very slow when read from dump.toml
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 57/100
Hướng nghiên cứu
Start by running the attached test_hfb_rewriting.py example with imod 1.1.0 and compare HFB write times for a freshly created model and one reloaded with Modflow6Simulation.from_file(). Trace how the HFB package is loaded from dump.toml and written by simulation.write(); the issue is resolved when writing the reloaded model no longer slows progressively with larger models.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Dear developers,
I am creating a model including a hfb-package > saving that using simulation.dump() >opening that dump later via the imod.mf6.Modflow6Simulation.from_file() function > changing a package > rewriting the model to modflow files using simulation.write().
In this writing (when loaded from dump) statements, the writing is very slow on the hfb package. There is no issue when writing/dumping it directly when creating the model, only after loading from dump toml. The issue seems to get progressively worse for larger models. I tried computing the reloaded hfb before writing, but that did not seem to change it.
Attached is a small working example.
Running on imod 1.1.0.
Teun
- Ngôn ngữ chính
- Python
- Star
- 41
- Fork
- 12
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Deltares/imod-python
-
backwards_compatibility enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Deltares/imod-python#1963 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Deltares
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Deltares/imod-python#1950 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Deltares enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Deltares/imod-python#1843 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Deltares/imod-python#1684 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Bugs found in a code review of master (6f0ec0bc)Có thể đã có người làm @JoerivanEngelen đã nhận 8 ngày trước. Đang mở
Deltares/imod-python#1980 · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của Deltares/imod-python
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày