Skip to content
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 #2103

Conversation

HenryRWinterbottom
Copy link
Contributor

Description

This PR addresses issue #1219. Rocoto task jobs/rocoto/gempak.sh was updated to support JGDAS_ATMOS_GEMPAK. Rocoto task jobs/rocoto/gempakmeta.sh was added to support JGFS_ATMOS_GEMPAK_META and JGDAS_ATMOS_GEMPAK_META_NCDC.

Resolves #1219
References #1222 #2073

NOTE This is a replicated PR open to resolve developer mishap with Github interface.

Type of change

  • New feature (adds functionality)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO

The Rocoto XML configuration has been executed as follows.

user@host$: cd /scratch1/NCEPDEV/da/Henry.Winterbottom/trunk/global-workflow.develop.20231117/workflow
user@host$: ./setup_xml.py /scratch1/NCEPDEV/da/Henry.Winterbottom/work/GLOBAL_WORKFLOW/x002_gfsv17_issue_1219/x002_gfsv17_issue_1219.xml

The resulting Rocoto workflow is as follows.

       CYCLE                    TASK                       JOBID               STATE         EXIT STATUS     TRIES      DURATION
================================================================================================================================
202103231200             gfsstage_ic                    51952235              QUEUED                   -         0           0.0
202103231200                 gfsfcst                           -                   -                   -         -             -
202103231200            gfspost_f000                    51952236              QUEUED                   -         0           0.0
202103231200            gfspost_f006                    51952237              QUEUED                   -         0           0.0
202103231200            gfspost_f012                    51952238              QUEUED                   -         0           0.0
202103231200                 gfsvrfy                           -                   -                   -         -             -
202103231200             gfsmetpg2g1                           -                   -                   -         -             -
202103231200             gfsmetpg2o1                           -                   -                   -         -             -
202103231200             gfsmetppcp1                           -                   -                   -         -             -
202103231200               gfsgempak                           -                   -                   -         -             -
202103231200           gfsgempakmeta                           -                   -                   -         -             -
202103231200       gfsgempakmetancdc                           -                   -                   -         -             -
202103231200    gfsgempakncdcupapgif                           -                   -                   -         -             -
202103231200      gfsgempakpgrb2spec                           -                   -                   -         -             -
202103231200                 gfsarch                           -                   -                   -         -             -
202103231200              gfscleanup                           -                   -                   -         -             -

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • I have made corresponding changes to the documentation if necessary

Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok with the exception that the gempakncdcupagif task is not created in the rocoto mesh. This should error out when running setup_xml.py; so wondering why it doesn't?

workflow/applications/gfs_forecast_only.py Outdated Show resolved Hide resolved
workflow/rocoto/gfs_tasks.py Outdated Show resolved Hide resolved
@HenryRWinterbottom
Copy link
Contributor Author

Looks ok with the exception that the gempakncdcupagif task is not created in the rocoto mesh. This should error out when running setup_xml.py; so wondering why it doesn't?

Should this be addressed in a different issue?

Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appear to be missing the npoess_pgrb2_0p5deg job but otherwise the changes to add the other gempak jobs into the rocoto mesh look good. See inline comment with information on that job, which is a task dependency for the pgrb2_spec job.

There will be more work to test and troubleshoot these jobs but that is out-of-scope for this PR.

workflow/rocoto/gfs_tasks.py Outdated Show resolved Hide resolved

def gempakpgrb2spec(self):
deps = []
dep_dict = {'type': 'metatask', 'name': f'{self.cdump}post'}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have a job dependency on the npoess_pgrb2_0p5deg job.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still needs to be updated. :)

@HenryRWinterbottom
Copy link
Contributor Author

@aerorahul @KateFriedman-NOAA @WalterKolczynski-NOAA

Thank you for taking the time to review this PR. After all of my botches last week, I believe that this PR has updated all of the comments, issues, etc., that are noted above. Please let me know otherwise. If nothing seems to be incorrect, this PR should be read to review (again). Thank you for your patience.

Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most prior comments addressed, few more to address. See new comments. Thanks @HenryWinterbottom-NOAA !

Comment on lines 247 to 248
if self.do_npoess:
gfs_tasks += ['npoess']
gfs_tasks += ['npoess_pgrb2_0p5deg']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The npoess_pgrb2_0p5deg job is part of the gempak family of jobs so you can move this line:

gfs_tasks += ['npoess_pgrb2_0p5deg']

...up under the if self.do_gempak: block above and do away with do_npoess flag wherever it is set/used.

'waveawipsbulls', 'waveawipsgridded', 'wavegempak', 'waveinit',
'wavepostbndpnt', 'wavepostbndpntbll', 'wavepostpnt', 'wavepostsbs', 'waveprep',
'npoess']
'npoess_pgrb2_0p5deg']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a member of the gempak job family so you can group it with the other gempak jobs.


def gempakpgrb2spec(self):
deps = []
dep_dict = {'type': 'metatask', 'name': f'{self.cdump}post'}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still needs to be updated. :)

@WalterKolczynski-NOAA
Copy link
Contributor

@HenryWinterbottom-NOAA Kate pointed out an incorrect dependency for one of the jobs that should be corrected, plus there is now a conflict from the changes in your AWIPS PR.

@HenryRWinterbottom
Copy link
Contributor Author

@WalterKolczynski-NOAA I am going to close this PR and open a new that addresses all of the comments. My branch has become broken and convoluted and I can no longer keep up-to-date with the develop branch and maintain all of my additions. I will keep this open such that I have the comments but close once I open the new PR. Sorry for the inconvenience this causes.

@HenryRWinterbottom HenryRWinterbottom deleted the feature/gfsv17_issue_1219 branch December 7, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Development workflow lacks GDAS gempak job
4 participants