-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flow graph flexible base levels and mask (#140)
* implement flexible base levels Use an internal set for storing base level indices (in flow graph implementation). Refactor code that was relying (hard-coded) on `node_status::fixed_value` for identifying base level nodes. * implement grid mask for flow graph Update flow operators so that masked grid node are ignored. * add mask and base levels public API (C++) * set_mask: test shape * add C++ tests * add python API * disable python API sink algos algo C++ API and bindings will be removed in a follow-up PR. * add python tests * doc: update user guide * fix np.bool8 deprecation * fix mypy (np.bool_ again) * update basin ids computation masked grid nodes have all the same assigned id (max integer limit).
- Loading branch information
Showing
20 changed files
with
642 additions
and
148 deletions.
There are no files selected for viewing
This file contains 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 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 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 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.