Closed rafaur99 closed 1 year ago
@rafaur99 - you need to load the spatial information to use this functionality. Mfusg does not natively store this like mf6 does. I believe you have a couple of options:
from flopy.discretization import UnstructuredGrid
grid = UnstructuredGrid.from_gridspec(spec_path)
ml.modelgrid = grid # I think this works...
Example notebook here.
Describe the bug
Hello. There is a problem when I try to plot the grid of my model and data comes from a DISU file. The error looks like this:
To Reproduce Link to my model:
https://correouisedu-my.sharepoint.com/:f:/g/personal/rafael2170246_correo_uis_edu_co/Ek5NjuRESxJMo-OyCsAJ4LMBZstNLMFelOzTiuNyfZgs4Q?e=7W2axH
You have to enter to the work folder and open de model.py file. The code inside the file is:
Expected behavior I expected to obtain the plot of the my model's grid as it's posible in models with mf6, mf5, etc. but in this case I obtained an empty plot.
Desktop (please complete the following information):
Additional context I checked that in the repository are few ways to draw an unstructured grid, but any from a disu file.