-
Notifications
You must be signed in to change notification settings - Fork 3
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
Raise warning when one or more parameters has no data #4
Comments
Hi @volcan01010! Thank you very much for setting up this issue! I have tried to address the issue in commits d4dda82, 753fe80, inside the
Very many thanks in advance! PS. Please note that there were some issues with the tests when introducing the |
I just ran this and all the acceptance criteria pass. Nice one. Looking at the code, there are a couple of changes to make:
|
Fix open issue regarding warnings for criteria without data (Issue #4)
This Issue was solved through changes implemented in the If there was any outstanding task to be implemented, please let us know: @jifarquharson Very many thanks in advance. |
Summary
As a pyvolcans user, I want a warning when one or more parameters has no data so that I can exclude it from the analysis and get fairer comparisons.
Description
The results for Auckland Field look like this:
Note that the ASz column is all 0, suggesting that there is no source data for eruption size. This caps the total analogy value at 0.8, which suggests there are no volcanoes with a very good match. It would be good to raise a Warning to let users know about this. (This could be similar to the warning when many volcanoes have the same score).
The warning would be especially valuable when users are not using verbose mode as they wouldn't see the individual scores.
See this Tweet thread for details: https://twitter.com/Tyranakisaurus/status/1384469161569566720
Acceptance criteria
pyvolcans "Auckland Field"
raises a Warning that there is no eruption_size dataThe text was updated successfully, but these errors were encountered: