-
Notifications
You must be signed in to change notification settings - Fork 64
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
Changes to integrate t-route master branch #502
Changes to integrate t-route master branch #502
Conversation
@hellkite500 @donaldwj @robertbartel ... maybe @shorvath-noaa and @kumdonoaa ... Before I fix the last test... With this PR the ngen code itself can now--for now--work with either the old legacy ngen_main t-route code or the new nwm_routing module. This is particularly for use cases where old configs exist, I'm thinking particularly of the calibration work. The question is, what, if anything, should we do with My inclination is to encourage the build/installation of t-route separately going forward, especially since ngen will find it as long as it's installed (doesn't have to be in a particular dir, like the other modules in |
I'm inclined to remove the sub module all together and replace it with a little documentation on pulling and installing the desired branch. |
@mattw-nws Just trying to understand what bumping it to t-route:master means, can you explain what changes would or should be made from the action and what results would come in terms of running t-route. Thanks. |
Sure, it's basically only a matter of what version of t-route we are "bundling" (in source form) with ngen, if any... we have previously been including the t-route source as a git submodule inside the ngen repo... the question is whether we should continue doing that and what version if any. |
Related question... should we keep the troute integration test in the ngen repo... or make a test for ngen integration in the t-route repo... or other? |
Regarding the troute integration test, I feel that we need a meeting where Sean first demonstrates the progress of implementing BMI to t-route and reservoir modules so that you can give us feedbacks on whether we're on a right track or not. After that, it would be great to show us how it looks like to do the integration test from ngen side and what are required. Would that be a good starting point? |
This now needs NOAA-OWP/t-route#606 to merge before the macOS routing test will pass, I think. |
Believe that when t-route/#606 is merged, the failing macOS test may fix itself... if not some small change may be required here, but everything is failing that test ATM. |
82235db
to
058c8a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost completely configuration file changes. We may want to document the changes in the pull request page
Yes the configuration file for t-route is changed very substantially. The documentation probably goes in t-route, however, I'd think. I also filed #505 on the macOS forkbomb issue. |
* First draft docs update goes with #502 * minor revisions following first review of #506. --------- Co-authored-by: Austin Raney <[email protected]>
Routing_Py_Adapter
now attempts to run the master branchmain_v04
method if the legacyngen_routing
module is not found (this is not preference ordering, rather is the easiest way to determine which of the two is installed), so either version is runnable. Notably, however, all automated test code now tests the master branch and not the legacy ngen branch!Additions
main_v04
method in t-routeRemovals
Changes
Testing
data/gauge_01073000
, which successfully produces output.Screenshots
Notes
Todos
Checklist
Testing checklist (automated report can be put here)
Target Environment support