FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit d1e033c5 authored by L. Bower's avatar L. Bower
Browse files

commenting some code back in so it will run fetching the tar files

parent aa3fc332
No related branches found
No related tags found
No related merge requests found
......@@ -1286,7 +1286,7 @@ def process_in_job_env2_0(jobPath,status,config,component):
description_long = 'Copying file from remote server to job directory'
#todo lawrence comment this back in
# subprocess_and_log(cmd_scp,description_short, description_long)
subprocess_and_log(cmd_scp,description_short, description_long)
logger.info('untarring the input file')
......@@ -1296,7 +1296,7 @@ def process_in_job_env2_0(jobPath,status,config,component):
description_long = 'Untarring the input file'
#todo lawrence comment this back in
# subprocess_and_log(cmd_tar,description_short, description_long)
subprocess_and_log(cmd_tar,description_short, description_long)
# basic check that contents are as expected for 7-day forecast
# 57 files of NAME .txt timesteps and some number of log files
......@@ -1313,10 +1313,10 @@ def process_in_job_env2_0(jobPath,status,config,component):
output_directory = f"{jobPath}/NAME_Met_as_netcdf"
#todo lawrence comment this back in
# try:
# npp.process_met_office_NAME(input_files_glob,output_directory)
# except:
# logger.exception(f"Some failure when converting NAME data from .txt to nc.tar.gz")
try:
npp.process_met_office_NAME(input_files_glob,output_directory)
except:
logger.exception(f"Some failure when converting NAME data from .txt to nc.tar.gz")
# TODO: check that process_met_office_NAME() produced output as expected
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment