Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(specified flux boundaries): implement general specified flux perimeter boundary #45

Merged
merged 9 commits into from
May 3, 2022

Conversation

aleaf
Copy link
Collaborator

@aleaf aleaf commented May 3, 2022

  • Implement general specified flux boundaries in the same workflow/structure as specified head.
  • implement general basic stress package support for MODFLOW-NWT models; generalize _setup_basic_stress_package method and move to MFsetupMixin class

implements #25
addresses #15

  * refactor MF6model.setup_wel to follow same structure as other basic stress packages (use the _setup_basic_stress_package fn, which combines perimeter boundaries with user input and for the Well Package, potential input from a parent model)
  * implement general basic stress package support for MODFLOW-NWT models
  * move _setup_basic_stress_package to MFsetupMixin to use same workflow for both MODFLOW versions
  * TODO: get MODFLOW-NWT well package setup tests to pass; either adapt or remove any old tests related to specified flux boundaries
  * add specified flux perimeter boundary to the config file gallery for a working example
  * remove old Tmr class from tmr.py and any other kruft
  * update docs, including limitation that specified flux models must be co-linear
…MODFLOW-NWT models; generalize _setup_basic_stress_package method and move to MFsetupMixin class
…imeter boundary; add to Shellmound TMR example
@codecov-commenter
Copy link

codecov-commenter commented May 3, 2022

Codecov Report

Merging #45 (898aeab) into develop (8ce5349) will increase coverage by 3.01%.
The diff coverage is 83.33%.

@@             Coverage Diff             @@
##           develop      #45      +/-   ##
===========================================
+ Coverage    86.37%   89.38%   +3.01%     
===========================================
  Files           64       64              
  Lines        12514    11769     -745     
===========================================
- Hits         10809    10520     -289     
+ Misses        1705     1249     -456     
Impacted Files Coverage Δ
mfsetup/fileio.py 86.24% <ø> (+5.32%) ⬆️
mfsetup/tests/test_get_data_from_parent.py 73.33% <0.00%> (ø)
mfsetup/tests/test_wateruse.py 58.51% <0.00%> (ø)
mfsetup/tests/test_mf6_tmr_shellmound.py 62.44% <25.00%> (-7.17%) ⬇️
mfsetup/mfnwtmodel.py 92.22% <84.61%> (-1.39%) ⬇️
mfsetup/bcs.py 90.32% <89.47%> (+4.02%) ⬆️
mfsetup/wells.py 85.34% <92.85%> (+0.09%) ⬆️
mfsetup/mfmodel.py 90.69% <97.26%> (+0.37%) ⬆️
mfsetup/mf6model.py 97.57% <100.00%> (+4.14%) ⬆️
mfsetup/model_version.py 64.40% <100.00%> (+12.79%) ⬆️
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ce5349...898aeab. Read the comment docs.

aleaf added 4 commits May 3, 2022 11:59
* remove old ad-hoc methods for setting up basic stress boundaries
* remove old Tmr class and associated tests
…sions between lake and sfr packages; refactor: some more kruft removal aimed at boosting test coverage
@aleaf aleaf merged commit 2ba2159 into DOI-USGS:develop May 3, 2022
@aleaf aleaf deleted the feature_gen_perimeter branch July 5, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants