I defined a model grid using voronoi cells. I built the model using the DISV package in MF6.
When I try to use the following commands in python:
gwf.disv.export(workspace + '\\' + 'disv_mf6.nc')
gwf.npf.export(workspace + '\\' + 'npf_mf6.nc')
I get the following error
Traceback (most recent call last):
File "H:/scripts/python3.6/modflow/post_process_mf.py", line 78, in <module>
gwf.npf.export(workspace + '\\' + 'npf_mf6.nc')
File "C:\Program Files\Python36\lib\site-packages\flopy\mf6\mfpackage.py", line 1762, in export
return export.utils.package_export(f, self, **kwargs)
File "C:\Program Files\Python36\lib\site-packages\flopy\export\utils.py", line 468, in package_export
f = NetCdf(f, pak.parent, **kwargs)
File "C:\Program Files\Python36\lib\site-packages\flopy\export\netcdf.py", line 175, in __init__
self.model_grid.grid_type))
Exception: Grid type vertex not supported.
everything works fine if I try to export shape files.
Thanks in advance
I defined a model grid using voronoi cells. I built the model using the DISV package in MF6.
When I try to use the following commands in python:
gwf.disv.export(workspace + '\\' + 'disv_mf6.nc')gwf.npf.export(workspace + '\\' + 'npf_mf6.nc')I get the following error
Traceback (most recent call last):File "C:\Program Files\Python36\lib\site-packages\flopy\export\utils.py", line 468, in package_exportf = NetCdf(f, pak.parent, **kwargs)Exception: Grid type vertex not supported.everything works fine if I try to export shape files.
Thanks in advance