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

Additional fixes for downstream jobs #3187

Merged
merged 37 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5974b96
Only archive gempak if it was run
DavidHuber-NOAA Dec 20, 2024
2649a86
Remove literal quotes
DavidHuber-NOAA Dec 20, 2024
a038cb9
Shellcheck stuff
DavidHuber-NOAA Dec 20, 2024
1180627
Remove duplicate marinebmat entry
DavidHuber-NOAA Dec 20, 2024
1efe711
Add DO_GEMPAK to archive environment
DavidHuber-NOAA Dec 20, 2024
4b7d39e
Merge remote-tracking branch 'emc/develop' into fix/awips
DavidHuber-NOAA Dec 20, 2024
4df2811
Fix fbwinds resource assignments
DavidHuber-NOAA Dec 24, 2024
939c238
Source preamble in gfs_bufr.sh
DavidHuber-NOAA Dec 24, 2024
66440fd
Merge remote-tracking branch 'emc/develop' into fix/awips
DavidHuber-NOAA Dec 30, 2024
52a1225
Remove duplicate preamble sourcing
DavidHuber-NOAA Dec 30, 2024
28e7775
Enable AWIPS for extended CI test
DavidHuber-NOAA Dec 30, 2024
0796a09
Source config.fbwnd if running AWIPS in forecast only mode
DavidHuber-NOAA Jan 2, 2025
6c3fb14
Merge branch 'develop' into fix/awips
aerorahul Jan 3, 2025
06bc9dd
Merge branch 'develop' into fix/awips
DavidHuber-NOAA Jan 6, 2025
66a0f86
Merge remote-tracking branch 'emc/develop' into fix/awips
DavidHuber-NOAA Jan 7, 2025
6d746b6
Merge remote-tracking branch 'emc/develop' into HEAD
DavidHuber-NOAA Jan 7, 2025
a1831e5
Apply multiple fixes for the gempakncdcupapgif job
DavidHuber-NOAA Jan 8, 2025
8187b7a
Address shellcheck issues
DavidHuber-NOAA Jan 8, 2025
1309cc0
Add missing braces
DavidHuber-NOAA Jan 8, 2025
1488020
Merge remote-tracking branch 'emc/develop' into fix/awips
DavidHuber-NOAA Jan 8, 2025
ce3924a
Replace COM with COMIN/OUT for the wavegempak jjob
DavidHuber-NOAA Jan 10, 2025
cdea635
Fix multiple issues with waveawipsgridded job
DavidHuber-NOAA Jan 10, 2025
ed10ae1
Replace COM with COMIN/OUT for wavegempak script; add glo_200 grid ru…
DavidHuber-NOAA Jan 10, 2025
ec02b2e
Group gempak/goes tasks
DavidHuber-NOAA Jan 10, 2025
4b1551f
Remove obs-dependent gempak jobs from forecast-only
DavidHuber-NOAA Jan 10, 2025
3444223
Fix cleanup dependencies for gempak jobs
DavidHuber-NOAA Jan 10, 2025
82f8705
Merge remote-tracking branch 'emc/develop' into fix/awips
DavidHuber-NOAA Jan 10, 2025
3bbcc41
Remove shellcheck directive
DavidHuber-NOAA Jan 10, 2025
5789de3
Update gfs_utils hash
DavidHuber-NOAA Jan 10, 2025
5265d98
Add C48_S2SW_extended test case
DavidHuber-NOAA Jan 10, 2025
8905bfa
Clarify COM directory creation
DavidHuber-NOAA Jan 10, 2025
c86e105
Update gfs_utils hash
DavidHuber-NOAA Jan 13, 2025
f703fd4
Merge branch 'develop' into fix/awips
DavidHuber-NOAA Jan 14, 2025
26a6b03
Merge remote-tracking branch 'emc/develop' into fix/awips
DavidHuber-NOAA Jan 14, 2025
ba344ec
Replace COM with COMIN/COMOUT in gempak meta jjob
DavidHuber-NOAA Jan 14, 2025
ecdb3c2
Additional COMIN/OUT changes in gempak ush scripts
DavidHuber-NOAA Jan 14, 2025
d4d1e59
Partial fixes for the waveawipsbulls job
DavidHuber-NOAA Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading