From 516d55d779cf610289697aa936f90258415e0f0a Mon Sep 17 00:00:00 2001 From: Jiarui Dong Date: Mon, 8 May 2023 09:54:41 -0400 Subject: [PATCH] remove the WORKDIR prior to populating the directory in the land imsproc test(#463) --- test/land/test_imsproc.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/land/test_imsproc.sh b/test/land/test_imsproc.sh index daca26a68..5d79db264 100755 --- a/test/land/test_imsproc.sh +++ b/test/land/test_imsproc.sh @@ -22,6 +22,9 @@ RSTDIR=$GDASAPP_TESTDATA/lowres/gdas.$GYMD/$GHR/model_data/atmos/restart export OBSDIR=$GDASAPP_TESTDATA/land/snow_ice_cover export TSTUB="oro_C${RES}.mx100" +if [[ -e $WORKDIR ]]; then + rm -rf $WORKDIR +fi mkdir -p $WORKDIR cd $WORKDIR