Skip to content

Commit

Permalink
Trigger postanl job reliable (#323)
Browse files Browse the repository at this point in the history
* Update exglobal_atmos_pmgr.sh from Lin Gan to trigger postanl job reliable.

* Further tweaking exglobal_atmos_pmgr.sh.
  • Loading branch information
WenMeng-NOAA authored May 26, 2021
1 parent 10cb8e3 commit f163d78
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions scripts/exglobal_atmos_pmgr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,17 @@ do
then
if [ $fhr -eq 0 ]
then
#### ecflow_client --event release_${RUN}_postanl
ecflow_client --event release_postanl
fi
#### ecflow_client --event release_${RUN}_post${fhr}
ecflow_client --event release_post${fhr3}
# Remove current fhr from list
postjobs=`echo $postjobs | sed "s/${fhr}//"`
if [ -s ${COMIN}/${RUN}.${cycle}.loganl.txt ]
then
ecflow_client --event release_postanl
ecflow_client --event release_post000
postjobs=`echo $postjobs | sed "s/00//"`
fi
else
ecflow_client --event release_post${fhr3}
# Remove current fhr from list
postjobs=`echo $postjobs | sed "s/${fhr}//"`
fi
fi
done

Expand Down

0 comments on commit f163d78

Please sign in to comment.