FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab has been upgraded. See what's new in the
Changelog
.
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
d1e033c5
Commit
d1e033c5
authored
2 years ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
commenting some code back in so it will run fetching the tar files
parent
aa3fc332
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ProcessorComponents.py
+6
-6
6 additions, 6 deletions
ProcessorComponents.py
with
6 additions
and
6 deletions
ProcessorComponents.py
+
6
−
6
View file @
d1e033c5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment