-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(utils): move utils from modflow-devtools #1621
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1621 +/- ##
=========================================
- Coverage 72.8% 71.6% -1.3%
=========================================
Files 252 253 +1
Lines 54551 55729 +1178
=========================================
+ Hits 39747 39902 +155
- Misses 14804 15827 +1023
|
c4a6525
to
c1ca09c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it would be useful to have many of the autotest comparison functions from pymake in flopy.
a38934b
to
4b37fa3
Compare
4b37fa3
to
fe42a91
Compare
* add head and budget file writing util fns * add disu creation helper fn * add uniform flow field fn * add head/budget/concentration comparison utility fns * add namefile-reading utility fn * lint tests and notebook utils * add test for HeadUFile.get_ts() * add minimal tests for relocated utils
fe42a91
to
25d6697
Compare
Move utilities that seem in-scope for
flopy
frommodflow-devtools
(originally frompymake
)Minimal tests are added for the last three items. The first two have either extremely minimal tests or (skipped) empty stubs. This PR will allow refactored modflow6 tests in MODFLOW-USGS/modflow6#1066 to import from FloPy instead of pymake. I'm planning to return to this and expand the tests after getting more comfortable with how they're used in modflow6 autotests.
Both items below were moved to #1665
add a test for bug: flopy.utils.binaryfile.HeadUFile.get_ts() gives error for idx= 0 #1519import shared fixtures and utilities frommodflow-devtools