From 21fe38162c800f8d0c9632accef19846763850a3 Mon Sep 17 00:00:00 2001 From: rhaesung Date: Thu, 21 Sep 2023 14:09:48 +0000 Subject: [PATCH] update do_landDA.sh --- do_landDA.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/do_landDA.sh b/do_landDA.sh index 4c1fd03..2a5a97e 100755 --- a/do_landDA.sh +++ b/do_landDA.sh @@ -97,12 +97,15 @@ do cp ${RSTRDIR}/${FILEDATE}.sfc_data.tile${tile}.nc ${RSTRDIR}/${FILEDATE}.sfc_data_back.tile${tile}.nc done fi + #stage restarts for applying JEDI update (files will get directly updated) for tile in 1 2 3 4 5 6 do ln -fs ${RSTRDIR}/${FILEDATE}.sfc_data.tile${tile}.nc ${JEDIWORKDIR}/${FILEDATE}.sfc_data.tile${tile}.nc done + cres_file=${JEDIWORKDIR}/${FILEDATE}.coupler.res + if [[ -e ${RSTRDIR}/${FILEDATE}.coupler.res ]]; then ln -sf ${RSTRDIR}/${FILEDATE}.coupler.res $cres_file else # if not present, need to create coupler.res for JEDI