-
Notifications
You must be signed in to change notification settings - Fork 9
Issue #950 Distribute conductances #973
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
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
e107c90
Write first utility functions to allocate river cells
JoerivanEngelen d7819a0
Add docstring
JoerivanEngelen be9d2c8
Shorter and concise names, at extra allocation functions for specific…
JoerivanEngelen 93d4b92
Make functions semi-private
JoerivanEngelen 639092e
Move module to better name and location
JoerivanEngelen d980d7f
Move functions to new module and throw deprecation warning when being…
JoerivanEngelen 87c8de0
Import at module level
JoerivanEngelen e44b7da
Add topsystem functions to public API
JoerivanEngelen 14ecd58
Add first test for allocation
JoerivanEngelen 30902f2
Generalize utility functions and work around circular imports
JoerivanEngelen 1ae56a7
Add utility functions to preserve gridtype and to enforce dim order
JoerivanEngelen 54337c5
Add decorator to enforce dim order
JoerivanEngelen 6cced53
Apply decorator to preserve gridtype
JoerivanEngelen e248274
format
JoerivanEngelen 1ec16d9
Add tests for allocation functions
JoerivanEngelen c918177
Fix bugs where cells were incorrectly allocated when looking at riv s…
JoerivanEngelen f9caec5
Add docstring with explanation
JoerivanEngelen 16e3369
Tidy up docstring
JoerivanEngelen 9a93004
Tidy up docstring
JoerivanEngelen 44cc5db
format
JoerivanEngelen 8ba80fe
Add tests for allocation drn, rch, ghb cells
JoerivanEngelen ea613d6
Return grid instead of tuple for rch
JoerivanEngelen e3a613c
rename river to riv and drain to drn
JoerivanEngelen 47c5ba9
Add tests for enforced_dim_order decorator
JoerivanEngelen d3ca2ec
Enforce unstructured grid in preserve_gridtype
JoerivanEngelen 67ed07a
Add tests to preserve gridtype and enforce dim order
JoerivanEngelen 0f64560
Format
JoerivanEngelen 6f0325d
Fix bug where optional geopandas throws error in type annotation
JoerivanEngelen 9f65a01
Update changelog
JoerivanEngelen 1071d10
Type annotation
JoerivanEngelen 39108ca
Extend docstring create_layered_top and import in prepare module
JoerivanEngelen 1a44531
Add create_layered_top to API docs
JoerivanEngelen c2485ed
Add ValueError in case wrong option is applied for ALLOCATION_OPTION …
JoerivanEngelen 5d92bb0
Fix typos
JoerivanEngelen b8adfac
Format
JoerivanEngelen 96776e4
Move enforcing of layered top to separate helper function
JoerivanEngelen ec9957f
Add helper functions to distribute conductance
JoerivanEngelen dd88728
Fix bugs while implementing the tests
JoerivanEngelen c4c7ebd
Expose conductance functions to public API
JoerivanEngelen 03dcf80
Add first version of tests for conductance utility
JoerivanEngelen 866021d
Rename test utilities
JoerivanEngelen c05d264
Move fixtures to fixtures section
JoerivanEngelen f167960
Move cases to separate source file, use tags and prefixes instead of …
JoerivanEngelen decf57b
Remove unused imports
JoerivanEngelen 730ac1f
format
JoerivanEngelen 9c7c4e7
Add docstrings
JoerivanEngelen 723509d
Expose distributing functions to public API
JoerivanEngelen 202417e
Add docstrings
JoerivanEngelen 1a51a68
Add example code snippets in docstring
JoerivanEngelen 1749bf1
Merge branch 'master' into issue_950_distribute_conductances
JoerivanEngelen 5879a6a
Delete duplicate tests
JoerivanEngelen f7aa808
Format
JoerivanEngelen 765cda5
Ensure weights are same shape as allocation grid for distribution equ…
JoerivanEngelen d86ce6a
Rename 'take_first_planar_cell' to 'take_first_cell_in_xy_plane'
JoerivanEngelen c413cef
Extend docstrings
JoerivanEngelen 3f96bbb
Extend docstrings
JoerivanEngelen 31311f5
Set italics options to code in docstring
JoerivanEngelen 0f859e9
Add test cases for first active and third layer only active
JoerivanEngelen e99761b
Enforce dim order, preserve gridtype, where allocated only in by_cros…
JoerivanEngelen f5e0813
format
JoerivanEngelen 62384ef
Extend docstrings further
JoerivanEngelen 558dcda
Add test cases for allocated layer True False True False
JoerivanEngelen e261281
Format
JoerivanEngelen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.