8000 bugfix in hydrograph_1d method by DirkEilander · Pull Request #933 · Deltares/hydromt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bugfix in hydrograph_1d method #933

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

Merged
merged 2 commits into from
May 23, 2024
Merged

bugfix in hydrograph_1d method #933

merged 2 commits into from
May 23, 2024

Conversation

DirkEilander
Copy link
Contributor
@DirkEilander DirkEilander commented May 22, 2024

Issue addressed

An index error was raised when the number of peaks varies between stations. This could occur in real data and should be dealt with in the code.

Explanation

Limit the maximum index per station to the number of peaks.

General Checklist

  • Updated tests or added new tests
  • Branch is up to date with main
  • Tests & pre-commit hooks pass
  • Updated documentation
  • Updated changelog.rst

Additional Notes (optional)

Add any additional notes or information that may be helpful.

Copy link
Contributor
@hboisgon hboisgon left a comment

Choose a reason for hiding this comment

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

All good thanks for fixing this @DirkEilander !
It looks like the windows tests are failing for a different reason but we should look into that before we release...

@DirkEilander DirkEilander merged commit 23f7c0a into main May 23, 2024
7 of 10 checks passed
@DirkEilander DirkEilander deleted the bugfix/design_hydrograph branch May 23, 2024 08:17
@savente93 savente93 mentioned this pull request Jun 14, 2024
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.

2 participants
0