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

Feature/fix htab warning #274

Merged
merged 4 commits into from
Dec 20, 2024
Merged

Feature/fix htab warning #274

merged 4 commits into from
Dec 20, 2024

Conversation

sclaw
Copy link
Collaborator

@sclaw sclaw commented Dec 18, 2024

This PR closes #249. When a hydraulic table for a cross-section has a minimum elevation below the section invert, HEC-RAS generates a pop up warning as demonstrated in #249. In the warning, the software specifies that any subsequent saves to the geometry file will automatically adjust the hydraulic table minimum elevation to be above the section invert. To mimic this functionality, a new function call has been added to the RasGeomText constructor. The call will check for any occurrences of the htab issue, adjust the minimum elevation, and overwrite the geometry file with the updated value.

@sclaw sclaw requested a review from mdeshotel December 20, 2024 13:47
Copy link
Collaborator

@mdeshotel mdeshotel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@sclaw sclaw changed the base branch from main to dev December 20, 2024 19:58
@sclaw sclaw merged commit 71c5122 into dev Dec 20, 2024
3 checks passed
@sclaw sclaw deleted the feature/fix-htab-warning branch January 9, 2025 19:01
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.

Add source or sub model quality metric for when hTab starting elevations are below XS invert
2 participants