From fec30843de37cde17ee7553727a40f5b25e389b6 Mon Sep 17 00:00:00 2001
From: Jake Smith <jws52@cam.ac.uk>
Date: Mon, 10 Oct 2022 11:03:05 +0100
Subject: [PATCH] chore: Switch source calc from R version to python

This relates to developments to ease the maintenance
of the forecast system. With this development, there is no R code to
actively maintain. Moving from git project wheat-source-generation to
ews-source-generation. The python code has been validated for
identical performance to the R version. The only differences are
small changes from the underlying shapefile reading packages
(see notes-on-rewriting-in-python.txt in ews-source-generation).

Keeping the option to used the R code for some time in case any
follow-up investigation is required.
---
 coordinator/ProcessorSurveys.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coordinator/ProcessorSurveys.py b/coordinator/ProcessorSurveys.py
index 4be3808..c6ea0ea 100644
--- a/coordinator/ProcessorSurveys.py
+++ b/coordinator/ProcessorSurveys.py
@@ -946,7 +946,7 @@ def process_in_job_survey(jobPath,status,config,component):
     date = datetime.datetime.now()
 
     # prepare environment for clustering calc
-    call_R = True
+    call_R = False
 
     output_directory = f"{jobPath}/SURVEYDATA_{config['StartString']}_0000"
     Path(output_directory).mkdir(parents=True, exist_ok=True)
-- 
GitLab