-
Notifications
You must be signed in to change notification settings - Fork 342
Closed
Description
Test t061_test_gridgen.py
should add a test for .to_disu6(fname, writevertices)
. A quick attempt to use the module raises several errors:
>>> g.to_disu6('x.disu', True)
File "flopy/utils/gridgen.py", line 1302, in to_disu6
f.write(' NVERT {}\n'.format(gridprops['nvert']))
KeyError: 'nvert'
>>> g.to_disu6('x.disu', False)
Traceback (most recent call last):
File "flopy/utils/gridgen.py", line 1321, in to_disu6
a = gridprops[prop]
KeyError: 'ihc'
And further down in the source file, another error:
./flopy/utils/gridgen.py:1341:28: F821 undefined name 'nodes'
Tests for .to_disv6(fname)
are also absent (and should also be added), but this method at least writes a file.
Metadata
Metadata
Assignees
Labels
No labels