Skip to content
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

a few changes to help with reservoir DA, fixing typo, moving some DA … #570

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

shorvath-noaa
Copy link
Contributor

…features into functions

Some minor tweaks related to reservoir DA. Fixed some typos and moved the logic that omits offnetwork_upstreams reservoirs from DA into the _prep_reservoir_da_dataframes function

Additions

-Fixed a typo in main.py that allows reservoir persistence to continue across loops
-Moved the logic that checks whether or not a reservoir is in the actual network or in the offnetwork_upstreams list. This was done in compute_nhd_routing_v02 by changing the waterbody_types_df_sub dataframe. Now it is done in the _prep_reservoir_da_dataframes function which doesn't require editing any objects in compute_nhd_routing_v02

Removals

Changes

Testing

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 👇)
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist

Target Environment support

  • Windows
  • Linux
  • Browser

Accessibility

  • Keyboard friendly
  • Screen reader friendly

Other

  • Is useable without CSS
  • Is useable without JS
  • Flexible from small to large screens
  • No linting errors or warnings
  • JavaScript tests are passing

@shorvath-noaa
Copy link
Contributor Author

@BrianAvant-NOAA

@BrianAvant BrianAvant merged commit ca36a2e into NOAA-OWP:master Jul 6, 2022
donaldwj pushed a commit to donaldwj/t-route that referenced this pull request Jul 6, 2022
…features into functions (NOAA-OWP#570)

* Fixed a typo in main.py that allows reservoir persistence to continue across loops
* Moved the logic that checks whether or not a reservoir is in the actual network or in the offnetwork_upstreams list
PR by @shorvath-noaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants