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

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
31 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
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
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
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: 8 additions & 6 deletions jobs/JGFS_ATMOS_GEMPAK_NCDC_UPAPGIF
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,20 @@ export COMPONENT="atmos"
##############################################
# Define COM directories
##############################################
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COM_OBS"
GRID=1p00 YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COM_ATMOS_GEMPAK_1p00:COM_ATMOS_GEMPAK_TMPL"
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COMIN_OBS:COM_OBS_TMPL
GRID=1p00 YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "COMIN_ATMOS_GEMPAK_1p00:COM_ATMOS_GEMPAK_TMPL"

for grid in gif upper_air; do
gempak_dir="COM_ATMOS_GEMPAK_${grid^^}"
# This job reads and writes to the GEMPAK directories
gempak_dir="COMIN_ATMOS_GEMPAK_${grid^^}"
gempak_out_dir="COMOUT_ATMOS_GEMPAK_${grid^^}"
GRID=${grid} YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "${gempak_dir}:COM_ATMOS_GEMPAK_TMPL"
GRID=${grid} YMD=${PDY} HH=${cyc} declare_from_tmpl -rx "${gempak_out_dir}:COM_ATMOS_GEMPAK_TMPL"
if [[ ! -d "${!gempak_dir}" ]]; then mkdir -m 775 -p "${!gempak_dir}"; fi
done

YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COM_ATMOS_WMO
if [[ ! -d "${COM_ATMOS_WMO}" ]]; then mkdir -m 775 -p "${COM_ATMOS_WMO}"; fi
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COMOUT_ATMOS_WMO:COM_ATMOS_WMO_TMPL
if [[ ! -d "${COMOUT_ATMOS_WMO}" ]]; then mkdir -m 775 -p "${COMOUT_ATMOS_WMO}"; fi

export SENDDBN=${SENDDBN:-NO}
export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}
Expand All @@ -65,4 +68,3 @@ fi
if [[ "${KEEPDATA}" != "YES" ]] ; then
rm -rf "${DATA}"
fi

6 changes: 4 additions & 2 deletions jobs/JGLOBAL_WAVE_GEMPAK
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ export DBN_ALERT_TYPE=GFS_WAVE_GEMPAK
export SENDDBN=${SENDDBN:-YES}
export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}

YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COM_WAVE_GRID COM_WAVE_GEMPAK
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
COMIN_WAVE_GRID:COM_WAVE_GRID_TMPL \
COMOUT_WAVE_GEMPAK:COM_WAVE_GEMPAK_TMPL

if [[ ! -d ${COM_WAVE_GEMPAK} ]]; then mkdir -p "${COM_WAVE_GEMPAK}"; fi
if [[ ! -d ${COMOUT_WAVE_GEMPAK} ]]; then mkdir -p "${COMOUT_WAVE_GEMPAK}"; fi

########################################################
# Execute the script.
Expand Down
1 change: 1 addition & 0 deletions modulefiles/module_base.wcoss2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ load(pathJoin("libjpeg", (os.getenv("libjpeg_ver") or "None")))
load(pathJoin("udunits", (os.getenv("udunits_ver") or "None")))
load(pathJoin("gsl", (os.getenv("gsl_ver") or "None")))
load(pathJoin("cdo", (os.getenv("cdo_ver") or "None")))
load(pathJoin("imagemagick", (os.getenv("imagemagick_ver") or "None")))

load(pathJoin("hdf5", (os.getenv("hdf5_ver") or "None")))
load(pathJoin("netcdf", (os.getenv("netcdf_ver") or "None")))
Expand Down
2 changes: 2 additions & 0 deletions parm/archive/gfs_downstream.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ gfs_downstream:
name: "GFS_DOWNSTREAM"
target: "{{ ATARDIR }}/{{ cycle_YMDH }}/gfs_downstream.tar"
required:
{% if DO_GEMPAK %}
- "{{ COMIN_ATMOS_GEMPAK | relpath(ROTDIR) }}/gfs_{{ cycle_YMDH }}.sfc"
- "{{ COMIN_ATMOS_GEMPAK | relpath(ROTDIR) }}/gfs_{{ cycle_YMDH }}.snd"
{% endif %}
{% for i in range(1, NUM_SND_COLLECTIVES) %}
- "{{ COMIN_ATMOS_BUFR | relpath(ROTDIR) }}/gfs_collective{{ i }}.fil"
{% endfor %}
KateFriedman-NOAA marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
1 change: 1 addition & 0 deletions parm/config/gfs/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,7 @@ case ${step} in
ntasks=1
threads_per_task=1
memory="4GB"
tasks_per_node=1
;;

"mos_stn_prep")
Expand Down
8 changes: 7 additions & 1 deletion parm/config/gfs/config.waveawipsgridded
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ echo "BEGIN: config.waveawipsgridded"
# Get task specific resources
. $EXPDIR/config.resources waveawipsgridded

export DBNROOT=/dev/null
# AWIPS output frequency
export FHMAX_HF_WAV_WMO=72
export FHMAX_WAV_WMO=180
export FHOUT_HF_WAV_WMO=3
export FHOUT_WAV_WMO=6
export FHMAX_HF_WAV_WMO=$(( FHMAX_HF_WAV_WMO > FHMAX_WAV ? FHMAX_WAV : FHMAX_HF_WAV_WMO ))
export FHMAX_WAV_WMO=$(( FHMAX_WAV_WMO > FHMAX_WAV ? FHMAX_WAV : FHMAX_WAV_WMO ))

echo "END: config.waveawipsgridded"
12 changes: 6 additions & 6 deletions scripts/exgfs_atmos_gempak_gif_ncdc_skew_t.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [[ "${MODEL}" == GDAS ]] || [[ "${MODEL}" == GFS ]]; then
max_tries=180
for fhr in ${fcsthrs}; do
fhr3=$(printf %03d "${fhr}")
export GRIBFILE=${COM_ATMOS_GEMPAK_1p00}/${RUN}_1p00_${PDY}${cyc}f${fhr3}
export GRIBFILE=${COMIN_ATMOS_GEMPAK_1p00}/${RUN}_1p00_${PDY}${cyc}f${fhr3}
if ! wait_for_file "${GRIBFILE}" "${sleep_interval}" "${max_tries}" ; then
echo "FATAL ERROR: ${GRIBFILE} not found after ${max_tries} iterations"
exit 10
Expand All @@ -50,7 +50,7 @@ export RSHPDY="${PDY:4:}${PDY:2:2}"
cp "${HOMEgfs}/gempak/dictionaries/sonde.land.tbl" sonde.land.tbl
cp "${HOMEgfs}/gempak/dictionaries/metar.tbl" metar.tbl
sort -k 2n,2 metar.tbl > metar_stnm.tbl
cp "${COM_OBS}/${model}.${cycle}.adpupa.tm00.bufr_d" fort.40
cp "${COMIN_OBS}/${model}.${cycle}.adpupa.tm00.bufr_d" fort.40
err=$?
if (( err != 0 )) ; then
echo "FATAL ERROR: File ${model}.${cycle}.adpupa.tm00.bufr_d could not be copied (does it exist?)."
Expand All @@ -68,11 +68,11 @@ export filesize=$( ls -l rdbfmsua.out | awk '{print $5}' )
################################################################

