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

Improve the scripts/exrtofs_glo_incup.sh script restart file checking (bugzilla #1588) #45

Open
DanIredell-NOAA opened this issue Nov 5, 2024 · 0 comments

Comments

@DanIredell-NOAA
Copy link
Collaborator

http://www2.spa.ncep.noaa.gov/bugzilla/show_bug.cgi?id=1588

At next RTOFS upgrade, please improve the scripts/exrtofs_glo_incup.sh script for restart file checking with the followings -

  • When checking restart.a, restart.b and restart_cice, should be “||” not “&&” in the if block, as below -
    ....
    if [[ ! -e $COMINm1/rtofs_glo.t00z.n-${inc_hours}.restart.a ]] || \
    [[ ! -e $COMINm1/rtofs_glo.t00z.n-${inc_hours}.restart.b ]] || \
    [[ ! -e $COMINm1/rtofs_glo.t00z.n-${inc_hours}.restart_cice ]]; then
    ...

  • if either one of rtofs_glo.t00z.n-${inc_hours}.restart.a ]] or $COMINm1/rtofs_glo.t00z.n-${inc_hours}.restart.b or $COMINm1/rtofs_glo.t00z.n-${inc_hours}.restart_cice not existed, the rtofs_glo_incup will fail at exec/rtofs_hycom when using these restart input data. When either one of needed resatrt file is not existed, should fail the job with error message as below example -
    “FATAL ERROR: $COMINm1/rtofs_glo.t00z.n-${inc_hours}.restart.a … rtofs_glo.t00z.n-${inc_hours}.restart_cice missing, exiting now."

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

No branches or pull requests

1 participant