Skip to content

Link gsi diag.* directories instead of moving them#4545

Merged
DavidHuber-NOAA merged 5 commits intoNOAA-EMC:developfrom
DavidHuber-NOAA:feature/gsidiags_dir_ln
Feb 13, 2026
Merged

Link gsi diag.* directories instead of moving them#4545
DavidHuber-NOAA merged 5 commits intoNOAA-EMC:developfrom
DavidHuber-NOAA:feature/gsidiags_dir_ln

Conversation

@DavidHuber-NOAA
Copy link
Contributor

@DavidHuber-NOAA DavidHuber-NOAA commented Feb 12, 2026

Description

This makes the code more in line with operational requirements by using links instead of moving the diag.* directories while running the GSI. This also deletes the gsidiags directory in DATAROOT before linking to it to ensure that reruns of gdas_anal and enkfgdas_eobs only retain the newly-generated data in DATAROOT.

Resolves #4543
Resolves #4479

Follow-on PR to #4487

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?

  • Full suite of CI on C6: /gpfs/f6/drsa-hurr1/world-shared/David.Huber/rt_gsidiags
  • Rerun of both gdas_anal and enkfgdas_eobs
  • Inspection of the DATA and GSIDIAGDIR directories and data for an enkfgdas_eobs job
    • DATA: /gpfs/f6/drsa-precip3/world-shared/David.Huber/RUNDIRS/C96C48_hybatmsnowDA_gsidiags/enkfgdas.2021122100/eobs.1197701
    • GSIDIAGDIR: /gpfs/f6/drsa-precip3/world-shared/David.Huber/RUNDIRS/C96C48_hybatmsnowDA_gsidiags/enkfgdas.2021122100/C96C48_hybatmsnowDA_gsidiags/enkfgdas.20211221/00/ensstat/analysis/atmos/gsidiags

Checklist

  • 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
  • This change is covered by an existing CI test or a new one has been added

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

@RussTreadon-NOAA RussTreadon-NOAA left a comment

Choose a reason for hiding this comment

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

Did not test but looks good to me.

Approve.

@RussTreadon-NOAA
Copy link
Contributor

@DavidHuber-NOAA : Any more tests you want to run on this change? I'm keen to see it enter g-w develop so that automated GDASApp CI works with g-w develop instead of adding a temporary patch to run from your branch.

@DavidHuber-NOAA
Copy link
Contributor Author

@RussTreadon-NOAA Let's go ahead and merge this as a hot fix. I'll run some additional tests on WCOSS2 afterwards and verify the jobs are running as intended.

@DavidHuber-NOAA DavidHuber-NOAA merged commit 24f56a5 into NOAA-EMC:develop Feb 13, 2026
5 checks passed
@RussTreadon-NOAA
Copy link
Contributor

Thank you @DavidHuber-NOAA for merging. Last night's run of GDASApp stable-nightly failed on Hera due to the problem this PR resolves. A rerun using exglobal_atmos_analysis.sh from this PR allowed failed tests to pass.

DavidHuber-NOAA added a commit that referenced this pull request Feb 26, 2026
…ails in v17 (#4574)

This is a cherry-pick of PRs #4545 and #4458 into dev/gfs.v17. This

- fixes a bug that prevents rerunning atmospheric analyses (`gdas_anal`,
`gfs_anal`, or `enkfgdas_eobs`)
- moves to an improved and NCO-approved method of linking instead of
moving the gsidiag files at the end of the jobs
- enables scrontab emailing on Gaea C6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-Gaeac6-Passed (cm) Manual CI passed on Gaea C6

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enkgdas_eobs fails when rerun Rework gsi diagnostic file writes to write to DATAROOT

2 participants