From d633cbccc4a0dc5bc1c7a7b0829895d4021f1cb4 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Tue, 14 May 2024 13:37:23 +0100
Subject: [PATCH] moving met-resampling to a separate git repo

---
 configs/docker/run/launchAndRunDockerEWS.sh | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/configs/docker/run/launchAndRunDockerEWS.sh b/configs/docker/run/launchAndRunDockerEWS.sh
index 21a2232..7c3e9e3 100755
--- a/configs/docker/run/launchAndRunDockerEWS.sh
+++ b/configs/docker/run/launchAndRunDockerEWS.sh
@@ -57,19 +57,19 @@ do
 done
 
 if [ "$component" = "Environment" ]; then
-    component_script="run_Environment_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Environment_Processor.sh"
 elif [ "$component" = "Deposition" ];then
-    component_script="run_Deposition_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Deposition_Processor.sh"
 elif [ "$component" = "Survey" ];then
-    component_script="run_Survey_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Survey_Processor.sh"
 elif [ "$component" = "Advisory" ];then
-    component_script="run_Advisory_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Advisory_Processor.sh"
 elif [ "$component" = "Scraper" ];then
-    component_script="run_Environment_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Environment_Processor.sh"
 elif [ "$component" = "Epidemiology" ];then
-    component_script="run_Epidemiology_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Epidemiology_Processor.sh"
 elif [ "$component" = "MetResample" ];then
-    component_script="run_MetResample_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/met_resample/scripts/run_MetResample_Processor.sh"
 else
     printf "component '%s' not recognised" "$component"
 fi
@@ -90,7 +90,7 @@ function run_coordinator() {
     -p "587:587" \
     -w "/storage/app/EWS_prod/code" \
     lb584/ews_coordinator \
-    /storage/app/EWS_prod/code/coordinator/scripts/"$component_script" \
+    "$component_script" \
     -p "$component" \
     -c "$config" \
     -s "$rundate" \
-- 
GitLab