-
Notifications
You must be signed in to change notification settings - Fork 103
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
Trigger postanl job reliable #323
Trigger postanl job reliable #323
Conversation
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.
Change looks ok, assume it has been tested. Provided suggestion but approve either way.
scripts/exglobal_atmos_pmgr.sh
Outdated
if [ $fhr -eq 0 ] | ||
then | ||
#### ecflow_client --event release_${RUN}_postanl | ||
ecflow_client --event release_postanl | ||
if [ -s ${COMIN}/${RUN}.${cycle}.loganl.txt ] | ||
then | ||
ecflow_client --event release_postanl | ||
fi | ||
fi |
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.
Maybe compress this if-block to become:
if [ $fhr -eq 0 -a -s ${COMIN}/${RUN}.${cycle}.loganl.txt ]
then
ecflow_client --event release_postanl
fi
Unless there are plans to add additional cases/if-statements to the if [ $fhr -eq 0 ]
block.
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.
@KateFriedman-NOAA Good suggestion! I have been waiting for @lgannoaa comments and assume the changes were tested by Lin in ecflow.
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.
Looks good to me.
@lgannoaa Would you like tweaking based on Kate's suggestion? |
@WenMeng-NOAA , |
@lgannoaa Sure. I will commit the current changes soon. We might optimize the workflow scripts in the future. Thanks! |
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.
Thank you Wen for help us address this issue so fast!
Update exglobal_atmos_pmgr.sh from Lin Gan to trigger postanl job reliable.