From c66a835ae8c6b8e0634cffc19ce8fbc783890347 Mon Sep 17 00:00:00 2001 From: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com> Date: Tue, 1 Dec 2020 16:32:53 -0700 Subject: [PATCH] Develop branch: Point exregional_make_ics.sh script to the new location 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 --- scripts/exregional_make_ics.sh | 18 ++++-------------- ush/config.community.sh | 9 ++++++++- ush/setup.sh | 10 +++++----- 3 files changed, 17 insertions(+), 20 deletions(-) diff --git a/scripts/exregional_make_ics.sh b/scripts/exregional_make_ics.sh index 4f1b3d6ead..d511475ece 100755 --- a/scripts/exregional_make_ics.sh +++ b/scripts/exregional_make_ics.sh @@ -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 @@ -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 diff --git a/ush/config.community.sh b/ush/config.community.sh index e09b547c20..34560bee09 100644 --- a/ush/config.community.sh +++ b/ush/config.community.sh @@ -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" diff --git a/ush/setup.sh b/ush/setup.sh index e42c1b3e5d..112dde1cc2 100755 --- a/ush/setup.sh +++ b/ush/setup.sh @@ -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")