modelgrid class (possible bug?) #1996
-
I apologize in advance for starting another thread on a possibly already answered topic. I still dont quite understand why the modelgrid function doesnt work for me... I have been looking at the example i the image below. I tried to use the same procedure for my own data, but for whatever reason the modelgrid returns an attribute error. using the following line of code I have atleast been able to access the grid information: sr = flopy.discretization.vertexgrid.VertexGrid.from_binary_grid_file(grb_name, verbose=False) Why cant I access my model with the modelgrid class? Sincerely |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@DStrom1987 check the |
Beta Was this translation helpful? Give feedback.
It looks like your model name is "modflow", try using that name. If you only have one model in your simulation, you can also use
get_model()
without providing a name.