USGS-R / WREG

Develops regional estimation equations for streamflow characteristics that can be applied at a ungaged basins.
8 stars 7 forks source link

Improved error handling #54

Closed wfarmer-usgs closed 8 years ago

wfarmer-usgs commented 8 years ago

Add graceful exits.

For main functions (WREG.*), address obvious input areas (non-allowed values: missing, infinite).

Descriptive error messages.

wfarmer-usgs commented 8 years ago

This is addressed in pull request #57. However, that only addresses functions used in the GUI. Should probably consider functions outside of the GUI but remaining in the package.

tjmills commented 8 years ago

Yes, similar error checking should be done throughout the package so lets leave this issue open for now as a reminder