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

Program must fail hard when encountering error in single-point weather data file #32

Open
smwesten-usgs opened this issue Nov 9, 2023 · 0 comments
Labels

Comments

@smwesten-usgs
Copy link
Owner

The program will continue to process a single-point weather data file even if the required header labels are not found. This results in phantom data values being fed into SWB, essentially whatever nonsense values happen to be in the memory space that was allocated for the precip or temperature data.

Failure example:
A file with
date precip tmin tmax
for the header was fed into the program. The run continued, although no precipitation data were read in (it was looking for a column of data labeled 'prcp').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant