Skip to content

Commit

Permalink
rename COM_ATMOS_GRIB_TMPL as COM_ATMOS_GRIB_GRID_TMPL. Same for ocean
Browse files Browse the repository at this point in the history
  • Loading branch information
aerorahul committed Aug 25, 2023
1 parent 1f8bf78 commit 6262a0e
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion jobs/JGDAS_ATMOS_GEMPAK
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export model=${model:-gdas}
# Define COM directories
##############################################
for grid in 0p25 0p50 1p00; do
GRID=${grid} YMD=${PDY} HH=${cyc} generate_com -rx "COM_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_TMPL"
GRID=${grid} YMD=${PDY} HH=${cyc} generate_com -rx "COM_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_GRID_TMPL"
done

for grid in 1p00 0p25; do
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_AWIPS_20KM_1P0DEG
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export SENDAWIP=${SENDAWIP:-NO}
export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}

YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_WMO
GRID="0p25" YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_TMPL
GRID="0p25" YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_GRID_TMPL

if [[ ${SENDCOM} == "YES" && ! -d "${COM_ATMOS_WMO}" ]] ; then
mkdir -m 775 -p "${COM_ATMOS_WMO}"
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_AWIPS_G2
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export SENDAWIP=${SENDAWIP:-NO}
export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}

YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_WMO
GRID="0p25" YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_TMPL
GRID="0p25" YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_GRID_TMPL

if [[ ${SENDCOM} == "YES" && ! -d "${COM_ATMOS_WMO}" ]] ; then
mkdir -m 775 -p "${COM_ATMOS_WMO}"
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_CYCLONE_GENESIS
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export SCRIPTens_tracker=${SCRIPTens_tracker:-${HOMEens_tracker}/scripts}
# Define COM directories
##############################################
YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GENESIS
YMD=${PDY} HH=${cyc} GRID="0p25" generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_TMPL
YMD=${PDY} HH=${cyc} GRID="0p25" generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_GRID_TMPL

# The following variables are used by the tracker scripts which are outside
# of global-workflow and therefore can't be standardized at this time
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_CYCLONE_TRACKER
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export USHens_tracker=${USHens_tracker:-${HOMEens_tracker}/ush}
# Define COM and Data directories
##############################################
YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_TRACK COM_ATMOS_GENESIS
YMD=${PDY} HH=${cyc} GRID="0p25" generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_TMPL
YMD=${PDY} HH=${cyc} GRID="0p25" generate_com -rx COM_ATMOS_GRIB_0p25:COM_ATMOS_GRIB_GRID_TMPL

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

Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_GEMPAK
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export SENDDBN=${SENDDBN:-NO}
export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}

for grid in 0p25 0p50 1p00; do
GRID=${grid} YMD=${PDY} HH=${cyc} generate_com -rx "COM_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_TMPL"
GRID=${grid} YMD=${PDY} HH=${cyc} generate_com -rx "COM_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_GRID_TMPL"
done

for grid in 1p00 0p50 0p25 40km 35km_atl 35km_pac; do
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_PGRB2_SPEC_NPOESS
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export SENDDBN=${SENDDBN:-NO}
export DBNROOT=${DBNROOT:-${UTILROOT}/fakedbn}

YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GOES
GRID="0p50" YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GRIB_0p50:COM_ATMOS_GRIB_TMPL
GRID="0p50" YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_GRIB_0p50:COM_ATMOS_GRIB_GRID_TMPL

if [[ ${SENDCOM} == "YES" ]]; then
mkdir -m 775 -p "${COM_ATMOS_GOES}"
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGLOBAL_ARCHIVE
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_ANALYSIS COM_ATMOS_BUFR COM_ATMO
COM_WAVE_GRID COM_WAVE_HISTORY COM_WAVE_STATION

