diff --git a/ews/coordinator/utils/processor_utils.py b/ews/coordinator/utils/processor_utils.py index 02318fbbb2fa1a9e4167ef71c221e9b911922477..09da9c319c5b6a765e5ac610661d3b980b691b65 100644 --- a/ews/coordinator/utils/processor_utils.py +++ b/ews/coordinator/utils/processor_utils.py @@ -37,6 +37,7 @@ short_name = { 'Survey' : 'SURVEYDATA', 'Scraper' : 'SCRAPER', 'MetResample' : 'MET_RESAMPLE', + 'Meteorology' : 'Meteorology', } disease_latin_name_dict = { @@ -429,12 +430,7 @@ def get_input_data(job_path, config, component): #TODO: check if file exists already (may be the case for multiple configs in one) # TODO: perform ssh file transfer in python instead of subprocess - server_name: str = config['ServerName'] - if server_name == "": - cmd_scp: list = ["scp", f"{file_path}/{file_name}.tar.gz", job_path] - else: - cmd_scp: list = ["scp", "-i", config['ServerKey'], "-o", "StrictHostKeyChecking=no", - f"{server_name}:{file_path}/{file_name}.tar.gz", job_path] + cmd_scp: list = ["scp", f"{file_path}/{file_name}.tar.gz", job_path] description_short = 'env2 scp' description_long = 'Copying file from remote server to job directory'