-
Notifications
You must be signed in to change notification settings - Fork 194
Marine DA script hardening #3797
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
base: develop
Are you sure you want to change the base?
Marine DA script hardening #3797
Conversation
I've tested this in one round, but will do more comprehensive testing now that I'm mostly finished |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turn around @DavidNew-NOAA
This PR moves the saving of the soca_diag_stats yaml into the JCB template that already saves the obs statistics. Issue: NOAA-EMC/GDASApp#1738 Companions PRs: NOAA-EMC/GDASApp#1748 NOAA-EMC/global-workflow#3797
I'm going on leave this week, so I'll just leave this note here so I don't forgot. Now that this PR saves marine and atmospheric YAMLs to COMOUT_CONF, the archiving job fails. Probably an easy fix. All other jobs are successful though. |
@CoryMartin-NOAA @guillaumevernieres @AndrewEichmann-NOAA @RussTreadon-NOAA @aerorahul My companion PR for GDASApp hasn't merged yet, but I've tested this PR thoroughly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some feedback
try: | ||
MarineAnl.execute('soca_diag_stats') | ||
except Exception as e: | ||
logger.warning(f"WARNING: Execution of soca_diag_stat application failed: {e}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execute
raises a Workflow exception, and the program will terminate. I wonder if the try-except
is relevant or needed here?
Description
This PR hardens the JEDI marine analysis code by ensuring that if the analysis observation statistics applications fails to initialize, run, and produce the correct output, the
gdas_marineanlinit
,gdas_marineanlchkpt
, andgdas_marineanlfinal
jobs won't fail and crash the workflow. My testing indicates that I can leave the archive jobs alone without them failing under this scenario.I've also updated the saving-to-com for JEDI marine and atmospheric DA to save to COM_CONF. This required some updates to archiving.
Resolves NOAA-EMC/repo#5678
Type of change
Change characteristics
How has this been tested?
C96C48_ufs_hybatmDA
,C96C48_hybatmDA
,C48mx500_3DVarAOWCDA
,C48mx500_hybAOWCDA
, andC96C48_hybatmsnowDA
Checklist