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

fix(SFRData.from_yaml(); SFRData.set_streambed_top_elevations_from_dem()): #156

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

aleaf
Copy link
Collaborator

@aleaf aleaf commented Oct 18, 2024

refactor get_slopes() method to use general function in elevations.py module; rename SFRData.get_slopes to update_slopes. Updates slopes in from_yaml and set_streambed_top_elevations_from_dem after streambed top elevations are populated, so that slopes are consistent with streambed tops. Add tests for scripting and from_yaml contexts.

…m()): refactor get_slopes() method to use general function in elevations.py module; rename SFRData.get_slopes to update_slopes. Updates slopes in from_yaml and set_streambed_top_elevations_from_dem after streambed top elevations are populated, so that slopes are consistent with streambed tops. Add tests for scripting and from_yaml contexts.
@aleaf aleaf merged commit 31a0190 into DOI-USGS:develop Oct 18, 2024
5 of 8 checks passed
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.

1 participant