From b00247f3d6b19d880721834680e6e83977cd5908 Mon Sep 17 00:00:00 2001
From: Bing Gong <b.gong@fz-juelich.de>
Date: Tue, 22 Feb 2022 15:27:47 +0100
Subject: [PATCH] add meta_postprocess_era5_template.sh

---
 .../meta_postprocess_era5_template.sh         | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 video_prediction_tools/other_scripts/meta_postprocess_era5_template.sh

diff --git a/video_prediction_tools/other_scripts/meta_postprocess_era5_template.sh b/video_prediction_tools/other_scripts/meta_postprocess_era5_template.sh
new file mode 100644
index 00000000..fb980cb2
--- /dev/null
+++ b/video_prediction_tools/other_scripts/meta_postprocess_era5_template.sh
@@ -0,0 +1,19 @@
+#!/bin/bash -x
+
+#User's input : your virtual enviornment name
+VIRT_ENV_NAME=venv_test
+
+echo "Activating virtual environment..."
+source ../virtual_envs/${VIRT_ENV_NAME}/bin/activate
+
+#the source directory contains the tfrecords
+root_dir=/home/b.gong/
+analysis_config=../meta_postprocess_config/meta_config.json
+vim ${analysis_config}
+metric=mse
+exp_id=test
+#enable_skill_scores=""
+python ../main_scripts/main_meta_postprocess.py  --root_dir ${root_dir} --analysis_config ${analysis_config} \
+                                                       --metric ${metric} --exp_id ${exp_id} \
+                                                       #--enable_skill_scores ${enable_skill_scores}
+
-- 
GitLab