if (( filesize > 40 )); then
cp rdbfmsua.out "${COM_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperair"
cp sonde.idsms.tbl "${COM_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperairtble"
cp rdbfmsua.out "${COMOUT_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperair"
cp sonde.idsms.tbl "${COMOUT_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperairtble"
KateFriedman-NOAA marked this conversation as resolved.
Show resolved Hide resolved
if [[ ${SENDDBN} = "YES" ]]; then
"${DBNROOT}/bin/dbn_alert" DATA MSUPPER_AIR "${job}" "${COM_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperair"
"${DBNROOT}/bin/dbn_alert" DATA MSUPPER_AIRTBL "${job}" "${COM_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperairtble"
"${DBNROOT}/bin/dbn_alert" DATA MSUPPER_AIR "${job}" "${COMOUT_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperair"
"${DBNROOT}/bin/dbn_alert" DATA MSUPPER_AIRTBL "${job}" "${COMOUT_ATMOS_GEMPAK_UPPER_AIR}/${RUN}.${cycle}.msupperairtble"
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/exgfs_atmos_postsnd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ for fhr in "${hour_list[@]}"; do
echo "File ${filename} is required but not found."
err_exit "FATAL ERROR: logf${fhr} not found."
else
echo "${runscript} \"${fhr}\" \"${fhr_p}\" \"${FINT}\" \"${F00FLAG}\" \"${DATA}/${fhr}\"" >> "${DATA}/poescript_bufr"
echo "${runscript} ${fhr} ${fhr_p} ${FINT} ${F00FLAG} ${DATA}/${fhr}" >> "${DATA}/poescript_bufr"
fi
done

Expand Down
16 changes: 9 additions & 7 deletions scripts/exgfs_wave_nawips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
source "${USHgfs}/preamble.sh"

#export grids=${grids:-'glo_30m at_10m ep_10m wc_10m ao_9km'} #Interpolated grids
export grids=${grids:-'glo_30m'} #Native grids
export grids=${grids:-${waveinterpGRD:-'glo_30m'}} #Native grids
export RUNwave=${RUNwave:-${RUN}wave}
export fstart=${fstart:-0}
export FHMAX_WAV=${FHMAX_WAV:-180} #180 Total of hours to process
Expand Down Expand Up @@ -68,13 +68,15 @@ while [ ${fhcnt} -le ${FHMAX_WAV} ]; do
gso_15m) grdIDin='gsouth.0p25'
#grdIDout='gfswaves25k' ;;
grdIDout='gfswavesh' ;;
*) gridIDin=
glo_200) grdIDin='global.2p00'
grdIDout='gfswaves200k' ;;
*) grdIDin=
grdIDout= ;;
esac
GRIBIN="${COM_WAVE_GRID}/${RUNwave}.${cycle}.${grdIDin}.f${fhr}.grib2"
GRIBIN="${COMIN_WAVE_GRID}/${RUNwave}.${cycle}.${grdIDin}.f${fhr}.grib2"
GRIBIN_chk=${GRIBIN}.idx
if ! wait_for_file "${GRIBIN_chk}" "${sleep_interval}" "${maxtries}"; then
echo "FATAL ERROR: ${GRIBIN_chk} not found after waiting $((sleep_interval * ( max_tries - 1))) secs"
echo "FATAL ERROR: ${GRIBIN_chk} not found after waiting $((sleep_interval * ( maxtries - 1))) secs"
echo "${RUNwave} ${grdID} ${fhr} prdgen ${date} ${cycle} : GRIB file missing." >> "${wavelog}"
err=1;export err;"${errchk}" || exit "${err}"
fi
Expand Down Expand Up @@ -140,11 +142,11 @@ while [ ${fhcnt} -le ${FHMAX_WAV} ]; do
gpend
fi

cpfs "${GEMGRD}" "${COM_WAVE_GEMPAK}/${GEMGRD}"
cpfs "${GEMGRD}" "${COMOUT_WAVE_GEMPAK}/${GEMGRD}"
if [ ${SENDDBN} = "YES" ] ; then
"${DBNROOT}/bin/dbn_alert" MODEL "${DBN_ALERT_TYPE}" "${job}" "${COM_WAVE_GEMPAK}/${GEMGRD}"
"${DBNROOT}/bin/dbn_alert" MODEL "${DBN_ALERT_TYPE}" "${job}" "${COMOUT_WAVE_GEMPAK}/${GEMGRD}"
else
echo "##### DBN_ALERT is: MODEL ${DBN_ALERT_TYPE} ${job} ${COM_WAVE_GEMPAK}/${GEMGRD}#####"
echo "##### DBN_ALERT is: MODEL ${DBN_ALERT_TYPE} ${job} ${COMOUT_WAVE_GEMPAK}/${GEMGRD}#####"
fi
rm grib_${grid}
done
Expand Down
Loading