Skip to content

Commit

Permalink
Add missing RIV support to modflowapi (#16)
Browse files Browse the repository at this point in the history
* add(test_rhs_hcof_advanced): add additional test
* added test for getting and setting rhs, hcof, and advanced variable values
* update project to use unix line separators
* use np.testing.assert_allclose() instead of AssertionError
* Add missing riv package to modflowapi
  • Loading branch information
jlarsen-usgs authored Apr 19, 2023
1 parent a8e241d commit f08d8e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions modflowapi/extensions/apimodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def __init__(self, mf6, name):
"ic": ArrayPackage,
"npf": ArrayPackage,
"rch": ListPackage,
"riv": ListPackage,
"sto": ArrayPackage,
"wel": ListPackage,
# gwt
Expand Down
9 changes: 9 additions & 0 deletions modflowapi/extensions/pakbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
"auxname_cst",
"auxvar",
],
"riv": [
"maxbound",
"nbound",
"nodelist",
("bound", ("stage", "cond", "rbot")),
"naux",
"auxname_cst",
"auxvar",
],
"sto": ["iconvert", "ss", "sy"],
"wel": [
"maxbound",
Expand Down

0 comments on commit f08d8e8

Please sign in to comment.