Skip to content

Commit f08d8e8

Browse files
authored
Add missing RIV support to modflowapi (#16)
* 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
1 parent a8e241d commit f08d8e8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

modflowapi/extensions/apimodel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def __init__(self, mf6, name):
161161
"ic": ArrayPackage,
162162
"npf": ArrayPackage,
163163
"rch": ListPackage,
164+
"riv": ListPackage,
164165
"sto": ArrayPackage,
165166
"wel": ListPackage,
166167
# gwt

modflowapi/extensions/pakbase.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@
7272
"auxname_cst",
7373
"auxvar",
7474
],
75+
"riv": [
76+
"maxbound",
77+
"nbound",
78+
"nodelist",
79+
("bound", ("stage", "cond", "rbot")),
80+
"naux",
81+
"auxname_cst",
82+
"auxvar",
83+
],
7584
"sto": ["iconvert", "ss", "sy"],
7685
"wel": [
7786
"maxbound",

0 commit comments

Comments
 (0)