Skip to content

Commit

Permalink
Clean out non-gfs top level variables (#2366)
Browse files Browse the repository at this point in the history
Clean out non-gfs top level variables that are duplicates or no longer needed.
Also standardize how we set these variables in scripts.

Refs #2332
  • Loading branch information
KateFriedman-NOAA committed Mar 7, 2024
1 parent c7b306e commit f83d17a
Show file tree
Hide file tree
Showing 161 changed files with 543 additions and 933 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ fix/chem
fix/cice
fix/cpl
fix/datm
fix/gldas
fix/gdas
fix/gsi
fix/lut
Expand Down
46 changes: 23 additions & 23 deletions gempak/fix/gfs_meta
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
$USHgempak/gfs_meta_us.sh 36 84 126 216
$USHgempak/gfs_meta_bwx.sh 36 84 126 180
$USHgempak/gfs_meta_comp.sh 36 84 126
$USHgempak/gfs_meta_ak.sh 36 84 132 216
$USHgempak/gfs_meta_crb.sh 126
$USHgempak/gfs_meta_hur.sh 36 84 126
$USHgempak/gfs_meta_qpf.sh 36 84 132 216
$USHgempak/gfs_meta_precip.sh 36 84 132 216 384
$USHgempak/gfs_meta_sa.sh 126
$USHgempak/gfs_meta_ver.sh 126
$USHgempak/gfs_meta_hi.sh 384
$USHgempak/gfs_meta_nhsh.sh 384
$USHgempak/gfs_meta_trop.sh 384
$USHgempak/gfs_meta_usext.sh 384
$USHgempak/gfs_meta_mar_ql.sh 24 48 96 180
$USHgempak/gfs_meta_mar_comp.sh 126
$USHgempak/gfs_meta_opc_na_ver 126
$USHgempak/gfs_meta_opc_np_ver 126
$USHgempak/gfs_meta_mar_atl.sh 180
$USHgempak/gfs_meta_mar_pac.sh 180
$USHgempak/gfs_meta_mar_ver.sh 48
$USHgempak/gfs_meta_mar_skewt.sh 72
$USHgempak/gfs_meta_sa2.sh 144
${HOMEgfs}/gempak/ush/gfs_meta_us.sh 36 84 126 216
${HOMEgfs}/gempak/ush/gfs_meta_bwx.sh 36 84 126 180
${HOMEgfs}/gempak/ush/gfs_meta_comp.sh 36 84 126
${HOMEgfs}/gempak/ush/gfs_meta_ak.sh 36 84 132 216
${HOMEgfs}/gempak/ush/gfs_meta_crb.sh 126
${HOMEgfs}/gempak/ush/gfs_meta_hur.sh 36 84 126
${HOMEgfs}/gempak/ush/gfs_meta_qpf.sh 36 84 132 216
${HOMEgfs}/gempak/ush/gfs_meta_precip.sh 36 84 132 216 384
${HOMEgfs}/gempak/ush/gfs_meta_sa.sh 126
${HOMEgfs}/gempak/ush/gfs_meta_ver.sh 126
${HOMEgfs}/gempak/ush/gfs_meta_hi.sh 384
${HOMEgfs}/gempak/ush/gfs_meta_nhsh.sh 384
${HOMEgfs}/gempak/ush/gfs_meta_trop.sh 384
${HOMEgfs}/gempak/ush/gfs_meta_usext.sh 384
${HOMEgfs}/gempak/ush/gfs_meta_mar_ql.sh 24 48 96 180
${HOMEgfs}/gempak/ush/gfs_meta_mar_comp.sh 126
${HOMEgfs}/gempak/ush/gfs_meta_opc_na_ver 126
${HOMEgfs}/gempak/ush/gfs_meta_opc_np_ver 126
${HOMEgfs}/gempak/ush/gfs_meta_mar_atl.sh 180
${HOMEgfs}/gempak/ush/gfs_meta_mar_pac.sh 180
${HOMEgfs}/gempak/ush/gfs_meta_mar_ver.sh 48
${HOMEgfs}/gempak/ush/gfs_meta_mar_skewt.sh 72
${HOMEgfs}/gempak/ush/gfs_meta_sa2.sh 144
10 changes: 5 additions & 5 deletions gempak/ush/gdas_meta_na.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ PROJ = str/90;-105;0
LATLON = 1
restore $USHgempak/restore/pmsl_thkn.2.nts
restore ${HOMEgfs}/gempak/ush/restore/pmsl_thkn.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -60,7 +60,7 @@ l
ru
restore $USHgempak/restore/850mb_hght_tmpc.2.nts
restore ${HOMEgfs}/gempak/ush/restore/850mb_hght_tmpc.2.nts
CLRBAR = 1
TEXT = 1/21//hw
SKIP = 0 !0 !0 !0 !/3
Expand All @@ -70,23 +70,23 @@ l
ru
restore $USHgempak/restore/700mb_hght_relh_omeg.2.nts
restore ${HOMEgfs}/gempak/ush/restore/700mb_hght_relh_omeg.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HGT, REL HUMIDITY AND OMEGA|~@ HGT, RH AND OMEGA!0
l
ru
restore $USHgempak/restore/500mb_hght_absv.2.nts
restore ${HOMEgfs}/gempak/ush/restore/500mb_hght_absv.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HGT AND VORTICITY|~@ HGT AND VORTICITY!0
l
ru
restore $USHgempak/restore/250mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/250mb_hght_wnd.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HGT, ISOTACHS AND WIND (KTS)|~@ HGT AND WIND!0
Expand Down
18 changes: 9 additions & 9 deletions gempak/ush/gfs_meta_hi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ MAP = 1
CLEAR = yes
CLRBAR = 1
restore ${USHgempak}/restore/garea_hi.nts
restore ${HOMEgfs}/gempak/ush/restore/garea_hi.nts
restore ${USHgempak}/restore/pmsl_thkn.2.nts
restore ${HOMEgfs}/gempak/ush/restore/pmsl_thkn.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -56,47 +56,47 @@ l
ru
restore ${USHgempak}/restore/850mb_hght_tmpc.2.nts
restore ${HOMEgfs}/gempak/ush/restore/850mb_hght_tmpc.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HGHTS, TEMPERATURE AND WIND (KTS)|~@ HGHT, TMP, WIND!0!0!0
l
ru
restore ${USHgempak}/restore/700mb_hght_relh_omeg.2.nts
restore ${HOMEgfs}/gempak/ush/restore/700mb_hght_relh_omeg.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HGHTS, REL HUMIDITY AND OMEGA|~@ HGHT, RH AND OMEGA!0
l
ru
restore ${USHgempak}/restore/500mb_hght_absv.2.nts
restore ${HOMEgfs}/gempak/ush/restore/500mb_hght_absv.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HEIGHTS AND VORTICITY|~@ HGHT AND VORTICITY!0
l
ru
restore ${USHgempak}/restore/200mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/200mb_hght_wnd.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HEIGHTS, ISOTACHS AND WIND (KTS)|~@ HGHT AND WIND!0
l
ru
restore ${USHgempak}/restore/250mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/250mb_hght_wnd.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HEIGHTS, ISOTACHS AND WIND (KTS)|~@ HGHT AND WIND!0
l
ru
restore ${USHgempak}/restore/300mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/300mb_hght_wnd.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 5/-2/~ ? $m_title @ HEIGHTS, ISOTACHS AND WIND (KTS)|~@ HGHT AND WIND!0
Expand Down Expand Up @@ -149,7 +149,7 @@ CLRBAR = 1
r
restore ${USHgempak}/restore/precip.2.nts
restore ${HOMEgfs}/gempak/ush/restore/precip.2.nts
CLRBAR = 1
TEXT = 1/21//hw
GDATTIM = F12-F192-06; F214-F384-12
Expand Down
16 changes: 8 additions & 8 deletions gempak/ush/gfs_meta_nhsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ MAP = 1
CLEAR = yes
CLRBAR = 1
restore ${USHgempak}/restore/garea_nh.nts
restore ${HOMEgfs}/gempak/ush/restore/garea_nh.nts
restore ${USHgempak}/restore/500mb_hght_absv.2.nts
restore ${HOMEgfs}/gempak/ush/restore/500mb_hght_absv.2.nts
CLRBAR = 1
TEXT = 1/21//hw
SKIP = 0 !0 !1
Expand All @@ -65,18 +65,18 @@ l
ru
restore ${USHgempak}/restore/garea_sh.nts
restore ${HOMEgfs}/gempak/ush/restore/garea_sh.nts
DEVICE = nc | Nmeta_sh
TITLE = 5//~ ? $m_title @ HEIGHTS AND VORTICITY|~ @ HGHT AND VORTICITY!0
l
ru
restore ${USHgempak}/restore/garea_nh.nts
restore ${HOMEgfs}/gempak/ush/restore/garea_nh.nts
DEVICE = nc | Nmeta_nh
restore ${USHgempak}/restore/250mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/250mb_hght_wnd.2.nts
CLRBAR = 1
TEXT = 1/21//hw
GDPFUN = knts((mag(wnd))) !sm9s(hght)
Expand All @@ -85,11 +85,11 @@ l
ru
restore ${USHgempak}/restore/garea_sh.nts
restore ${HOMEgfs}/gempak/ush/restore/garea_sh.nts
DEVICE = nc | Nmeta_sh
ru
restore ${USHgempak}/restore/precip.2.nts
restore ${HOMEgfs}/gempak/ush/restore/precip.2.nts
CLRBAR = 1
TEXT = 1/21//hw
GDATTIM = F12-F240-12
Expand All @@ -99,7 +99,7 @@ TITLE = 5//~ ? $m_title 12-HOUR TOTAL PRECIPITATION (IN)|~ 12-HOURLY TOTAL PCP
l
r
restore ${USHgempak}/restore/garea_sh.nts
restore ${HOMEgfs}/gempak/ush/restore/garea_sh.nts
DEVICE = nc | Nmeta_sh
ru
Expand Down
12 changes: 6 additions & 6 deletions gempak/ush/gfs_meta_us.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ GAREA = 17.529;-129.296;53.771;-22.374
PROJ = str/90;-105;0
LATLON = 0
restore $USHgempak/restore/pmsl_thkn.2.nts
restore ${HOMEgfs}/gempak/ush/restore/pmsl_thkn.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -62,7 +62,7 @@ l
run
restore $USHgempak/restore/850mb_hght_tmpc.2.nts
restore ${HOMEgfs}/gempak/ush/restore/850mb_hght_tmpc.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -71,7 +71,7 @@ l
run
restore $USHgempak/restore/700mb_hght_relh_omeg.2.nts
restore ${HOMEgfs}/gempak/ush/restore/700mb_hght_relh_omeg.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -80,7 +80,7 @@ l
run
restore $USHgempak/restore/500mb_hght_absv.2.nts
restore ${HOMEgfs}/gempak/ush/restore/500mb_hght_absv.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -89,7 +89,7 @@ l
run
restore $USHgempak/restore/250mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/250mb_hght_wnd.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
Expand All @@ -98,7 +98,7 @@ l
run
restore $USHgempak/restore/p06m_pmsl.2.nts
restore ${HOMEgfs}/gempak/ush/restore/p06m_pmsl.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
HLSYM = 2;1.5//21//hw
Expand Down
14 changes: 7 additions & 7 deletions gempak/ush/gfs_meta_usext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,43 +71,43 @@ GAREA = 17.529;-129.296;53.771;-22.374
PROJ = str/90;-105;0
LATLON = 18/2
restore ${USHgempak}/restore/pmsl_thkn.2.nts
restore ${HOMEgfs}/gempak/ush/restore/pmsl_thkn.2.nts
CLRBAR = 1
HLSYM = 2;1.5//21//hw
TEXT = 1/21//hw
TITLE = 1/-2/~ ? $m_title PMSL, 1000-500 MB THICKNESS|~MSLP, 1000-500 THKN!0
l
run
restore ${USHgempak}/restore/850mb_hght_tmpc.2.nts
restore ${HOMEgfs}/gempak/ush/restore/850mb_hght_tmpc.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 1/-2/~ ? $m_title @ HGT, TEMPERATURE AND WIND (KTS)|~@ HGT, TMP, WIND!0
l
run
restore ${USHgempak}/restore/700mb_hght_relh_omeg.2.nts
restore ${HOMEgfs}/gempak/ush/restore/700mb_hght_relh_omeg.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 1/-2/~ ? $m_title @ HGT, REL HUMIDITY AND OMEGA|~@ HGT, RH AND OMEGA!0
l
run
restore ${USHgempak}/restore/500mb_hght_absv.2.nts
restore ${HOMEgfs}/gempak/ush/restore/500mb_hght_absv.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 1/-2/~ ? $m_title @ HGT AND VORTICITY|~@ HGT AND VORTICITY!0
l
run
restore ${USHgempak}/restore/500mb_hght_gabsv.2.nts
restore ${HOMEgfs}/gempak/ush/restore/500mb_hght_gabsv.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 1/-2/~ ? $m_title @ HGT AND GEO ABS VORT|~@ HGT, GEO ABS VORT!0
l
run
restore ${USHgempak}/restore/250mb_hght_wnd.2.nts
restore ${HOMEgfs}/gempak/ush/restore/250mb_hght_wnd.2.nts
CLRBAR = 1
TEXT = 1/21//hw
TITLE = 1/-2/~ ? $m_title @ HGT, ISOTACHS AND WIND (KTS)|~@ HGT AND WIND!0
Expand Down Expand Up @@ -137,7 +137,7 @@ CLEAR = YES
l
run
restore ${USHgempak}/restore/precip.2.nts
restore ${HOMEgfs}/gempak/ush/restore/precip.2.nts
CLRBAR = 1
TEXT = 1/21//hw
HILO = 31;0/x#2/.25-10///y
Expand Down
14 changes: 2 additions & 12 deletions jobs/JGDAS_ATMOS_GEMPAK
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ source "${HOMEgfs}/ush/jjob_header.sh" -e "gempak" -c "base gempak"

# TODO (#1219) This j-job is not part of the rocoto suite

################################
# Set up the HOME directory
export EXECgfs=${EXECgfs:-${HOMEgfs}/exec}
export PARMgfs=${PARMgfs:-${HOMEgfs}/parm}
export PARMwmo=${PARMwmo:-${HOMEgfs}/parm/wmo}
export PARMproduct=${PARMproduct:-${HOMEgfs}/parm/product}
export USHgempak=${USHgempak:-${HOMEgfs}/gempak/ush}
export SRCgfs=${SRCgfs:-${HOMEgfs}/scripts}
export UTILgfs=${UTILgfs:-${HOMEgfs}/util}

############################################
# Set up model and cycle specific variables
############################################
Expand Down Expand Up @@ -58,12 +48,12 @@ fi

########################################################
# Execute the script.
echo "${SRCgfs}/exgdas_atmos_nawips.sh gdas 009 GDAS_GEMPAK ${COM_ATMOS_GEMPAK_1p00}" >> poescript
echo "${SCRgfs}/exgdas_atmos_nawips.sh gdas 009 GDAS_GEMPAK ${COM_ATMOS_GEMPAK_1p00}" >> poescript
########################################################

########################################################
# Execute the script for quater-degree grib
echo "${SRCgfs}/exgdas_atmos_nawips.sh gdas_0p25 009 GDAS_GEMPAK ${COM_ATMOS_GEMPAK_0p25}" >> poescript
echo "${SCRgfs}/exgdas_atmos_nawips.sh gdas_0p25 009 GDAS_GEMPAK ${COM_ATMOS_GEMPAK_0p25}" >> poescript
########################################################

cat poescript
Expand Down
Loading

0 comments on commit f83d17a

Please sign in to comment.