File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -243,19 +243,17 @@ def plot_head(head, workspace):
243243# recharge
244244recharge = np .repeat (np .expand_dims (LAYER_NODATA , axis = 0 ), repeats = nper , axis = 0 )
245245recharge [0 , ...] = 3.0e-8
246- # recharge[0, 0, 0] = 3.0e-7
247- # rch = flopy4.mf6.gwf.Rcha(irch=1, recharge=recharge.reshape(nper, -1), dims=dims)
248246rcha = flopy4 .mf6 .gwf .Rcha (recharge = recharge .reshape (nper , - 1 ), dims = dims )
249247
250248# remove list based inputs
249+ # TODO: show variations on removing packages
251250gwf .chd .remove (chd )
252- # del gwf.chd[0]
253251del gwf .drn [0 ]
254252del gwf .wel [0 ]
255253del gwf .rch [0 ]
256254
257255# add array based inputs
258- # gwf.chdg = [chdg]
256+ # TODO: needs type checking and list consolidation support (see comments in gwf init)
259257gwf .chd = [chdg ]
260258gwf .drng = [drng ]
261259gwf .welg = [welg ]
Original file line number Diff line number Diff line change @@ -97,9 +97,11 @@ def budget(self):
9797 oc : Oc | None = field (block = "packages" , default = None )
9898 npf : Npf | None = field (block = "packages" , default = None )
9999 sto : Sto | None = field (block = "packages" , default = None )
100+ # TODO: implement type check for all lists (and singletons?)
100101 chd : list [Chd ] = field (block = "packages" )
101102 chdg : list [Chdg ] = field (block = "packages" )
102- # chd: List[Union[Chd, Chdg]] = field(block="packages", factory=List)
103+ # TODO: consolidate all package flavors to single list
104+ # based on hydrologic feature
103105 # chd: List[Union[Chd, Chdg]] = field(block="packages")
104106 drn : list [Drn ] = field (block = "packages" )
105107 drng : list [Drng ] = field (block = "packages" )
You can’t perform that action at this time.
0 commit comments