Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(get_transmissivities): support mf6 models#2611

Merged
wpbonelli merged 4 commits into
modflowpy:developfrom
wpbonelli:fix-2170
Sep 29, 2025
Merged

fix(get_transmissivities): support mf6 models#2611
wpbonelli merged 4 commits into
modflowpy:developfrom
wpbonelli:fix-2170

Conversation

@wpbonelli

@wpbonelli wpbonelli commented Sep 25, 2025

Copy link
Copy Markdown
Member

Fix #2170, support mf6 models with dis and disv grids, no disu yet

@wpbonelli wpbonelli added the bug label Sep 25, 2025
@codecov

codecov Bot commented Sep 25, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.5%. Comparing base (556c088) to head (8f2dcce).
⚠️ Report is 56 commits behind head on develop.

Files with missing lines Patch % Lines
flopy/utils/postprocessing.py 75.0% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2611      +/-   ##
===========================================
+ Coverage     55.5%    72.5%   +17.0%     
===========================================
  Files          644      667      +23     
  Lines       124135   128990    +4855     
===========================================
+ Hits         68947    93618   +24671     
+ Misses       55188    35372   -19816     
Files with missing lines Coverage Δ
flopy/utils/postprocessing.py 78.1% <75.0%> (+0.5%) ⬆️

... and 555 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wpbonelli wpbonelli marked this pull request as ready for review September 25, 2025 16:49
@wpbonelli wpbonelli added this to the 3.9.4 milestone Sep 25, 2025
@wpbonelli wpbonelli force-pushed the fix-2170 branch 2 times, most recently from 2d178d2 to 9714a74 Compare September 28, 2025 18:06
@wpbonelli wpbonelli merged commit acf575b into modflowpy:develop Sep 29, 2025
20 checks passed
@wpbonelli wpbonelli deleted the fix-2170 branch September 29, 2025 17:37
wpbonelli added a commit that referenced this pull request Jan 24, 2026
Follow up on #2611 to support DISU. Closes #2170.

Plus forward-looking refactoring in case we add more grid types before 4.x comes out. Rather than conditionals everywhere to access/modify grid properties differently based on the grid type, add an adapter exposing what's needed consistently. This is necessary because grid properties may have different shapes depending on the grid type. In 4.x this can be avoided by design I think. But for now this makes the essence of the transmissivities calculation clearer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: get_transmissivities() does not work with MODFLOW 6 models

2 participants