Skip to content

Commit

Permalink
hotfix for the aerosol 3dvar test (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA authored Aug 30, 2023
1 parent 3e48e75 commit d983c4f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/aero/global-workflow/jjob_var_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,16 @@ for file in $flist; do
done


# Link model bacgkround on tiles
# Copy model bacgkround on tiles
dpath=gdas.$gPDY/$gcyc/model_data/atmos
COM_ATMOS_RESTART_PREV_DIRNAME=$(dirname $COM_ATMOS_RESTART_PREV)
mkdir -p $COM_ATMOS_RESTART_PREV_DIRNAME
flist="restart"
if [ -d $COM_ATMOS_RESTART_PREV_DIRNAME/restart ]; then
rm -rf $COM_ATMOS_RESTART_PREV_DIRNAME/restart
fi
mkdir -p $COM_ATMOS_RESTART_PREV_DIRNAME/restart
flist="restart/*"
for file in $flist; do
ln -fs $GDASAPP_TESTDATA/lowres/$dpath/$file $COM_ATMOS_RESTART_PREV_DIRNAME/
cp $GDASAPP_TESTDATA/lowres/$dpath/$file $COM_ATMOS_RESTART_PREV_DIRNAME/restart/
done


Expand Down

0 comments on commit d983c4f

Please sign in to comment.