for grid in "0p25" "0p50" "1p00"; do
YMD=${PDY} HH=${cyc} GRID=${grid} generate_com -rx "COM_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_TMPL"
YMD=${PDY} HH=${cyc} GRID=${grid} generate_com -rx "COM_OCEAN_GRIB_${grid}:COM_OCEAN_GRIB_TMPL"
YMD=${PDY} HH=${cyc} GRID=${grid} generate_com -rx "COM_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_GRID_TMPL"
YMD=${PDY} HH=${cyc} GRID=${grid} generate_com -rx "COM_OCEAN_GRIB_${grid}:COM_OCEAN_GRIB_GRID_TMPL"
done

###############################################################
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGLOBAL_ATMOS_POST
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fi

for grid in '0p25' '0p50' '1p00'; do
prod_dir="COM_ATMOS_GRIB_${grid}"
GRID=${grid} YMD=${PDY} HH=${cyc} generate_com -rx "${prod_dir}:COM_ATMOS_GRIB_TMPL"
GRID=${grid} YMD=${PDY} HH=${cyc} generate_com -rx "${prod_dir}:COM_ATMOS_GRIB_GRID_TMPL"
if [[ ! -d "${prod_dir}" ]]; then mkdir -m 775 -p "${!prod_dir}"; fi
done

Expand Down
6 changes: 4 additions & 2 deletions parm/config/gfs/config.com
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ declare -rx COM_ATMOS_ANALYSIS_TMPL=${COM_BASE}'/analysis/atmos'
declare -rx COM_LAND_ANALYSIS_TMPL=${COM_BASE}'/analysis/land'
declare -rx COM_ATMOS_HISTORY_TMPL=${COM_BASE}'/model_data/atmos/history'
declare -rx COM_ATMOS_MASTER_TMPL=${COM_BASE}'/model_data/atmos/master'
declare -rx COM_ATMOS_GRIB_TMPL=${COM_BASE}'/products/atmos/grib2/${GRID}'
declare -rx COM_ATMOS_GRIB_TMPL=${COM_BASE}'/products/atmos/grib2'
declare -rx COM_ATMOS_GRIB_GRID_TMPL=${COM_BASE}'/products/atmos/grib2/${GRID}'
declare -rx COM_ATMOS_BUFR_TMPL=${COM_BASE}'/products/atmos/bufr'
declare -rx COM_ATMOS_GEMPAK_TMPL=${COM_BASE}'/products/atmos/gempak/${GRID}'
declare -rx COM_ATMOS_GENESIS_TMPL=${COM_BASE}'/products/atmos/cyclone/genesis_vital'
Expand All @@ -80,7 +81,8 @@ declare -rx COM_OCEAN_ANALYSIS_TMPL=${COM_BASE}'/analysis/ocean'
declare -rx COM_OCEAN_2D_TMPL=${COM_BASE}'/products/ocean/2D'
declare -rx COM_OCEAN_3D_TMPL=${COM_BASE}'/products/ocean/3D'
declare -rx COM_OCEAN_XSECT_TMPL=${COM_BASE}'/products/ocean/xsect'
declare -rx COM_OCEAN_GRIB_TMPL=${COM_BASE}'/products/ocean/grib2/${GRID}'
declare -rx COM_OCEAN_GRIB_TMPL=${COM_BASE}'/products/ocean/grib2'
declare -rx COM_OCEAN_GRIB_GRID_TMPL=${COM_BASE}'/products/ocean/grib2/${GRID}'

declare -rx COM_ICE_INPUT_TMPL=${COM_BASE}'/model_data/ice/input'
declare -rx COM_ICE_HISTORY_TMPL=${COM_BASE}'/model_data/ice/history'
Expand Down
6 changes: 5 additions & 1 deletion ush/load_fv3gfs_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ module list
ulimit -S -s "${ulimit_s}"
unset ulimit_s

set_trace
# If this function exists in the environment, run it; else do not
ftype=$(type -t set_trace)
if [[ "${ftype}" == "function" ]]; then
set_trace
fi

0 comments on commit 6262a0e

Please sign in to comment.