Skip to content

Commit

Permalink
update do_landDA.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaesung committed Sep 21, 2023
1 parent e417194 commit 21fe381
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions do_landDA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21fe381

Please sign in to comment.