Enable sending email when large variances are detected while creating comparison graphs#417
Open
Enable sending email when large variances are detected while creating comparison graphs#417
Conversation
…ace plots. When comparing this week's cylc run to last week's run, provide an email address to get alert emails if the BinValAxes2D RMS variances are too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When comparing this week's cylc run to last week's run, provide an email address to get alert emails if the BinValAxes2D RMS variances are too large.
Description
This PR modifies the script which is run every weekend by the cron server.
The script runs a weekly cylc job, then it is run again to graph the results, comparing to the previous week's run as well as comparing to a baseline run (currently results from running mpas-bundle release 3.0.2).
This change adds an optional run time parameter of a comma delimited list of email addresses which will receive an alert email if variances between this weeks run and the previous weeks run are too large.
Note that comparisons between the current run and the baseline are not checked.
See https://github.com/JCSDA-internal/mpas-jedi/pull/1155 for the actual mechanism which sends email(s).
Tests completed
I modified the cron job to provide my email address when creating graphs. I verified the variances were checked (by looking at logs).
Tier 1:
Tier 2 (optional):