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

adding argument to provide high resolut dem to determine structure height #109

Merged
merged 6 commits into from
Aug 3, 2023

Conversation

kvanasselt
Copy link
Contributor

Issue addressed

Fixes #106, Add dep for...

Explanation

The functionality of the setup_structures function has been enhanced. By allowing for the description of attribute "dep", a higher resolution DEM file can be used to determine the weir height.

Next to that, an attribute "buffer" is added to account for the width of the weir segment. This buffer is used a window (wdw) in the raster.sample() function.

Checklist

  • Change to setup_structures() code
  • Updated changelog.rst if needed
  • Updated documentation if needed

Additional Notes (Optional)

@kvanasselt kvanasselt added the Enhancement New feature or request label Jul 21, 2023
@roeldegoede roeldegoede marked this pull request as ready for review July 25, 2023 09:31
Copy link
Contributor

@DirkEilander DirkEilander 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 to me! Just added a test and made some minor edits.

@roeldegoede roeldegoede merged commit 65a01b4 into main Aug 3, 2023
3 checks passed
@roeldegoede roeldegoede deleted the resolution_structures branch August 3, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

release 1.0.1
3 participants