-
Notifications
You must be signed in to change notification settings - Fork 189
Adds GDAS GEMPAK jobs to rocoto task mesh #2073
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
Adds GDAS GEMPAK jobs to rocoto task mesh #2073
Conversation
@WalterKolczynski-NOAA I am not sure if this is what you had in mind. Please let me know if I am misunderstanding. |
Do you mean beneath |
Yes. You need to add all the stuff for the new jobs. |
@WalterKolczynski-NOAA Done. |
The CI tests won't exercise these jobs. You'll need to test them manually. The jobs themselves likely will not succeed, but make sure the jobs launch when they should. |
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.
Mostly good but need to confirm if one job runs for gdas, or gfs, or both and make adjustments based on when it should run. Left comments, although hurridly since I am wrapping up work so hopefully they make sense. If my comments have been addressed and others approve before I return from holiday leave then ignore my review and proceed. Thanks for working on this @HenryWinterbottom-NOAA !
jobs/rocoto/gempakmetancdc.sh
Outdated
export jobid="${job}.$$" | ||
|
||
# Execute the JJOB | ||
"${HOMEgfs}/jobs/JGDAS_ATMOS_GEMPAK_META_NCDC" |
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.
Is this only for gdas? Is there a gfs version of the job? Can't remember what happens in ops off the top of my head.
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.
Also, if you didn't already, review the gempaks jobs in this ops ecflow def file: https://github.com/NOAA-EMC/global-workflow/blob/dev/gfs.v16/ecf/defs/gfs_v16_3.def
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.
both:
gempak
gdas-only:
gempakmetancdc
gfs-only:
gempakmeta
gempakncdcupapgif
gempakpgrb2spec
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.
Done.
workflow/applications/gfs_cycled.py
Outdated
@@ -230,6 +230,10 @@ def get_task_names(self): | |||
|
|||
if self.do_gempak: | |||
gfs_tasks += ['gempak'] | |||
gfs_tasks += ['gempakmeta'] | |||
gfs_tasks += ['gempakmetancdc'] |
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.
If this is meant for only gdas then you need to add this task to the gdas_tasks
above. If this is only for gfs then it's fine but see other comment. If both then add to gdas_tasks
.
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.
Done.
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.
Plus what Kate pointed out about making sure jobs run only for the appropriate RUN
.
self.do_gempakmeta = _base.get('DO_GEMPAK', False) | ||
self.do_gempakmetancdc = _base.get('DO_GEMPAK', False) | ||
self.do_gempakncdcupapgif = _base.get('DO_GEMPAK', False) | ||
self.do_gempakpgrb2spec = _base.get('DO_GEMPAK', False) |
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.
These are not needed. Only self.do_gempak
is being used.
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.
I added this because my Rocoto mesh wasn't picking up the jobs. Maybe it was a red herring and I will look again but it took me sometime to figure out and why and this seemed to resolve the issue.
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.
NVM the above. It must have been a red herring.
@HenryWinterbottom-NOAA I think this may be ready after you resolve the conflicts |
2e4a020
to
c19810c
Compare
Description
This PR addresses issue #1219. Rocoto task
jobs/rocoto/gempak.sh
was updated to supportJGDAS_ATMOS_GEMPAK
. Rocoto taskjobs/rocoto/gempakmeta.sh
was added to supportJGFS_ATMOS_GEMPAK_META
andJGDAS_ATMOS_GEMPAK_META_NCDC
.Resolves #1219
References #1222
Type of change
Change characteristics
How has this been tested?
The Rocoto XML configuration has been executed as follows.
The resulting Rocoto workflow is as follows.
Checklist