From 233c79daa6710e0523662f3a92732d93fcc44e9a Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Mon, 8 Jun 2020 16:58:19 +0200
Subject: [PATCH] Introduction of year as an input argument for
 'mpi_stager_v2_process.netCDF.py' in teh corresponding Batch script.

---
 Zam347_scripts/DataPreprocess.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Zam347_scripts/DataPreprocess.sh b/Zam347_scripts/DataPreprocess.sh
index a707a0f7..c3bd036d 100755
--- a/Zam347_scripts/DataPreprocess.sh
+++ b/Zam347_scripts/DataPreprocess.sh
@@ -11,7 +11,7 @@ for year in "${years[@]}";
         echo "source_dir ${source_dir}/${year}"
         mpirun -np 2 python ../../workflow_parallel_frame_prediction/DataPreprocess/mpi_stager_v2_process_netCDF.py \
          --source_dir ${source_dir}/${year}/ \
-         --destination_dir ${destination_dir}/${year}/ --vars T2 MSL gph500 --lat_s 74 --lat_e 202 --lon_s 550 --lon_e 710
+         --destination_dir ${destination_dir}/${year}/ --years ${years} --vars T2 MSL gph500 --lat_s 74 --lat_e 202 --lon_s 550 --lon_e 710
     done
 python ../../workflow_parallel_frame_prediction/DataPreprocess/mpi_split_data_multi_years.py --destination_dir ${destination_dir} --varnames T2 MSL gph500
 
-- 
GitLab