Prepare Base Run Script
Prepare Base Run Script cindyhg Tue, 08/20/2019 - 12:26PREPARE ENKF RUN SCRIPT FOR TUTORIAL CASES
Setting up the Run Script
The EnKF run script
comenkf_run_regional.ksh
, which is provided with the source code, must be customized to the local environment. These changes include things such as the analysis time and date, the path to files, and MPI specific information, which are necessary for running all of the basic tutorial cases.For this tutorial, start by copying the original run script to a working copy
cd ${PATH of working directory}/run/
cp ${PATH}/comGSIv3.7_EnKFv1.3/ush/comenkf_run_regional.ksh run_enkf_wrf.ksh_basic
that will be used as the template for the scripts used in the tutorial cases.Make the following modifications to the script
run_enkf_wrf.ksh_basic
- set the job header if running in MPI mode (consult local IT support for more information about the local environment).
- set the value of variable
GSIPROC
- set the variable
ARCH
to the value appropriate for your system.- In the case set up section of the script, set the environment variables to values appropriate for the tutorial case. Below lists the lines that might need modifications.
ANAL_TIME=2014021300
JOB_DIR=$(PATH)/run
RUN_NAME=enkf_baisc
OBS_ROOT=$(PATH)/enkf_arw_2014021300/obs
BK_ROOT=$(PATH)/enkf_arw_2014021300/bkg
GSI_ROOT=$(where you put the)/comGSIv3.7_EnKFv1.3
CRTM_ROOT=${PATH}/CRTM_2.2.3
diag_ROOT=${PATH}/run/observer_basic
ENKF_EXE=${JOB_DIR}/enkf_wrf.x
WORK_ROOT=${JOB_DIR}/${RUN_NAME}
FIX_ROOT=${GSI_ROOT}/fix
EnKF_NAMELIST=${GSI_ROOT}/ush/comenkf_namelist.sh
- In the ensemble parameters setion, check for proper case/ensemble settings:
NMEM_ENKF=20
BK_FILE_mem=${BK_ROOT}/wrfarw
NLONS=129
NLATS=70
NLEVS=50
IF_ARW=.true.
IF_NMM=.false.
- Directly following, check the list to select observations (from the diags files):
list="conv"
# list="conv amsua_n18 hirs4_n19"
- On NCAR Cheyenne, the basic scripts are submitted to the queue by typing:
qsub run_enkf_wrf.ksh_basic
An example of this basic run script is available from the link run_enkf_wrf.ksh_basic