Skip to content

Commit

Permalink
Additional fixes for downstream jobs (NOAA-EMC#3187)
Browse files Browse the repository at this point in the history
This fixes a number of issues with the `postsnd` and `arch` jobs
discovered during testing of HR4.

Resolves NOAA-EMC#3019
---------

Co-authored-by: Rahul Mahajan <aerorahul@users.noreply.github.com>
  • Loading branch information
DavidHuber-NOAA and aerorahul authored Jan 14, 2025
1 parent 53ed76e commit aea82a8
Show file tree
Hide file tree
Showing 40 changed files with 772 additions and 224 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ ush/global_cycle_driver.sh
ush/jediinc2fv3.py
ush/ufsda
ush/soca
ush/make_NTC_file.pl
ush/make_ntc_bull.pl
ush/make_tif.sh
ush/month_name.sh
ush/imsfv3_scf2ioda.py
ush/atparse.bash
ush/run_bufr2ioda.py
Expand Down
21 changes: 21 additions & 0 deletions ci/cases/pr/C48_S2SW_extended.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
experiment:
system: gfs
mode: forecast-only

arguments:
pslot: {{ 'pslot' | getenv }}
app: S2SW
resdetatmos: 48
resdetocean: 5.0
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
idate: 2021032312
edate: 2021032312
yaml: {{ HOMEgfs }}/ci/cases/yamls/gfs_extended_ci.yaml

skip_ci_on_hosts:
- hera
- gaea
- orion
- hercules
- wcoss2 # TODO run on WCOSS2 once the gfs_waveawipsbulls job is fixed
2 changes: 1 addition & 1 deletion ci/cases/yamls/gfs_extended_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ base:
DO_GOES: "YES"
DO_BUFRSND: "YES"
DO_GEMPAK: "YES"
DO_AWIPS: "NO"
DO_AWIPS: "YES"
DO_NPOESS: "YES"
DO_GENESIS_FSU: "NO"
FCST_BREAKPOINTS: 192
Expand Down
5 changes: 0 additions & 5 deletions env/HERA.env
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ elif [[ "${step}" = "marinebmat" ]]; then
export APRUNCFP="${launcher} -n \$ncmd --multi-prog"
export APRUN_MARINEBMAT="${APRUN_default}"

elif [[ "${step}" = "marinebmat" ]]; then

export APRUNCFP="${launcher} -n \$ncmd --multi-prog"
export APRUN_MARINEBMAT="${APRUN_default}"

elif [[ "${step}" = "marineanlvar" ]]; then

export APRUNCFP="${launcher} -n \$ncmd --multi-prog"
Expand Down
8 changes: 4 additions & 4 deletions gempak/ush/gdas_ecmwf_meta_ver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

export COMIN="gdas.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COMIN_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi
vergrid="F-GDAS | ${PDY:2}/0600"
fcsthr="0600f006"
Expand Down Expand Up @@ -152,16 +152,16 @@ if (( err != 0 )) || [[ ! -s ecmwfver.meta ]]; then
exit "${err}"
fi

mv ecmwfver.meta "${COM_ATMOS_GEMPAK_META}/ecmwfver_${PDY}_${cyc2}"
mv ecmwfver.meta "${COMOUT_ATMOS_GEMPAK_META}/ecmwfver_${PDY}_${cyc2}"
export err=$?
if (( err != 0 )) ; then
echo "FATAL ERROR: Failed to move meta file to ${COM_ATMOS_GEMPAK_META}/ecmwfver_${PDY}_${cyc2}"
echo "FATAL ERROR: Failed to move meta file to ${COMOUT_ATMOS_GEMPAK_META}/ecmwfver_${PDY}_${cyc2}"
exit "${err}"
fi

if [[ "${SENDDBN}" == "YES" ]] ; then
"${DBNROOT}/bin/dbn_alert" MODEL ECMWFVER_HPCMETAFILE "${job}" \
"${COM_ATMOS_GEMPAK_META}/ecmwfver_${PDY}_${cyc2}"
"${COMOUT_ATMOS_GEMPAK_META}/ecmwfver_${PDY}_${cyc2}"
fi

exit
12 changes: 6 additions & 6 deletions gempak/ush/gdas_meta_loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ device="nc | gdasloop.meta"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L "${COMIN}" ]]; then
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COMIN_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

if [[ "${envir}" == "para" ]] ; then
Expand All @@ -38,10 +38,10 @@ for (( fhr=24; fhr<=144; fhr+=24 )); do
cycles=$(seq -s ' ' -f "%02g" 0 6 "${cyc}")
for cycle in ${cycles}; do
# Test with GDAS in PROD
YMD=${day} HH=${cyc} GRID=1p00 declare_from_tmpl "COM_ATMOS_GEMPAK_1p00_past:COM_ATMOS_GEMPAK_TMPL"
YMD=${day} HH=${cyc} GRID=1p00 declare_from_tmpl "COMIN_ATMOS_GEMPAK_1p00_past:COM_ATMOS_GEMPAK_TMPL"
export COMIN="${RUN}.${day}${cycle}"
if [[ ! -L "${COMIN}" ]]; then
${NLN} "${COM_ATMOS_GEMPAK_1p00_past}" "${COMIN}"
${NLN} "${COMIN_ATMOS_GEMPAK_1p00_past}" "${COMIN}"
fi
gdfile="${COMIN}/gdas_1p00_${day}${cycle}f000"

