How to load a single mf6 package not associated with a model #1913
Replies: 3 comments 2 replies
-
I have wondered about this too in the past! |
Beta Was this translation helpful? Give feedback.
-
You can use sim = MFSimulation.load(
"my_sim", sim_ws="/path/to/my/ws", load_only=["ic", "maw"]
) Then retrieve the package from its parent model as usual. There is currently no way to specify a subset of models, only packages, to my knowledge. For usage examples see flopy/autotest/regression/test_mf6.py Line 4391 in ed3a0cd I don't see this documented anywhere besides the release notes, it would be good to though as it seems a common use case |
Beta Was this translation helpful? Give feedback.
-
I apologize for hijacking this thread, but I have a related question. When loading one package, is there a way to not load the time series file? Specifically, I want to load the RIV package to update the conductance values, and the stage time series are stored in a separate time series file. The RIV table is loaded quickly but it takes forever to load the time series in my case. |
Beta Was this translation helpful? Give feedback.
-
I have MF6 simulation with several models using the gwf-gwf exchange. I just want to load a single package from one model. Loading the whole simulation is very slow. Can I do this?
I am thinking a potential process might be to make a empty "dummy" model and just load the package to that? However I cannot find a method to load an existing package file.
Beta Was this translation helpful? Give feedback.
All reactions