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

Add namelist option for netCDF4 when running with the 3-km NA domain; update NAM HPSS settings and WE2E tests #707

Merged
merged 6 commits into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ EXTRN_MDL_NAME_ICS="NAM"
EXTRN_MDL_NAME_LBCS="NAM"
USE_USER_STAGED_EXTRN_FILES="TRUE"

DATE_FIRST_CYCL="20150602"
DATE_LAST_CYCL="20150602"
CYCL_HRS=( "12" )
DATE_FIRST_CYCL="20210615"
DATE_LAST_CYCL="20210615"
CYCL_HRS=( "00" )

FCST_LEN_HRS="24"
FCST_LEN_HRS="6"
LBC_SPEC_INTVL_HRS="3"
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ EXTRN_MDL_NAME_ICS="NAM"
EXTRN_MDL_NAME_LBCS="NAM"
USE_USER_STAGED_EXTRN_FILES="TRUE"

DATE_FIRST_CYCL="20150602"
DATE_LAST_CYCL="20150602"
CYCL_HRS=( "12" )
DATE_FIRST_CYCL="20210615"
DATE_LAST_CYCL="20210615"
CYCL_HRS=( "00" )

FCST_LEN_HRS="24"
FCST_LEN_HRS="6"
LBC_SPEC_INTVL_HRS="3"
9 changes: 9 additions & 0 deletions ush/generate_FV3LAM_wflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,15 @@ done
settings="$settings
}"
#
# Use netCDF4 when running the North American 3-km domain due to file size.
#
if [ "${PREDEF_GRID_NAME}" = "RRFS_NA_3km" ]; then
settings="$settings
'fms2_io_nml': {
'netcdf_default_format': netcdf4,
}"
fi
#
# Add the relevant SPP namelist variables to "settings" when running with
# SPP turned on. Otherwise only include an empty "nam_sppperts" stanza.
#
Expand Down
11 changes: 7 additions & 4 deletions ush/get_extrn_mdl_file_dir_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ function get_extrn_mdl_file_dir_info() {

"NAM")
fns=( "" )
fns_in_arcv=( "nam.t${hh}z.bgrdsf${fcst_hh}.tm00" )
fns_in_arcv=( "nam.t${hh}z.awphys${fcst_hh}.tm00.grib2" )
;;

*)
Expand Down Expand Up @@ -377,7 +377,7 @@ and analysis or forecast (anl_or_fcst):
;;

"NAM")
fn_tmpl="nam.t${hh}z.bgrdsfFHR3"
fn_tmpl="nam.t${hh}z.awphysFHR2.tm00.grib2"
;;

*)
Expand Down Expand Up @@ -599,11 +599,14 @@ bination of external model (extrn_mdl_name) and analysis or forecast
;;

"NAM")
#
# 12-km CONUS 218 grid.
#
arcv_dir="/NCEPPROD/hpssprod/runhistory/rh${yyyy}/${yyyy}${mm}/${yyyymmdd}"
arcv_fmt="tar"
arcv_fns="com_nam_prod_nam.${yyyy}${mm}${dd}${hh}.bgrid.${arcv_fmt}"
arcv_fns="com_nam_prod_nam.${yyyy}${mm}${dd}${hh}.awphys.${arcv_fmt}"
arcv_fps="${arcv_dir}/${arcv_fns}"
arcvrel_dir=""
arcvrel_dir="."
;;

*)
Expand Down
6 changes: 3 additions & 3 deletions ush/templates/data_locations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ NAM:
archive_path:
- /NCEPPROD/hpssprod/runhistory/rh{yyyy}/{yyyymm}/{yyyymmdd}
archive_file_names:
- com_nam_prod_nam.{yyyymmddhh}.bgrid.tar
- com_nam_prod_nam.{yyyymmddhh}.awphys{fcst_hr:02d}.tar
file_names:
anl:
- nam.t{hh}z.bgrdsf{fcst_hr:03d}.tm00
- nam.t{hh}z.awphys{fcst_hr:02d}.tm00.grib2
fcst:
- nam.t{hh}z.bgrdsf{fcst_hr:03d}
- nam.t{hh}z.awphys{fcst_hr:02d}.tm00.grib2