Expand Down Expand Up @@ -228,16 +228,16 @@ if (( err != 0 )) || [[ ! -s gdasloop.meta ]]; then
exit "${err}"
fi

mv gdasloop.meta "${COM_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_loop"
mv gdasloop.meta "${COMOUT_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_loop"
export err=$?
if (( err != 0 )) ; then
echo "FATAL ERROR: Failed to move meta file to ${COM_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_loop"
echo "FATAL ERROR: Failed to move meta file to ${COMOUT_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_loop"
exit "${err}"
fi

if [[ ${SENDDBN} == "YES" ]] ; then
"${DBNROOT}/bin/dbn_alert" MODEL "${DBN_ALERT_TYPE}" "${job}" \
"${COM_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_loop"
"${COMOUT_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_loop"
fi

exit
8 changes: 4 additions & 4 deletions gempak/ush/gdas_meta_na.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ device="nc | gdas.meta"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L "${COMIN}" ]]; then
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COMIN_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

if [[ "${envir}" == "para" ]] ; then
Expand Down Expand Up @@ -99,14 +99,14 @@ if (( err != 0 )) || [[ ! -s gdas.meta ]] &> /dev/null; then
exit "${err}"
fi

mv gdas.meta "${COM_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_na"
mv gdas.meta "${COMOUT_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_na"
export err=$?
if (( err != 0 )) ; then
echo "FATAL ERROR: Failed to move meta file to ${COM_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_na"
echo "FATAL ERROR: Failed to move meta file to ${COMOUT_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_na"
exit "${err}"
fi

if [[ "${SENDDBN}" == "YES" ]] ; then
"${DBNROOT}/bin/dbn_alert" MODEL "${DBN_ALERT_TYPE}" "${job}" \
"${COM_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_na"
"${COMOUT_ATMOS_GEMPAK_META}/gdas_${PDY}_${cyc}_na"
fi
8 changes: 4 additions & 4 deletions gempak/ush/gdas_ukmet_meta_ver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
# SET CURRENT CYCLE AS THE VERIFICATION GRIDDED FILE.
export COMIN="gdas.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COMINT_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi
vergrid="F-GDAS | ${PDY:2}/0600"
fcsthr="0600f006"
Expand Down Expand Up @@ -155,16 +155,16 @@ if (( err != 0 )) || [[ ! -s ukmetver_12.meta ]]; then
exit "${err}"
fi

mv ukmetver_12.meta "${COM_ATMOS_GEMPAK_META}/ukmetver_${PDY}_12"
mv ukmetver_12.meta "${COMOUT_ATMOS_GEMPAK_META}/ukmetver_${PDY}_12"
export err=$?
if (( err != 0 )) ; then
echo "FATAL ERROR: Failed to move meta file to ${COM_ATMOS_GEMPAK_META}/ukmetver_${PDY}_12"
echo "FATAL ERROR: Failed to move meta file to ${COMOUT_ATMOS_GEMPAK_META}/ukmetver_${PDY}_12"
exit "${err}"
fi

if [[ "${SENDDBN}" == "YES" ]] ; then
"${DBNROOT}/bin/dbn_alert" MODEL UKMETVER_HPCMETAFILE "${job}" \
"${COM_ATMOS_GEMPAK_META}/ukmetver_${PDY}_12"
"${COMOUT_ATMOS_GEMPAK_META}/ukmetver_${PDY}_12"
fi

exit
44 changes: 22 additions & 22 deletions gempak/ush/gempak_gdas_f000_gif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,24 +274,24 @@ EOF

# Copy the GIF images into my area

cp "${hgttmp850dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp700dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp500dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso300dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso250dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso200dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${mslpthksfcdev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp850dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp700dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp500dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso300dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso250dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso200dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${mslpthksfcdev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."

# Send the GIF images onto the NCDC area on the public ftp server

if [[ ${SENDDBN} == YES ]]; then
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp850dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp700dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso300dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso200dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp850dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp700dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso300dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso200dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
fi


Expand Down Expand Up @@ -443,18 +443,18 @@ EOF


# Copy the GIF images into my area
cp "${mslpthksfcdev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp500dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso300dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso250dev}" "${COM_ATMOS_GEMPAK_GIF}/."
cp "${mslpthksfcdev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgttmp500dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso300dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."
cp "${hgtiso250dev}" "${COMOUT_ATMOS_GEMPAK_GIF}/."

# Copy the GIF images onto the NCDC area on the public ftp server

if [[ ${SENDDBN} == YES ]]; then
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso300dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso300dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso250dev}"
fi

exit
66 changes: 34 additions & 32 deletions gempak/ush/gempak_gfs_f000_gif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#
#########################################################################

source "${HOMEgfs}/ush/preamble.sh"

