Skip to content

Correct all syntax errors in output logs #83

Description

@CarlosMDiaz-NCO

All output logs should be free of warnings and errors such as 'No such file or directory', 'Cannot stat', etc.
For cases where the file/directory isn't found, there should be logic to check for the file first

For these jobs I'll add what I think the fixes are:

nwps_chs_prep.o267398467:1344:/lfs/h1/ops/para/packages/nwps.v1.5.1/ush/run_nwps_wcoss.sh: line 164: [: ==: unary operator expected
needs quotes around $COLDSTART: if [ "$COLDSTART" == "YES" ]; then

nwps_gyx_post_cg1.o267398462:2959:/lfs/f1/ops/para/tmp/pnwps_gyx_para/parm/templates/gyx/GYX: line 82: NEST: command not found
line missing # to make it a comment fix/domains/GYX

nwps_aer_post_cg1.o267467111:/lfs/h1/ops/para/packages/nwps.v1.5.1/ush/shiproutes/plot_shiproutes.sh: line 319: 18: command not found
missing $(( ... ))` around logic

Others from post_cg1 jobs. Tried to just leave 1 example of each type, but there could be multiple for each job:

nwps_tbw_post_cg1.o267398475:5081490:cp: cannot stat '/lfs/f1/ops/para/tmp/pnwps_tbw_para/run/PE0095/20260608.1200*': No such file or directory

nwps_aer_post_cg1.o267399725:3379:ERROR - /lfs/f1/ops/para/tmp/pnwps_aer_para/run/SHIPRT1.YY26.MO06.DD08.HH18 file does not exist

nwps_aer_post_cg1.o267399725:7070:cp: cannot stat '/lfs/f1/ops/para/tmp/pnwps_aer_para/var/shiproutes/route*/swan*hr*.png': No such file or directory
nwps_aer_post_cg1.o267399725:7072:chmod: cannot access '/lfs/f1/ops/para/tmp/pnwps_aer_para/output/figures/aer/shiproutes/swan*hr*.png': No such file or directory
nwps_aer_post_cg1.o267399725:7076:tar: *.png: Cannot stat: No such file or directory`

nwps_tbw_post_cg1.o267398475:4845694:cp: cannot stat '/riphist/TBW/5*CG1*TBW': No such file or directory
nwps_bro_post_cg1.o267398469:1550282:cp: cannot stat '/lfs/h1/ops/para/com/nwps/v1.5/nwps.20260605/nwges/riphist/BRO/5*CG1*BRO': No such file or directory

nwps_bro_post_cg1.o267398469:1819051:cat: /lfs/f1/ops/para/tmp/pnwps_bro_para/run/nests.flag: No such file or directory

nwps_key_post_cg1.o267398476:270472:ERROR - /lfs/f1/ops/para/tmp/pnwps_key_para/run/SHIPRT4.YY26.MO06.DD08.HH12 file does not exist

and errors from wavetrack_cg1 jobs:
nwps_key_wavetrack_cg1.o267399021:3285:mv: cannot stat '/lfs/f1/ops/para/tmp/pnwps_key_para/run/PRT.SHIPRT5.CG1.TAB.YY26.MO06.DD08.HH12': No such file or directory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions