Skip to content

Update the marine analysis archiving#4082

Merged
DavidHuber-NOAA merged 8 commits into
NOAA-EMC:developfrom
JohnSteffen-NOAA:feature/marine_analysis_arch
Oct 1, 2025
Merged

Update the marine analysis archiving#4082
DavidHuber-NOAA merged 8 commits into
NOAA-EMC:developfrom
JohnSteffen-NOAA:feature/marine_analysis_arch

Conversation

@JohnSteffen-NOAA
Copy link
Copy Markdown
Contributor

@JohnSteffen-NOAA JohnSteffen-NOAA commented Sep 18, 2025

Description

This PR updates the GDAS marine analysis archiving to include the post-processed sea ice increments and it changes the suffix to ".nc" to match the filename extension. Additionally, a new GFS marine analysis archiving yaml is added when the GFS analysis/forecast is run.

Resolves #4020

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 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?

The GDAS/GFS marine analysis archiving has been tested 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

…essed ice increment file and includes a new gfsocean analysis archiving capability. Resolves NOAA-EMC#4020
@JohnSteffen-NOAA JohnSteffen-NOAA marked this pull request as draft September 18, 2025 21:02
@JohnSteffen-NOAA JohnSteffen-NOAA marked this pull request as ready for review September 18, 2025 21:03
@JohnSteffen-NOAA JohnSteffen-NOAA marked this pull request as draft September 18, 2025 21:04
@JohnSteffen-NOAA
Copy link
Copy Markdown
Contributor Author

JohnSteffen-NOAA commented Sep 25, 2025

I was able to test the GDAS/GFS archiving changes to the marine analysis on WCOSS2 using a fresh build of my g-w fork. The archiving works as intended (mostly). The postproc ice increment file is now included and the gfsocean_analysis task is included in the rocoto workflow. The experiment directory can be found here:

/lfs/h2/emc/da/noscrub/john.steffen/expts/test-archive/

And the HPSS archive location is here:
/NCEPDEV/emc-global/1year/john.steffen/WCOSS2/scratch/test-archive/

However, the new gfs_arch_tar_gfsocean_analysis task does technically fail at the end of the job due the backup_tarballs.yaml file still being modified when the archiving job begins. See the relevant section of the log (./COMROOT/test-archive/logs/2025070100/gfs_arch_tar_gfsocean_analysis.log),

HTAR Create complete for /NCEPDEV/emc-global/1year/john.steffen/WCOSS2/scratch/test-archive/2025070100/gfsocean_analysis.tar. 12736800768 bytes written for 43 member files, max threads: 4 Transfer time: 86.469 seconds (147.300 MB/s) wallclock/user/sys: 87.737 11.086 49.241 seconds
HTAR: HTAR SUCCESSFUL
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
ERROR: htar_LFW_Thread: (line 2679,lfwthread 3) file gfs.20250701/00/conf/backup_tarballs.yaml:size changed from 150 to 123
###WARNING  htar returned non-zero exit status.

Recommendations on how to correct this error is appreciated!

@JohnSteffen-NOAA JohnSteffen-NOAA marked this pull request as ready for review September 25, 2025 19:39
Copy link
Copy Markdown
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 good. One minor suggestion.

Comment thread dev/workflow/rocoto/gfs_tasks.py Outdated
@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

I would like to test this on Hera or C6. However, C6 is not ready to use yet following its OS upgrade and Hera is maxed out at the moment. I will schedule CI testing for this PR for Monday.

Comment thread dev/workflow/rocoto/gfs_tasks.py Outdated

if self.options['do_ocean']:
tarball_types.extend(['ocean_6hravg', 'ocean_grib2', 'gfs_flux_1p00'])
tarball_types.extend(['ocean_6hravg', 'ocean_grib2', 'gfs_flux_1p00', 'gfsocean_analysis'])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for adding gfsocean analysis to the archive, @JohnSteffen-NOAA. I was also working on adding the gfs ocean analysis to the archive since these are needed to initialize GEFS. In my testing, when I added gfsocean_analysis here (line 2249), I found that some CI tests failed when mode is forecast-only because these files are not generated in this mode. I suggest adding gfsocean_analysis only when mode is cycled (please see commit 9177934).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch! Thanks @EricSinsky-NOAA.

Copy link
Copy Markdown
Contributor

@DavidHuber-NOAA DavidHuber-NOAA Sep 29, 2025

Choose a reason for hiding this comment

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

Suggested change
tarball_types.extend(['ocean_6hravg', 'ocean_grib2', 'gfs_flux_1p00', 'gfsocean_analysis'])
tarball_types.extend(['ocean_6hravg', 'ocean_grib2', 'gfs_flux_1p00'])
if self.options['do_jediocnvar'] and self.app_config.mode == 'cycled':
tarball_types.append('gfsocean_analysis')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@DavidHuber-NOAA , done. I'm testing now on WCOSS2.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@DavidHuber-NOAA I've corrected the error from ci_pytest and this PR is now ready for CI testing on Hera/Gaea. Thanks!

@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

Running CI on Hera.

@emcbot emcbot added CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress labels Sep 30, 2025
@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

All tests passed on Hera. Merging.

@DavidHuber-NOAA DavidHuber-NOAA merged commit cfe3215 into NOAA-EMC:develop Oct 1, 2025
5 checks passed
weihuang-jedi added a commit to NOAA-EPIC/global-workflow-cloud that referenced this pull request Oct 8, 2025
…into feature/adjust_tasks_per_node_layout

* 'develop' of github.com:NOAA-EPIC/global-workflow-cloud:
  Update CODEOWNERS for new oceanice_products assignments (NOAA-EMC#4134)
  Improve GW forecast timing of high-resolution runs with findings from containerized GW (NOAA-EMC#4123)
  Update CODEOWNERS to change job assignments (NOAA-EMC#4128)
  Update j-jobs to be bash linter compliant (NOAA-EMC#4124)
  Update the marine analysis archiving (NOAA-EMC#4082)
  Port tracker/genesis tasks to cloud; load wgrib2; add noaacloud to load_gw_gsi_modules (NOAA-EMC#4111)
  Only run wave bnd pnt for gfs (NOAA-EMC#4112)
weihuang-jedi added a commit to NOAA-EPIC/global-workflow-cloud that referenced this pull request Nov 5, 2025
…NOAA-EPIC/global-workflow-cloud into feature/use_container_spack-stack-1.9.2

* 'feature/use_container_spack-stack-1.9.2' of github.com:NOAA-EPIC/global-workflow-cloud:
  only double quota varaibles
  only double quota varaibles
  need run_mpmd.sh changes
  remove  config.resources.URSA from sfs
  recover ursa.yaml
  testing on ursa
  working on aws
  remove unused dir
  Update the marine analysis archiving (NOAA-EMC#4082)
  Port tracker/genesis tasks to cloud; load wgrib2; add noaacloud to load_gw_gsi_modules (NOAA-EMC#4111)
  Only run wave bnd pnt for gfs (NOAA-EMC#4112)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GFS marine analysis archiving

4 participants