Skip to content

Commit

Permalink
Fix some scripts of JGLOBAL_FORECAST, link_workflow.sh
Browse files Browse the repository at this point in the history
and forecast_predet.sh
  • Loading branch information
zhanglikate committed May 7, 2024
1 parent 7fd6d18 commit 5eb19e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jobs/JGLOBAL_FORECAST
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ fi
# Remove the Temporary working directory
##########################################
cd "${DATAROOT}" || true
[[ "${KEEPDATA}" == "NO" ]] && rm -rf "${DATA} ${DATArestart}" # do not remove DATAjob. It contains DATAoutput
[[ "${KEEPDATA}" == "NO" ]] && rm -rf ${DATA} ${DATArestart} # do not remove DATAjob. It contains DATAoutput

exit 0
2 changes: 1 addition & 1 deletion sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ for file in postxconfig-NT-GEFS-F00.txt postxconfig-NT-GEFS.txt postxconfig-NT-G
postxconfig-NT-GFS.txt postxconfig-NT-GFS-FLUX.txt postxconfig-NT-GFS-GOES.txt \
postxconfig-NT-GFS-F00-TWO.txt postxconfig-NT-GFS-TWO.txt \
params_grib2_tbl_new post_tag_gfs128 post_tag_gfs65 post_tag_gfs128_catchem \
post_tag_gfs65 nam_micro_lookup.dat
post_tag_gfs65_catchem nam_micro_lookup.dat
do
${LINK_OR_COPY} "${HOMEgfs}/sorc/upp.fd/parm/${file}" .
done
Expand Down
7 changes: 5 additions & 2 deletions ush/forecast_predet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,13 @@ FV3_predet(){
# Inline UPP fix files
if [[ "${WRITE_DOPOST:-}" == ".true." ]]; then
${NCP} "${PARMgfs}/post/post_tag_gfs${LEVS}" "${DATA}/itag"
# ${NLN} "${FLTFILEGFS:-${PARMgfs}/post/postxconfig-NT-GFS-TWO.txt}" "${DATA}/postxconfig-NT.txt"
${NLN} "${FLTFILEGFS:-${PARMgfs}/post/postxconfig-NT-GFS-TWO.txt}" "${DATA}/postxconfig-NT.txt"
${NLN} "${FLTFILEGFSF00:-${PARMgfs}/post/postxconfig-NT-GFS-F00-TWO.txt}" "${DATA}/postxconfig-NT_FH00.txt"
if [[ $cplchp = .true. ]]; then
${NLN} "${PARMgfs}/post/post_tag_gfs${LEVS}_catchem" "${DATA}/itag"
${NLN} "${FLTFILEGFS:-${PARMgfs}/post/postxconfig-NT-CCPP-CHEM.txt}" "${DATA}/postxconfig-NT.txt"
# ${NLN} "${FLTFILEGFSF00:-${PARMgfs}/post/postxconfig-NT-GFS-F00-TWO.txt}" "${DATA}/postxconfig-NT_FH00.txt"
${NLN} "${FLTFILEGFSF00:-${PARMgfs}/post/postxconfig-NT-CCPP-CHEM.txt}" "${DATA}/postxconfig-NT_FH00.txt"
fi
${NCP} "${POSTGRB2TBL:-${PARMgfs}/post/params_grib2_tbl_new}" "${DATA}/params_grib2_tbl_new"
${NCP} ${PARMgfs}/post/optics_luts_*.dat ${DATA}/
fi
Expand Down

0 comments on commit 5eb19e3

Please sign in to comment.