Reputation: 61
I am using FloPy to load an existing MODFLOW-NWT model. The UPW package relies on external files for hydraulic properties. I noticed that the UPW cannot be loaded with the regular loading command.
mf_old_nwt = flopy.modflow.Modflow.load('oakey03_tr.nam',
model_ws=loadpth,
version=version,
exe_name=exe_name,
load_only=['UPW'])
I also tried to load the UPW separately, it still doesn't work. I cannot find an example for this in the repository.
upw_old = flopy.modflow.ModflowUpw.load(file_upw, mf_old_nwt, ext_unit_dict=ext_unit)
Upvotes: 0
Views: 318
Reputation: 76
I bet you need to load the DIS with UPW - the UPW load may need DIS info.
Upvotes: 2