Skip to content

Commit

Permalink
Minor changes to run_v16retro.chgres.sh and set_fixed_files.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunxiZhang-NOAA committed Feb 23, 2023
1 parent 18fbdda commit 0ec219a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 6 additions & 4 deletions util/gdas_init/run_v16retro.chgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@ rm -fr $WORKDIR
mkdir -p $WORKDIR
cd $WORKDIR

source $UFS_DIR/util/gdas_init/set_fixed_files.sh

cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${CTAR}/fix_sfc"
mosaic_file_target_grid="${FIX_ORO}/${CTAR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${CTAR}"
orog_files_target_grid="${CTAR}_oro_data.tile1.nc","${CTAR}_oro_data.tile2.nc","${CTAR}_oro_data.tile3.nc","${CTAR}_oro_data.tile4.nc","${CTAR}_oro_data.tile5.nc","${CTAR}_oro_data.tile6.nc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
mosaic_file_input_grid="${FIX_ORO}/${CINP}/${CINP}_mosaic.nc"
orog_dir_input_grid="${FIX_ORO}/${CINP}"
orog_files_input_grid="${CINP}_oro_data.tile1.nc","${CINP}_oro_data.tile2.nc","${CINP}_oro_data.tile3.nc","${CINP}_oro_data.tile4.nc","${CINP}_oro_data.tile5.nc","${CINP}_oro_data.tile6.nc"
Expand Down
7 changes: 6 additions & 1 deletion util/gdas_init/set_fixed_files.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/bin/bash

#---------------------------------------------------------------------------
# Set directory names and file names for orog data
# The old and new (support fractional grid) orog data have different file names
#---------------------------------------------------------------------------

if [ "${FRAC_ORO:-"no"}" = "yes" ]; then
if [ ${CTAR} == 'C48' ] ; then
OCNRES='400'
OCNRES='500'
elif [ ${CTAR} == 'C96' ] ; then
OCNRES='100'
elif [ ${CTAR} == 'C192' ] ; then
Expand Down

0 comments on commit 0ec219a

Please sign in to comment.