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

Consider adding an HRU area > 0 check before run commences #510

Open
wknoben opened this issue Apr 18, 2022 · 0 comments
Open

Consider adding an HRU area > 0 check before run commences #510

wknoben opened this issue Apr 18, 2022 · 0 comments
Labels
usability changes designed to improve the usability of SUMMA (ie ease of running for different applications)

Comments

@wknoben
Copy link
Collaborator

wknoben commented Apr 18, 2022

If HRU area is zero, groundwatr.f90 will crash out when computing totalColumnInflow, totalColumnOutflow, mLayerBaseflow and length2area due to a divide-by-zero error. While setting HRU area = 0 is perhaps not the most logical choice, debugging core dumps that result of this is tricky and adding a preliminary check would help the user figure out what's wrong.

@wknoben wknoben added the usability changes designed to improve the usability of SUMMA (ie ease of running for different applications) label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability changes designed to improve the usability of SUMMA (ie ease of running for different applications)
Projects
None yet
Development

No branches or pull requests

1 participant