Skip to content

(develop) Add wavegempak dependency to gfs_arch_tars#4954

Merged
DavidHuber-NOAA merged 2 commits into
developfrom
copilot/gfs-arch-tars-dependency-update
Jun 2, 2026
Merged

(develop) Add wavegempak dependency to gfs_arch_tars#4954
DavidHuber-NOAA merged 2 commits into
developfrom
copilot/gfs-arch-tars-dependency-update

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 1, 2026

Description

This fixes a missing dependency for gfs_wavegempak jobs.

gfs_arch_tars could start before gfs_wavegempak finished when both wave and GEMPAK products were enabled, causing actively-written log/output files to be archived mid-write.

waveawipsbulls and waveawipsgridded were already guarded by the do_awips block, but wavegempak had no corresponding dependency in _arch_tars_deps(). Added it:

# In _arch_tars_deps(), inside do_gempak + run == 'gfs' block:
if self.options['do_wave']:
    dep_dict = {'type': 'metatask', 'name': f'{self.run}_wavegempak'}
    deps.append(rocoto.add_dependency(dep_dict))

Refs #4926

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this change expected to change outputs? NO
  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO
  • Does this change require an update to any of the following submodules? NO

How has this been tested?

  • Code review and inspection of _arch_tars_deps() against all wave downstream task activation conditions in gfs_forecast_only.py and gfs_cycled.py

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
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • Any new scripts have been added to the .github/CODEOWNERS file with owners
  • I have made corresponding changes to the system documentation if necessary

When do_wave and do_gempak are both enabled, the archive tarball job
(gfs_arch_tars) now depends on the wavegempak metatask completing.
This prevents the archive from starting while wave GEMPAK jobs are
still running and producing output files.

Fixes: gfs_arch_tars should have a dependency on wave awips jobs
Copilot AI changed the title [WIP] Fix gfs_arch_tars to have a dependency on wave awips jobs Add wavegempak dependency to gfs_arch_tars Jun 1, 2026
Copilot AI requested a review from DavidHuber-NOAA June 1, 2026 12:33
Copilot AI requested a review from DavidHuber-NOAA June 1, 2026 12:56
@NOAA-EMC NOAA-EMC deleted a comment from Copilot AI Jun 1, 2026
@DavidHuber-NOAA DavidHuber-NOAA added the CI-Wcoss2-Running CI testing on WCOSS for this PR is in-progress label Jun 1, 2026
@DavidHuber-NOAA DavidHuber-NOAA changed the title Add wavegempak dependency to gfs_arch_tars (develop) Add wavegempak dependency to gfs_arch_tars Jun 1, 2026
@DavidHuber-NOAA DavidHuber-NOAA added CI-Wcoss2-Passed CI testing on WCOSS for this PR has completed successfully and removed CI-Wcoss2-Running CI testing on WCOSS for this PR is in-progress labels Jun 2, 2026
@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

All tests passed on WCOSS2:

Tue Jun  2 15:36:47 UTC 2026
******** C48_ATM ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103231200        Done    Jun 01 2026 14:15:16    Jun 01 2026 15:20:28

******** C48_gsienkf_atmDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202402231800        Done    Jun 01 2026 14:15:15    Jun 01 2026 14:35:35
202402240000        Done    Jun 01 2026 14:15:15    Jun 01 2026 15:35:29
202402240600        Done    Jun 01 2026 14:15:15    Jun 01 2026 16:30:23

******** C48mx500_3DVarAOWCDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103241800        Done    Jun 01 2026 14:15:23    Jun 01 2026 15:30:27
202103250000        Done    Jun 01 2026 14:15:23    Jun 01 2026 16:00:18

******** C48mx500_hybAOWCDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103241800        Done    Jun 01 2026 14:15:21    Jun 01 2026 14:35:44
202103250000        Done    Jun 01 2026 14:15:21    Jun 01 2026 15:45:13

******** C48_S2SW_extended ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103231200        Done    Jun 01 2026 14:15:20    Jun 01 2026 17:15:30
202103231800        Done    Jun 01 2026 14:15:20    Jun 01 2026 17:10:41

******** C48_ufsenkf_atmDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202402231800        Done    Jun 01 2026 14:15:19    Jun 01 2026 14:35:29
202402240000        Done    Jun 01 2026 14:15:19    Jun 01 2026 15:35:33
202402240600        Done    Jun 01 2026 14:15:19    Jun 01 2026 16:35:35

******** C96_atm3DVar_extended ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201800        Done    Jun 01 2026 14:15:20    Jun 01 2026 16:40:18
202112210000        Done    Jun 01 2026 14:15:20    Jun 01 2026 19:00:31
202112210600        Done    Jun 01 2026 14:15:20    Jun 01 2026 20:00:32
202112211200        Done    Jun 01 2026 16:45:22    Jun 01 2026 21:15:39
202112211800        Done    Jun 01 2026 19:05:18    Jun 01 2026 23:50:27

******** C96C48_hybatmDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201800        Done    Jun 01 2026 14:15:22    Jun 01 2026 14:40:24
202112210000        Done    Jun 01 2026 14:15:22    Jun 01 2026 16:35:34
202112210600        Done    Jun 01 2026 14:15:22    Jun 01 2026 16:40:38

******** C96C48_hybatmsnowDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201200        Done    Jun 01 2026 14:15:17    Jun 01 2026 14:40:22
202112201800        Done    Jun 01 2026 14:15:17    Jun 01 2026 16:30:21
202112210000        Done    Jun 01 2026 14:15:17    Jun 01 2026 16:40:59

******** C96C48_hybatmsoilDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202205150600        Done    Jun 01 2026 14:15:22    Jun 01 2026 14:40:21
202205151200        Done    Jun 01 2026 14:15:22    Jun 01 2026 16:40:29
202205151800        Done    Jun 01 2026 14:15:22    Jun 01 2026 16:45:26

******** C96C48mx500_S2SW_cyc_gfs ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201200        Done    Jun 01 2026 14:15:22    Jun 01 2026 16:05:15
202112201800        Done    Jun 01 2026 14:15:22    Jun 01 2026 17:20:28
202112210000        Done    Jun 01 2026 14:15:22    Jun 01 2026 17:50:18
202112211800        Done    Jun 01 2026 16:10:34    Jun 01 2026 17:55:24

******** C96C48_ufsgsi_hybatmDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202402231800        Done    Jun 01 2026 14:15:35    Jun 01 2026 14:40:50
202402240000        Done    Jun 01 2026 14:15:35    Jun 01 2026 16:55:44
202402240600        Done    Jun 01 2026 14:15:35    Jun 01 2026 16:45:25

******** C96C48_ufs_hybatmDA ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202402231800        Done    Jun 01 2026 14:15:19    Jun 01 2026 14:40:39
202402240000        Done    Jun 01 2026 14:15:19    Jun 01 2026 17:00:33
202402240600        Done    Jun 01 2026 14:15:19    Jun 01 2026 16:30:39

@DavidHuber-NOAA DavidHuber-NOAA marked this pull request as ready for review June 2, 2026 15:38
@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

Opening for review.

@DavidHuber-NOAA DavidHuber-NOAA merged commit 0025bd0 into develop Jun 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-Wcoss2-Passed CI testing on WCOSS for this PR has completed successfully

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gfs_arch_tars should have a dependency on wave awips jobs

3 participants