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

Trigger postanl job reliable #323

Merged
merged 2 commits into from
May 26, 2021

Conversation

WenMeng-NOAA
Copy link
Collaborator

Update exglobal_atmos_pmgr.sh from Lin Gan to trigger postanl job reliable.

Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA left a 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.

Comment on lines 50 to 57
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
Copy link
Member

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.

Copy link
Collaborator Author

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.

Copy link
Contributor

@lgannoaa lgannoaa left a 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.

@WenMeng-NOAA
Copy link
Collaborator Author

@lgannoaa Would you like tweaking based on Kate's suggestion?

@lgannoaa
Copy link
Contributor

@WenMeng-NOAA ,
@KateFriedman-NOAA suggestion works. It does not impact the result. I have not test that solution yet because I have a meeting now. I recommend commit as is. Because it is tested.

@WenMeng-NOAA
Copy link
Collaborator Author

@lgannoaa Sure. I will commit the current changes soon. We might optimize the workflow scripts in the future. Thanks!

Copy link
Contributor

@lgannoaa lgannoaa left a 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!

@WenMeng-NOAA WenMeng-NOAA merged commit f163d78 into NOAA-EMC:release/gfs_v16 May 26, 2021
@WenMeng-NOAA WenMeng-NOAA linked an issue Jun 12, 2021 that may be closed by this pull request
@WenMeng-NOAA WenMeng-NOAA deleted the gfs_post_anl branch October 5, 2021 12:26
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.

Triggering GFS post_anl job
3 participants