Skip to content

Commit

Permalink
[dev-sci] Turn on bufrsnd for retros and add GSI fix files (#572)
Browse files Browse the repository at this point in the history
1) Set agent links for BUFRSND rrfs_profdat.2000 and rrfs_profdat.1850.
2) Turn on BUFRSND for retros.
3) Do not delete forecast output from run directory at 00/06/12/18 cycles
for BUFRSND.
4) Add agent links to GDIT GSI speed up fix files.  Update GSI scripts to use those files from the fix directory.
  • Loading branch information
hu5970 authored Dec 5, 2024
1 parent 97da937 commit 6c454a6
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 13 deletions.
1 change: 1 addition & 0 deletions fix/bufrsnd/RRFS_NA_3km/rrfs_profdat.1850
1 change: 1 addition & 0 deletions fix/bufrsnd/RRFS_NA_3km/rrfs_profdat.2000
1 change: 1 addition & 0 deletions fix/gsi/RRFS_NA_3km/anl_grid.240.3950.2700
1 change: 1 addition & 0 deletions fix/gsi/RRFS_NA_3km/anl_grid.480.3950.2700
1 change: 1 addition & 0 deletions fix/gsi/RRFS_NA_3km/xnorm_new.240.1351.1976
1 change: 1 addition & 0 deletions fix/gsi/RRFS_NA_3km/xnorm_new.480.1351.1976
9 changes: 9 additions & 0 deletions scripts/exrrfs_run_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,15 @@ cp ${gsi_exec} ${analworkdir}/gsi.x
export pgm="gsi.x"
. prep_step

if [ -r ${FIX_GSI}/${PREDEF_GRID_NAME}/xnorm_new.480.1351.1976 ] && [ -r ${FIX_GSI}/${PREDEF_GRID_NAME}/anl_grid.480.3950.2700 ]; then
cp ${FIX_GSI}/${PREDEF_GRID_NAME}/xnorm_new.480.1351.1976 .
cp ${FIX_GSI}/${PREDEF_GRID_NAME}/anl_grid.480.3950.2700 .
fi
if [ -r ${FIX_GSI}/${PREDEF_GRID_NAME}/xnorm_new.240.1351.1976 ] && [ -r ${FIX_GSI}/${PREDEF_GRID_NAME}/anl_grid.240.3950.2700 ]; then
cp ${FIX_GSI}/${PREDEF_GRID_NAME}/xnorm_new.240.1351.1976 .
cp ${FIX_GSI}/${PREDEF_GRID_NAME}/anl_grid.240.3950.2700 .
fi

$APRUN ./$pgm < gsiparm.anl >>$pgmout 2>errfile
export err=$?; err_chk
mv errfile errfile_gsi
Expand Down
16 changes: 6 additions & 10 deletions scripts/exrrfs_run_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,16 +424,12 @@ fi
#-----------------------------------------------------------------------
#
if [ ${PREDEF_GRID_NAME} = "RRFS_NA_3km" ]; then
indx="00 06 12 18"
for i in $indx
do
if [ "$cyc" == $i ]; then
echo "long forecast cycle, keep .nc for bufrsnd"
else
rm -f ${dyn_file}
rm -f ${phy_file}
fi
done
if [ "$cyc" == "00" ] || [ "$cyc" == "06" ] || [ "$cyc" == "12" ] || [ "$cyc" == "18" ]; then
echo "long forecast cycle, keep .nc for bufrsnd"
else
rm -f ${dyn_file}
rm -f ${phy_file}
fi
fi
#
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions ush/sample_configs/RRFS_A/config.sh_rrfs_a_n3_retro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RADARREFL_TIMELEVEL=(0)
FH_DFI_RADAR="0.0,0.25,0.5"
DO_SOIL_ADJUST="TRUE"
DO_RADDA="TRUE"
DO_BUFRSND="FALSE"
DO_BUFRSND="TRUE"
USE_FVCOM="FALSE"
PREP_FVCOM="FALSE"
USE_CLM="TRUE"
Expand Down Expand Up @@ -93,7 +93,7 @@ POSTPROC_LONG_LEN_HRS="84"
OUTPUT_FH="1 -1"
OUTPUT_FH_15min="1 -1"

USE_RRFSE_ENS="FALSE"
USE_RRFSE_ENS="TRUE"
CYCL_HRS_HYB_FV3LAM_ENS=("00" "01" "02" "03" "04" "05" "06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")

SST_update_hour=01
Expand Down
2 changes: 1 addition & 1 deletion ush/set_rrfs_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ if [[ $DO_RETRO == "TRUE" ]] ; then
#for Feb 2022
# RETRODATAPATH="/lfs/h2/emc/da/noscrub/donald.e.lippi/rrfs-stagedata"
# for Jan 2024
RETRODATAPATH="/lfs/h3/emc/rrfstemp/donald.e.lippi/rrfs-stagedata"
RETRODATAPATH="/lfs/h3/emc/lam/noscrub/donald.e.lippi/rrfs-stagedata"
if [[ ${DO_ENSEMBLE} == "TRUE" ]]; then
if [[ ${EXTRN_MDL_NAME_ICS} == "GEFS" ]]; then
EXTRN_MDL_SOURCE_BASEDIR_ICS="${RETRODATAPATH}/GEFS/dsg"
Expand Down

0 comments on commit 6c454a6

Please sign in to comment.