Skip to content

Conversation

@AntonMFernando-NOAA
Copy link
Contributor

Description

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 (e.g. value changes to existing outputs, new files stored in COM, files removed from COM, filename changes, additions/subtractions to archives)? YES/NO (If YES, please indicate to which system(s))
    • GFS
    • GEFS
    • SFS
    • GCAFS
  • 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
    • EMC verif-global
    • GDAS
    • GFS-utils
    • GSI
    • GSI-monitor
    • GSI-utils
    • UFS-utils
    • UFS-weather-model
    • wxflow

How has this been tested?

  • Alll available CI tests on Hera and extended tests on WCOSS2

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

@AntonMFernando-NOAA AntonMFernando-NOAA self-assigned this Dec 15, 2025
@AntonMFernando-NOAA AntonMFernando-NOAA marked this pull request as ready for review December 31, 2025 15:03
@AntonMFernando-NOAA AntonMFernando-NOAA force-pushed the enabler/archive_tar branch 3 times, most recently from be6a91b to c4139ac Compare January 5, 2026 19:11
aerorahul
aerorahul previously approved these changes Jan 9, 2026
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 good. Just a couple of questions.


# Archive timing booleans - increments (group a)
# Logic: (current_cycle - SDATE).days % ARCH_WARMICFREQ == 0 AND is_gdas AND ARCH_CYC == cycle_HH
if sdate:
Copy link
Contributor

Choose a reason for hiding this comment

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

When is this condition False? config_dict always contains SDATE, no? It is in the config.base


# Archive timing booleans - ICs (group b)
# Logic: (ics_offset_cycle - SDATE).days % ARCH_WARMICFREQ == 0 AND is_gdas AND (ARCH_CYC - assim_freq) % 24 == cycle_HH
if sdate:
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aerorahul That's correct. sdate if statement is not needed here.

DavidHuber-NOAA
DavidHuber-NOAA previously approved these changes Jan 9, 2026
Copy link
Contributor

@DavidHuber-NOAA DavidHuber-NOAA left a comment

Choose a reason for hiding this comment

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

Looks great! I just have a few minor suggestions/questions.

Comment on lines 20 to 22
{% for iaufhr in IAUFHRS %}
{% for itile in range(6) %}
- "{{ COMIN_ATMOS_ANALYSIS_MEM }}/{{ head }}recentered_jedi_increment.atm.i{{ '%03d' % iaufhr }}.tile{{ itile+1 }}.nc"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to format IAUFHRS in the Python code so you don't have to format iaufhr here? I'm not sure if that will have repercussions elsewhere...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

# Archive timing and control
'ARCH_CYC', 'ARCH_WARMICFREQ', 'ARCH_FCSTICFREQ',
# Other
'NET',
Copy link
Contributor

Choose a reason for hiding this comment

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

NET is a basic configuration variable. It's the name of the system (GFS, GEFS, GCAFS, or SFS).

# Basic configuration
'ATARDIR', 'current_cycle', 'RUN', 'PDY', 'PSLOT',
# Archive control
'DO_ARCHCOM', 'ARCHCOM_TO', 'ROTDIR', 'PARMgfs', 'ARCDIR', 'SDATE', 'MODE',
Copy link
Contributor

Choose a reason for hiding this comment

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

MODE, PARMgfs, ROTDIR, and SDATE are also basic configuration.

@AntonMFernando-NOAA
Copy link
Contributor Author

@aerorahul @DavidHuber-NOAA Addressed all the comments. Running all the tests on hera and wcoss2 (extended) to verify everything works.

DavidHuber-NOAA
DavidHuber-NOAA previously approved these changes Jan 9, 2026
Copy link
Contributor

@TravisElless-NOAA TravisElless-NOAA left a comment

Choose a reason for hiding this comment

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

My individual testing shows things should be working correctly here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enabler] Review the archiving process and determine best paths forward

4 participants