From 98a590a43638eac476f424b1d283e29b196dd0e9 Mon Sep 17 00:00:00 2001
From: "Takumi.Matsunobu" <Takumi.Matsunobu@physik.uni-muenchen.de>
Date: Wed, 4 Oct 2023 21:51:37 +0200
Subject: [PATCH] correction

---
 templates/real-from-d2-ana/prepare_lbc_remote.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/real-from-d2-ana/prepare_lbc_remote.sh b/templates/real-from-d2-ana/prepare_lbc_remote.sh
index 175e437..64518e0 100644
--- a/templates/real-from-d2-ana/prepare_lbc_remote.sh
+++ b/templates/real-from-d2-ana/prepare_lbc_remote.sh
@@ -55,7 +55,7 @@ if [ "${LBC_DATA_IS_LOCAL}" != "True" ]; then
   # make a working directory for converting boundary conditions
   mkdir -p work/${STARTDATE}/${MEMBER} || exit
 
-  tar -zxvf ${FC_TAR_SOURCE} -C work
+  tar -zxvf ${FC_TAR_SOURCE} -C work/${STARTDATE}
 
   DYNAMICS_GRID_FILENAME=%simulation.dynamics_grid_filename%
   BOUNDARY_GRID_FILE=%simulation.lateral_boundary_grid_filename%
-- 
GitLab