does model check support MF6? #1754
-
Hi there. Thus I'd like to perform a model check. m = fp.modflow.Modflow.load('{mymodelname}.nam')
m.check() However, it returns ValueError: line number 2 has fewer than 3 items: BEGIN options I tried to also appy the m.check with a tutorial model file. it returns same error. Thus I came here to confirm if the .check() supports mf6? Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Flopy supports running check on a MF6 simulation. It looks like you are using an example that loads a MF2005 model. Loading and checking an MF6 simulation looks something like this:
Where sim_ws is the path to the folder that contains the simulation nam file. Note that the example notebooks that are specific to MF6 start with "flopy3_mf6". While some of the other notebooks include MF6 examples (plotting), most of the MF6 example code can be found in the "flopy3_mf6" notebooks. Offhand I am not sure if there is a notebook with an example of check for MF6, but the code above should work. |
Beta Was this translation helpful? Give feedback.
Flopy supports running check on a MF6 simulation. It looks like you are using an example that loads a MF2005 model. Loading and checking an MF6 simulation looks something like this:
Where sim_ws is the path to the folder that contains the simulation nam file.
Note that the example notebooks that are specific to MF6 start with "flopy3_mf6". While some of the other notebooks include MF6 examples (plotting), most of the MF6 example code can be found in the "flopy3_mf6" notebooks. Offhand I am not sure if there is a notebook with an example of check for MF6, but the code above should work.