Insert a sentinel flowpath downstream of terminal nexuses when partitioning subset hydrofabrics (NGWPC-6553) - #32
Conversation
…es in the standard
|
Ok, so reading the |
|
Same kind of logic appears in the older GeoJSON reading code - catchments considered are the intersection of what's in the source data and what's specified as the subset from the command line or partition file. |
|
I'm thinking that it may be necessary to add comments |
|
Per @zhengtaocui
|
cmaynard-ngwpc
left a comment
There was a problem hiding this comment.
Looks good. Thank you for excellent descriptions and comments.
Insert a sentinel flowpath downstream of terminal nexuses when partitioning subset hydrofabrics (NGWPC-6553)
Prior to this PR, partitioning a hydrofabric in which there was a nexus that had multiple contributing catchments and no downstream catchment could lead to corrupted run results if those catchments were spread across multiple processes.
Fixes: NOAA-OWP#284
Additions
SentinelFeaturetype for the placeholder GeoJSON features that have no geography or geometry associated with themChanges
partitionGeneratorinput, and add sentinel flowpaths downstream of themRemovals
Testing
partitionGeneratoron test subset hydrofabric from bug report looks as intendedScreenshots
Checklist