Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
18 changes: 18 additions & 0 deletions scripts/exregional_run_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,24 @@ temporary work directory (tmp_dir):
fi
cp_vrfy ${post_config_fp} ./postxconfig-NT.txt
cp_vrfy ${UPP_DIR}/parm/params_grib2_tbl_new .
if [ ${USE_CRTM} = "TRUE" ]; then
cp_vrfy ${CRTM_DIR}/fix/EmisCoeff/IR_Water/Big_Endian/Nalli.IRwater.EmisCoeff.bin ./
cp_vrfy ${CRTM_DIR}/fix/EmisCoeff/MW_Water/Big_Endian/FAST*.bin ./
cp_vrfy ${CRTM_DIR}/fix/EmisCoeff/IR_Land/SEcategory/Big_Endian/NPOESS.IRland.EmisCoeff.bin ./
cp_vrfy ${CRTM_DIR}/fix/EmisCoeff/IR_Snow/SEcategory/Big_Endian/NPOESS.IRsnow.EmisCoeff.bin ./
cp_vrfy ${CRTM_DIR}/fix/EmisCoeff/IR_Ice/SEcategory/Big_Endian/NPOESS.IRice.EmisCoeff.bin ./
cp_vrfy ${CRTM_DIR}/fix/AerosolCoeff/Big_Endian/AerosolCoeff.bin ./
cp_vrfy ${CRTM_DIR}/fix/CloudCoeff/Big_Endian/CloudCoeff.bin ./
cp_vrfy ${CRTM_DIR}/fix/SpcCoeff/Big_Endian/*.bin ./
cp_vrfy ${CRTM_DIR}/fix/TauCoeff/ODPS/Big_Endian/*.bin ./
print_info_msg "
====================================================================
Copying the external CRTM fix files from CRTM_DIR to the temporary
work directory (tmp_dir):
CRTM_DIR = \"${CRTM_DIR}\"
tmp_dir = \"${tmp_dir}\"
===================================================================="
fi
#
#-----------------------------------------------------------------------
#
Expand Down
22 changes: 22 additions & 0 deletions ush/config_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,28 @@ CUSTOM_POST_CONFIG_FP=""
#
#-----------------------------------------------------------------------
#
# Set parameters associated with outputting satellite fields in the UPP
# grib2 files using the Community Radiative Transfer Model (CRTM).
#
# USE_CRTM:
# Flag that defines whether external CRTM coefficient files have been
# staged by the user in order to output synthetic statellite products
# available within the UPP. If this is set to "TRUE", then the workflow
# will check for these files in the directory CRTM_DIR. Otherwise, it is
# assumed that no satellite fields are being requested in the UPP
# configuration.
#
# CRTM_DIR:
# This is the path to the top CRTM fix file directory. This is only used
# if USE_CRTM is set to "TRUE".
#
#-----------------------------------------------------------------------
#
USE_CRTM="FALSE"
CRTM_DIR=""
#
#-----------------------------------------------------------------------
#
# Set parameters associated with running ensembles. Definitions:
#
# DO_ENSEMBLE:
Expand Down
16 changes: 16 additions & 0 deletions ush/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,22 @@ fi
#
#-----------------------------------------------------------------------
#
# If using external CRTM fix files to allow post-processing of synthetic
# satellite products from the UPP, then make sure the fix file directory
# exists.
#
#-----------------------------------------------------------------------
#
if [ ${USE_CRTM} = "TRUE" ]; then
if [ ! -d "${CRTM_DIR}" ]; then
print_err_msg_exit "
The external CRTM fix file directory specified by CRTM_DIR does not exist:
CRTM_DIR = \"${CRTM_DIR}\""
fi
fi
#
#-----------------------------------------------------------------------
#
# The forecast length (in integer hours) cannot contain more than 3 cha-
# racters. Thus, its maximum value is 999. Check whether the specified
# forecast length exceeds this maximum value. If so, print out a warn-
Expand Down
1 change: 1 addition & 0 deletions ush/valid_param_vals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ valid_vals_NOMADS=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_NOMADS_file_type=("GRIB2" "grib2" "NEMSIO" "nemsio")
valid_vals_DO_ENSEMBLE=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_USE_CUSTOM_POST_CONFIG_FILE=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_USE_CRTM=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_DO_SHUM=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_DO_SPPT=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_DO_SPP=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
Expand Down