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

Add asserts to hydromet_stratified.py #46

Open
ShaneMPutnam opened this issue Jun 16, 2020 · 0 comments
Open

Add asserts to hydromet_stratified.py #46

ShaneMPutnam opened this issue Jun 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ShaneMPutnam
Copy link
Member

It is good practice to add asserts/warningsto the code to make it more robust. For example, a warning could be added if the users enters a PMP that is unreasonably high or enters a return interval that is outside the bounds of the NOAA Atlas 14 precipitation frequency curve. @Mark-S-Bartlett recommends adding asserts/warnings for CN, PMP, and the mu parameter.

@ShaneMPutnam ShaneMPutnam added the enhancement New feature or request label Jun 16, 2020
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

No branches or pull requests

1 participant