Skip to content

Commit

Permalink
Develop branch: Point exregional_make_ics.sh script to the new locati…
Browse files Browse the repository at this point in the history
…on for geogrid files (fix_am directory) (#366)

* Point exregional_make_ics.sh script to the new location for geogrid files (fix_am directory).
Set the config.community.sh external model staging user-defined variable to "false."

* Change path for geogrid files on Hera.

* Remove if statements for geogrid files in exregional_make_ics.sh, and update paths to fix_am/fix_sfc_climo in setup.sh to be consistent across platforms and remove paths to personal directories.

* Remove GRID_GEN_METHOD and reset EXPT_SUBDIR value. Keep USE_USER_STAGED_EXTRN_FILES set to "TRUE" but comment it out and add additional information for the user to uncomment this line if they wish to use this feature.

* Reset numerous variables to correct values
  • Loading branch information
JeffBeck-NOAA authored Dec 1, 2020
1 parent 88060a6 commit c66a835
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
18 changes: 4 additions & 14 deletions scripts/exregional_make_ics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,9 @@ case "${EXTRN_MDL_NAME_ICS}" in
nsoill_out="9"
fi
#
# These geogrid files need to be moved to more permanent locations.
# Path to the HRRRX geogrid file.
#
if [ "${MACHINE}" = "HERA" ]; then
geogrid_file_input_grid="/scratch2/BMC/det/beck/FV3-LAM/geo_em.d01.nc_HRRRX"
elif [ "${MACHINE}" = "JET" ]; then
geogrid_file_input_grid="/misc/whome/rtrr/HRRR/static/WPS/geo_em.d01.nc"
fi
geogrid_file_input_grid="${FIXgsm}/geo_em.d01.nc_HRRRX"

#Note that vgfrc, shdmin/shdmax (minmax_vgfrc), and lai fields are only available in HRRRX
#files after mid-July 2019, and only so long as the record order didn't change afterward
Expand Down Expand Up @@ -463,15 +459,9 @@ case "${EXTRN_MDL_NAME_ICS}" in
nsoill_out="9"
fi
#
# These geogrid files need to be moved to more permanent locations.
# Path to the RAPX geogrid file.
#
if [ "${MACHINE}" = "HERA" ]; then
geogrid_file_input_grid="/scratch2/BMC/det/beck/FV3-LAM/geo_em.d01.nc_RAPX"
elif [ "${MACHINE}" = "JET" ]; then
geogrid_file_input_grid="/misc/whome/rtrr/HRRR/static/WPS/geo_em.d01.nc"
elif [ "${MACHINE}" = "CHEYENNE" ]; then
geogrid_file_input_grid="/glade/p/ral/jntp/UFS_CAM/fix/geo_em.d01.nc_RAPX"
fi
geogrid_file_input_grid="${FIXgsm}/geo_em.d01.nc_RAPX"

vgtyp_from_climo=True
sotyp_from_climo=False
Expand Down
9 changes: 8 additions & 1 deletion ush/config.community.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@ FV3GFS_FILE_FMT_LBCS="grib2"

WTIME_RUN_FCST="01:00:00"

#
# Uncomment the following line in order to use user-staged external model
# files with locations and names as specified by EXTRN_MDL_SOURCE_BASEDIR_ICS/
# LBCS and EXTRN_MDL_FILES_ICS/LBCS.
#
#USE_USER_STAGED_EXTRN_FILES="TRUE"
#
# The following is specifically for Hera. It will have to be modified
# if on another platform, using other dates, other external models, etc.
USE_USER_STAGED_EXTRN_FILES="TRUE"
#
EXTRN_MDL_SOURCE_BASEDIR_ICS="/scratch2/BMC/det/UFS_SRW_app/v1p0/model_data/FV3GFS"
EXTRN_MDL_FILES_ICS=( "gfs.pgrb2.0p25.f000" )
EXTRN_MDL_SOURCE_BASEDIR_LBCS="/scratch2/BMC/det/UFS_SRW_app/v1p0/model_data/FV3GFS"
Expand Down
10 changes: 5 additions & 5 deletions ush/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -680,19 +680,19 @@ case $MACHINE in
"HERA")
FIXgsm=${FIXgsm:-"/scratch1/NCEPDEV/global/glopara/fix/fix_am"}
TOPO_DIR=${TOPO_DIR:-"/scratch1/NCEPDEV/global/glopara/fix/fix_orog"}
SFC_CLIMO_INPUT_DIR=${SFC_CLIMO_INPUT_DIR:-"/scratch1/NCEPDEV/da/George.Gayno/ufs_utils.git/climo_fields_netcdf"}
SFC_CLIMO_INPUT_DIR=${SFC_CLIMO_INPUT_DIR:-"/scratch1/NCEPDEV/global/glopara/fix/fix_sfc_climo"}
;;

"ORION")
FIXgsm=${FIXgsm:-"/work/noaa/fv3-cam/emc.campara/fix_fv3cam/fix_am"}
TOPO_DIR=${TOPO_DIR:-"/work/noaa/fv3-cam/emc.campara/fix_fv3cam/fix_orog"}
SFC_CLIMO_INPUT_DIR=${SFC_CLIMO_INPUT_DIR:-"/work/noaa/gsd-fv3-dev/gsketefia/UFS/climo_fields_netcdf"}
FIXgsm=${FIXgsm:-"/work/noaa/global/glopara/fix/fix_am"}
TOPO_DIR=${TOPO_DIR:-"/work/noaa/global/glopara/fix/fix_orog"}
SFC_CLIMO_INPUT_DIR=${SFC_CLIMO_INPUT_DIR:-"/work/noaa/global/glopara/fix/fix_sfc_climo"}
;;

"JET")
FIXgsm=${FIXgsm:-"/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/fix_am"}
TOPO_DIR=${TOPO_DIR:-"/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/fix_orog"}
SFC_CLIMO_INPUT_DIR=${SFC_CLIMO_INPUT_DIR:-"/lfs1/HFIP/hwrf-data/git/fv3gfs/fix/fix_sfc_climo"}
SFC_CLIMO_INPUT_DIR=${SFC_CLIMO_INPUT_DIR:-"/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/fix_sfc_climo"}
;;

"ODIN")
Expand Down

0 comments on commit c66a835

Please sign in to comment.