LATVAL="1/1/1/1/5;5"
pixels="1728;1472"
cp "${HOMEgfs}/gempak/fix/coltbl.spc" coltbl.xwp
Expand Down Expand Up @@ -533,41 +535,41 @@ EOF


# Copy the GIF images into my area
cp "${hgttmp700dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgttmp500dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtiso300dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtiso250dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgttmp250dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtiso200dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtiso100dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgttmp100dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${mslpthksfcdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${mslpthksfcusdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500usdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${liftdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${prswshtropdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${rhvvel700dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgttmp700dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgttmp500dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtiso300dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtiso250dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgttmp250dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtiso200dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtiso100dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgttmp100dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${mslpthksfcdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${mslpthksfcusdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500usdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${liftdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${prswshtropdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${rhvvel700dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"

# Copy the GIF images onto the NCDC area on the public ftp server

if [[ "${SENDDBN}" == "YES" ]]; then
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp700dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso300dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso200dev}"
# "${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp200dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtiso100dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgttmp100dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${mslpthksfcusdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtvor500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtvor500usdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${liftdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${prswshtropdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${rhvvel700dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp700dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso300dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp250dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso200dev}"
# "${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp200dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtiso100dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp100dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${mslpthksfcusdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtvor500dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtvor500usdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${liftdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${prswshtropdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${rhvvel700dev}"



Expand All @@ -576,7 +578,7 @@ fi
# Convert the 500mb NH Hgts/Temps chart to tif, attach a heading and
# send to TOC via the NTC

export input=${COM_ATMOS_GEMPAK_GIF}/${hgttmp500dev}
export input=${COMOUT_ATMOS_GEMPAK_GIF}/${hgttmp500dev}
export HEADER=YES
export OUTPATH=${DATA}/gfs_500_hgt_tmp_nh_anl_${cyc}.tif
"${USHgfs}/make_tif.sh"
Expand Down
18 changes: 10 additions & 8 deletions gempak/ush/gempak_gfs_fhhh_gif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#
#########################################################################

source "${HOMEgfs}/ush/preamble.sh"

LATVAL="1/1/1/1/5;5"
pixels="1728;1472"
cp "${HOMEgfs}/gempak/fix/coltbl.spc" coltbl.xwp
Expand Down Expand Up @@ -170,18 +172,18 @@ EOF

# Copy the GIF images into my area

cp "${mslpthksfcdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500usdev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${rhvvel700dev}" "${COM_ATMOS_GEMPAK_GIF}"
cp "${mslpthksfcdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${hgtvor500usdev}" "${COMOUT_ATMOS_GEMPAK_GIF}"
cp "${rhvvel700dev}" "${COMOUT_ATMOS_GEMPAK_GIF}"

# Copy the GIF images onto the NCDC area on the public ftp server

if [[ "${SENDDBN}" == YES ]]; then
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtvor500dev}"
# "${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${hgtvor500usdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COM_ATMOS_GEMPAK_GIF}/${rhvvel700dev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${mslpthksfcdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtvor500dev}"
# "${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${hgtvor500usdev}"
"${DBNROOT}/bin/dbn_alert" MODEL NCDCGIF "${job}" "${COMOUT_ATMOS_GEMPAK_GIF}/${rhvvel700dev}"
fi

echo "GEMPAK_GIF ${fhr3} hour completed normally"
Expand Down
14 changes: 7 additions & 7 deletions jobs/JGDAS_ATMOS_GEMPAK_META_NCDC
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}
##############################################
# Define COM directories
##############################################
GRID=1p00 YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COM_ATMOS_GEMPAK_1p00:COM_ATMOS_GEMPAK_TMPL"
GRID=1p00 YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COMIN_ATMOS_GEMPAK_1p00:COM_ATMOS_GEMPAK_TMPL"

GRID="meta" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COM_ATMOS_GEMPAK_META:COM_ATMOS_GEMPAK_TMPL"
if [[ ! -d "${COM_ATMOS_GEMPAK_META}" ]]; then
mkdir -m 775 -p "${COM_ATMOS_GEMPAK_META}"
GRID="meta" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COMOUT_ATMOS_GEMPAK_META:COM_ATMOS_GEMPAK_TMPL"
if [[ ! -d "${COMOUT_ATMOS_GEMPAK_META}" ]]; then
mkdir -m 775 -p "${COMOUT_ATMOS_GEMPAK_META}"
fi

if (( cyc%12 == 0 )); then
GRID="gif" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COM_ATMOS_GEMPAK_GIF:COM_ATMOS_GEMPAK_TMPL"
if [[ ! -d "${COM_ATMOS_GEMPAK_GIF}" ]]; then
mkdir -m 775 -p "${COM_ATMOS_GEMPAK_GIF}"
GRID="gif" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COMOUT_ATMOS_GEMPAK_GIF:COM_ATMOS_GEMPAK_TMPL"
if [[ ! -d "${COMOUT_ATMOS_GEMPAK_GIF}" ]]; then
mkdir -m 775 -p "${COMOUT_ATMOS_GEMPAK_GIF}"
fi
fi

Expand Down
Loading

0 comments on commit aea82a8

Please sign in to comment.