feat(binaryfile): add write methods#2722
Open
wpbonelli wants to merge 21 commits intomodflowpy:developfrom
Open
feat(binaryfile): add write methods#2722wpbonelli wants to merge 21 commits intomodflowpy:developfrom
wpbonelli wants to merge 21 commits intomodflowpy:developfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2722 +/- ##
==========================================
- Coverage 55.5% 36.0% -19.6%
==========================================
Files 644 361 -283
Lines 124135 66411 -57724
==========================================
- Hits 68947 23921 -45026
+ Misses 55188 42490 -12698 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support writing binary head, budget and grid files.
Class methods
Add
write()classmethods toHeadFileCellBudgetFileThese write a new file with the given data and return an instance with it open.
Head files
Budget files
If only face flows are provided, the grid shape must be specified with
nlay/nrow/ncol,nlay/ncpl, ornnodes. If grid-shaped variables are provided, the grid's shape will be inferred.Instance methods
Add instance
export()methods toMfGrdFileHeadFileCellBudgetFileThese copy the contents of an open file to another.
Grid files
Head/budget files
Close #2717