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

Release/public v2 #765

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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
6 changes: 6 additions & 0 deletions modulefiles/tasks/gaea/make_grid.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#%Module
module use /lustre/f2/pdata/esrl/gsd/contrib/modulefiles
module load rocoto
module load miniconda3

setenv SRW_ENV regional_workflow
6 changes: 6 additions & 0 deletions modulefiles/tasks/gaea/make_ics.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#%Module
module use /lustre/f2/pdata/esrl/gsd/contrib/modulefiles
module load rocoto
module load miniconda3

setenv SRW_ENV regional_workflow
6 changes: 6 additions & 0 deletions modulefiles/tasks/gaea/make_lbcs.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#%Module
module use /lustre/f2/pdata/esrl/gsd/contrib/modulefiles
module load rocoto
module load miniconda3

setenv SRW_ENV regional_workflow
6 changes: 6 additions & 0 deletions modulefiles/tasks/gaea/run_fcst.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#%Module
module use /lustre/f2/pdata/esrl/gsd/contrib/modulefiles
module load rocoto
module load miniconda3

setenv SRW_ENV regional_workflow
7 changes: 7 additions & 0 deletions modulefiles/tasks/gaea/run_vx.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#%Module

module use -a /contrib/anaconda/modulefiles
module load intel/18.0.5.274
module load anaconda/latest
module use -a /contrib/met/modulefiles/
module load met/10.0.0
4 changes: 2 additions & 2 deletions scripts/exregional_get_extrn_mdl_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ elif [ "${ICS_OR_LBCS}" = "LBCS" ]; then
input_file_path=${EXTRN_MDL_SOURCE_BASEDIR_LBCS:-$EXTRN_MDL_SYSBASEDIR_LBCS}
fi

data_stores="hpss aws"
data_stores="${EXTRN_MDL_DATA_STORES}"

yyyymmddhh=${extrn_mdl_cdate:0:10}
yyyy=${yyyymmddhh:0:4}
Expand Down Expand Up @@ -141,7 +141,7 @@ if [ -n "${file_names:-}" ] ; then
fi

if [ -n "${input_file_path:-}" ] ; then
data_stores="disk hpss aws"
data_stores="disk $data_stores"
additional_flags="$additional_flags \
--input_file_path ${input_file_path}"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_make_grid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ if [ "${GRID_GEN_METHOD}" = "GFDLgrid" ]; then
elif [ "${GRID_GEN_METHOD}" = "ESGgrid" ]; then
CRES="C${res_equiv}"
fi
set_file_param "${GLOBAL_VAR_DEFNS_FP}" "CRES" "\"$CRES\""
set_file_param "${GLOBAL_VAR_DEFNS_FP}" "CRES" "'$CRES'"
#
#-----------------------------------------------------------------------
#
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_ensgridvx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME
export NUM_ENS_MEMBERS
export NUM_PAD
export LOG_SUFFIX
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_ensgridvx_mean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME
export INPUT_BASE
export LOG_SUFFIX

Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_ensgridvx_prob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME
export LOG_SUFFIX

#
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_enspointvx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME
export NUM_ENS_MEMBERS

${METPLUS_PATH}/ush/run_metplus.py \
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_enspointvx_mean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME

${METPLUS_PATH}/ush/run_metplus.py \
-c ${METPLUS_CONF}/common.conf \
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_enspointvx_prob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME

${METPLUS_PATH}/ush/run_metplus.py \
-c ${METPLUS_CONF}/common.conf \
Expand Down
5 changes: 2 additions & 3 deletions scripts/exregional_run_fcst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ if [ ${WRITE_DOPOST} = "TRUE" ]; then
yyyymmdd=${cdate:0:8}
hh=${cdate:8:2}
cyc=$hh
tmmark="tm00"
fmn="00"

if [ "${RUN_ENVIR}" = "nco" ]; then
Expand All @@ -539,15 +538,15 @@ if [ ${WRITE_DOPOST} = "TRUE" ]; then
post_mn=${post_time:10:2}
post_mn_or_null=""
post_fn_suffix="GrbF${fhr_d}"
post_renamed_fn_suffix="f${fhr}${post_mn_or_null}.${tmmark}.grib2"
post_renamed_fn_suffix="f${fhr}${post_mn_or_null}.${POST_OUTPUT_DOMAIN_NAME}.grib2"

basetime=$( $DATE_UTIL --date "$yyyymmdd $hh" +%y%j%H%M )
symlink_suffix="_${basetime}f${fhr}${post_mn}"
fids=( "prslev" "natlev" )
for fid in "${fids[@]}"; do
FID=$(echo_uppercase $fid)
post_orig_fn="${FID}.${post_fn_suffix}"
post_renamed_fn="${NET}.t${cyc}z.${fid}${post_renamed_fn_suffix}"
post_renamed_fn="${NET}.t${cyc}z.${fid}.${post_renamed_fn_suffix}"
mv_vrfy ${run_dir}/${post_orig_fn} ${post_renamed_fn}
ln_vrfy -fs ${post_renamed_fn} ${FID}${symlink_suffix}
done
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_gridstatvx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME

#
#-----------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions scripts/exregional_run_pointstatvx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export METPLUS_CONF
export MET_CONFIG
export MODEL
export NET
export POST_OUTPUT_DOMAIN_NAME

${METPLUS_PATH}/ush/run_metplus.py \
-c ${METPLUS_CONF}/common.conf \
Expand Down
15 changes: 2 additions & 13 deletions scripts/exregional_run_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,6 @@ cyc=$hh
#
#-----------------------------------------------------------------------
#
# The tmmark is a reference value used in real-time, DA-enabled NCEP models.
# It represents the delay between the onset of the DA cycle and the free
# forecast. With no DA in the SRW App at the moment, it is hard-wired to
# tm00 for now.
#
#-----------------------------------------------------------------------
#
tmmark="tm00"
#
#-----------------------------------------------------------------------
#
# Create the namelist file (itag) containing arguments to pass to the post-
# processor's executable.
#
Expand Down Expand Up @@ -300,7 +289,7 @@ if [ "${post_mn}" != "00" ]; then
fi

post_fn_suffix="GrbF${post_fhr}${dot_post_mn_or_null}"
post_renamed_fn_suffix="f${fhr}${post_mn_or_null}.${tmmark}.grib2"
post_renamed_fn_suffix="f${fhr}${post_mn_or_null}.${POST_OUTPUT_DOMAIN_NAME}.grib2"
#
# For convenience, change location to postprd_dir (where the final output
# from UPP will be located). Then loop through the two files that UPP
Expand All @@ -314,7 +303,7 @@ fids=( "prslev" "natlev" )
for fid in "${fids[@]}"; do
FID=$(echo_uppercase $fid)
post_orig_fn="${FID}.${post_fn_suffix}"
post_renamed_fn="${NET}.t${cyc}z.${fid}${post_renamed_fn_suffix}"
post_renamed_fn="${NET}.t${cyc}z.${fid}.${post_renamed_fn_suffix}"
mv_vrfy ${tmp_dir}/${post_orig_fn} ${post_renamed_fn}
create_symlink_to_file target="${post_renamed_fn}" \
symlink="${FID}${symlink_suffix}" \
Expand Down
Loading