Skip to content

set OC to save only specific layers #2104

Answered by dbrakenhoff
RdWitte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @RdWitte,

This is unfortunately possible in the OC package. From the MF6 input/output guide:

For the PRINT and SAVE options of heads, there is no longer an option to specify individual layers. Whenever one
of these arrays is printed or saved, all layers are printed or saved

So the text must be "HEAD" and cannot contain any layer information.

A workaround could be to create an Observations package that saves the heads for the cells of the layers you are interested in. For more information see the section on "Observation (OBS) Utility". This observation package can be added to your model with flopy.mf6.ModflowUtlobs. This example in the flopy docs also shows how to create one of these …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RdWitte
Comment options

Answer selected by RdWitte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants