NOAA-EMC / RTOFS_GLO

0 stars 1 forks source link

Fix the use of $COMOUT for input data in exrtofs_glo post scripts (bugzilla #1139) #18

Open DanIredell-NOAA opened 2 years ago

DanIredell-NOAA commented 2 years ago

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

Please fix the use of $COMOUT for input data in exrtofs_glo post scripts at next upgrade.

Please fix the following link to $COMOUT as input data, use $COMIN instead -

scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n00.archs.a archv.a
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n00.archs.b archv.b
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n00.arche.b arche.b
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n00.arche.a arche.a
scripts/exrtofs_glo_post_2.sh:    ln -s -f $COMOUT/${arfile_tplate}.a archv.a
scripts/exrtofs_glo_post_2.sh:    ln -s -f $COMOUT/${arfile_tplate}.b archv.b
scripts/exrtofs_glo_post_2.sh:    ln -s -f $COMOUT/${arefile_tplate}.a arche.a
scripts/exrtofs_glo_post_2.sh:    ln -s -f $COMOUT/${arefile_tplate}.b arche.b
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n-24.archs.a archv.a
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n-24.archs.b archv.b
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n-24.arche.a arche.a
scripts/exrtofs_glo_post_2.sh:     ln -s -f $COMOUT/${RUN}_${modID}.t${mycyc}z.n-24.arche.b arche.b
scripts/exrtofs_glo_post.sh:    ln -s -f $COMOUT/${arfile_tplate}.a archv.a
scripts/exrtofs_glo_post.sh:    ln -s -f $COMOUT/${arfile_tplate}.b archv.b
DanIredell-NOAA commented 1 year ago

Updated post scripts to link to archives from COMIN instead of COMOUT.

Also cleaned up these scripts to reduce duplicate completion messages and remove unused local variables.