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 more robust error handling and notifications #344

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

justin-richling
Copy link
Collaborator

The main part of this PR is to address the ambiguous error message in adf_info.py when either the climo years for history files are wrong or if there is a problem with the history file location or case name. Now anything that breaks in this regard will be logged to the debugger.

Similarly, in the amwg_table.py just add some more print statements for tracking progress to the user.

Add logging for failed history file location and climo years
@justin-richling justin-richling merged commit 680e608 into NCAR:main Nov 19, 2024
7 checks passed
@justin-richling justin-richling deleted the error-handling branch November 19, 2024 20:45
justin-richling added a commit to justin-richling/ADF that referenced this pull request Nov 19, 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.

1 participant