Dewberry / ripple1d

Utilities for reuse of HEC-RAS models for NWM
https://ripple1d.readthedocs.io/en/latest/
MIT License
3 stars 0 forks source link

Bugfix/structures #141

Closed mdeshotel closed 2 months ago

mdeshotel commented 2 months ago

This PR fixes 2 bugs associated with structures. 1) Lateral structures were not being excluded (they are not currently supported in ripple). 2) Structure river stationing weren't being updated correctly when two RAS reaches were combined.

These two bugs were causing the API to hang. While ripple1d should no longer hang for these two bugs, ripple1d could still hang for some other issue. This PR does NOT provide a timeout which might be ideal for future/similar bugs during production.

This PR also updates the api_tests to run all reaches in the Baxter Test model.

User/tester changes:

Fixes #130