-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splitting up the archive task #3242
base: develop
Are you sure you want to change the base?
Splitting up the archive task #3242
Conversation
…o-NOAA/global-workflow into feature/arch-split
3d5f792
to
c283e87
Compare
06560cc
to
cb836f8
Compare
|
workflow/rocoto/gfs_tasks.py
Outdated
'maxtries': '&MAXTRIES;' | ||
} | ||
|
||
metatask_dict = {'task_name': f'{self.run}_eamn', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are now two eamn
metatasks. One for earc_vrfy
and one for earc_tars
. Also, I think earc_vrfy
doesn't need to be run in groups. It's going to be pretty lightweight (just local copies). My suggestions here are 1. change earc_vrfy to a task, not a metatask, and 2. let earc_tars
have the eamn
metatask name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, keep eamn in the trash where it belongs. One of these days, I'm doing to rename all those terrible four-letter names.
else: | ||
dep_dict = {'type': 'task', 'name': f'{self.run}_arch'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This else
should not have been removed. The ${RUN}_arch_vrfy
task isn't valid for ensembles.
workflow/rocoto/gfs_tasks.py
Outdated
else: | ||
if self.options['do_archtar']: | ||
dep_dict = {'type': 'task', 'name': f'{self.run}_arch_tars'} | ||
deps.append(rocoto.add_dependency(dep_dict)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be an else
. It needs to be its own if block.
Description
In this PR the archive task will be split into two parts. The first will always run and will just be for the copying of verification data to the
VRFY_ARC
andARCDIR
directories. The second will only run whenHPSSARCH
orLOCALARCH
is set to YES and will generate and store tarballs in theATARDIR
, either onHPSS
or locally.Resolves Split up the archive task #3152
Type of change
Change characteristics
How has this been tested?
Hera
Example:
Checklist