t-route will now read the 'nexus' attribute table from the HYFeatures geopackage if diffusive routing is enabled. From this table, the latitude and longitude of all diffusive domain tailwater nexus points are determined and stored in the values BMI dictionary. These will be used to advertise geospatial locations to the model engine which can then determine the closest coastal model nodes to be used for diffusive boundary conditions.
Additions
HYFeaturesNetwork.py
Read "nexus" attribute table if diffusive routing is enabled
Store this table as a data frame for later processing
AbstractNetwork.py
Filter "nexus" data frame to only diffusive domain tailwater nexus points
Reproject geometry column to be lat/lon friendly.
bmi_troute.py
Create empty arrays for diffusive tailwater nexus point geo-locations
troute_model.py
Store diffusive tailwater lat/lon/id info as 1d arrays in values dictionary
Removals
-
Changes
-
Testing
I've verified that this information is processed and stored correctly, but have not tested passing it through BMI functions
Screenshots
Notes
-
Todos
-
Checklist
[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:
t-route will now read the 'nexus' attribute table from the HYFeatures geopackage if diffusive routing is enabled. From this table, the latitude and longitude of all diffusive domain tailwater nexus points are determined and stored in the
values
BMI dictionary. These will be used to advertise geospatial locations to the model engine which can then determine the closest coastal model nodes to be used for diffusive boundary conditions.Additions
HYFeaturesNetwork.py
AbstractNetwork.py
geometry
column to be lat/lon friendly.bmi_troute.py
troute_model.py
values
dictionaryRemovals
-
Changes
-
Testing
Screenshots
Notes
-
Todos
-
Checklist
Testing checklist
Target Environment support
Accessibility
Other