Skip to content

De-globify ocean analysis yamls#4159

Closed
AndrewEichmann-NOAA wants to merge 8 commits into
NOAA-EMC:developfrom
AndrewEichmann-NOAA:bugfix/superfluous-yamls
Closed

De-globify ocean analysis yamls#4159
AndrewEichmann-NOAA wants to merge 8 commits into
NOAA-EMC:developfrom
AndrewEichmann-NOAA:bugfix/superfluous-yamls

Conversation

@AndrewEichmann-NOAA
Copy link
Copy Markdown
Contributor

@AndrewEichmann-NOAA AndrewEichmann-NOAA commented Oct 20, 2025

Description

Removes the *yaml glob used in archiving of ocean analysis files and replaces them with explicit filenames, to avoid sweeping in unrelated yaml files.

Resolves #4158

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 (If YES, please add a link to any PRs that are pending.)
    • EMC verif-global
    • GDAS
    • GFS-utils
    • GSI
    • GSI-monitor
    • GSI-utils
    • UFS-utils
    • UFS-weather-model
    • wxflow

How has this been tested?

Not yet tested
Tested with C96C48mx500_S2SW_cyc_gfs and C48mx500_3DVarAOWCDA on Ursa, with archived tarballs as follows:

[Andrew.Eichmann@ufe03 hpss-check]$ htar -t -f /NCEPDEV/emc-global/1year/Andrew.Eichmann/URSA/scratch/noglobvar/2021032500//gfsocean_analysis.tar  | grep yaml
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
HTAR: -rw-r--r--  Andrew.Eichmann/da       8834 2025-10-23 15:07  gfs.20210325/00/conf/gfs.t00z.bmat_fields_metadata.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        143 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.gridgen.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        773 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.soca_chgres.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1026 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.soca_diagb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        573 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.soca_setcorscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        363 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.soca_vtscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da      16813 2025-10-29 14:40  gfs.20210325/00/conf/var.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1020 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.soca_parameters_diffusion_vt.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1062 2025-10-29 14:30  gfs.20210325/00/conf/gfs.t00z.soca_parameters_diffusion_hz.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2626 2025-10-29 14:40  gfs.20210325/00/conf/soca_incpostproc.yaml
[Andrew.Eichmann@ufe03 hpss-check]$ htar -t -f /NCEPDEV/emc-global/1year/Andrew.Eichmann/URSA/scratch/noglobvar/2021032500//gdasocean_analysis.tar  | grep yaml
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
HTAR: -rw-rw-r--  Andrew.Eichmann/da        573 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.soca_setcorscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        773 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.soca_chgres.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1026 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.soca_diagb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        143 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.gridgen.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        363 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.soca_vtscales.yaml
HTAR: -rw-r--r--  Andrew.Eichmann/da       8834 2025-10-23 15:07  gdas.20210325/00/conf/gdas.t00z.bmat_fields_metadata.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da      16834 2025-10-29 14:40  gdas.20210325/00/conf/var.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1062 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.soca_parameters_diffusion_hz.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1020 2025-10-29 14:30  gdas.20210325/00/conf/gdas.t00z.soca_parameters_diffusion_vt.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2626 2025-10-29 14:40  gdas.20210325/00/conf/soca_incpostproc.yaml
[Andrew.Eichmann@ufe03 hpss-check]$ htar -t -f /NCEPDEV/emc-global/1year/Andrew.Eichmann/URSA/scratch/noglob/2021122018/gdasocean_analysis.tar | grep yaml
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2628 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_ensb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        785 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_ensweights.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        573 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_setcorscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        773 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_chgres.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1026 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_diagb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        143 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.gridgen.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        363 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_vtscales.yaml
HTAR: -rw-r--r--  Andrew.Eichmann/da       8834 2025-10-23 15:07  gdas.20211220/18/conf/gdas.t18z.bmat_fields_metadata.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da      12819 2025-10-29 17:25  gdas.20211220/18/conf/var.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1062 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_parameters_diffusion_hz.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1020 2025-10-29 17:15  gdas.20211220/18/conf/gdas.t18z.soca_parameters_diffusion_vt.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2626 2025-10-29 17:25  gdas.20211220/18/conf/soca_incpostproc.yaml
[Andrew.Eichmann@ufe03 hpss-check]$ htar -t -f /NCEPDEV/emc-global/1year/Andrew.Eichmann/URSA/scratch/noglob/2021122018/gfsocean_analysis.tar | grep yaml
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
HTAR: -rw-r--r--  Andrew.Eichmann/da       8834 2025-10-23 15:07  gfs.20211220/18/conf/gfs.t18z.bmat_fields_metadata.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        143 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.gridgen.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        773 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.soca_chgres.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1026 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.soca_diagb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        573 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.soca_setcorscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        363 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.soca_vtscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da      12804 2025-10-29 17:25  gfs.20211220/18/conf/var.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1062 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.soca_parameters_diffusion_hz.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1020 2025-10-29 17:15  gfs.20211220/18/conf/gfs.t18z.soca_parameters_diffusion_vt.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2626 2025-10-29 17:25  gfs.20211220/18/conf/soca_incpostproc.yaml
[Andrew.Eichmann@ufe03 hpss-check]$ htar -t -f /NCEPDEV/emc-global/1year/Andrew.Eichmann/URSA/scratch/noglob/2021122100/gdasocean_analysis.tar | grep yaml
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2628 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_ensb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        785 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_ensweights.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        573 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_setcorscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        773 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_chgres.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1026 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_diagb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        143 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.gridgen.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        363 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_vtscales.yaml
HTAR: -rw-r--r--  Andrew.Eichmann/da       8834 2025-10-23 15:07  gdas.20211221/00/conf/gdas.t00z.bmat_fields_metadata.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da      15001 2025-10-29 18:25  gdas.20211221/00/conf/var.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1062 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_parameters_diffusion_hz.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1020 2025-10-29 18:15  gdas.20211221/00/conf/gdas.t00z.soca_parameters_diffusion_vt.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2626 2025-10-29 18:25  gdas.20211221/00/conf/soca_incpostproc.yaml
[Andrew.Eichmann@ufe03 hpss-check]$ htar -t -f /NCEPDEV/emc-global/1year/Andrew.Eichmann/URSA/scratch/noglob/2021122100/gfsocean_analysis.tar | grep yaml
[connecting to hpsscore1.fairmont.rdhpcs.noaa.gov/1217]
HTAR: -rw-r--r--  Andrew.Eichmann/da       8834 2025-10-23 15:07  gfs.20211221/00/conf/gfs.t00z.bmat_fields_metadata.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        143 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.gridgen.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        773 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.soca_chgres.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1026 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.soca_diagb.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        573 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.soca_setcorscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da        363 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.soca_vtscales.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da      14983 2025-10-29 18:20  gfs.20211221/00/conf/var.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1062 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.soca_parameters_diffusion_hz.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       1020 2025-10-29 18:11  gfs.20211221/00/conf/gfs.t00z.soca_parameters_diffusion_vt.yaml
HTAR: -rw-rw-r--  Andrew.Eichmann/da       2626 2025-10-29 18:20  gfs.20211221/00/conf/soca_incpostproc.yaml
[Andrew.Eichmann@ufe03 hpss-check]$

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

removes the *yaml glob used in archiving and replace with explicit filesnames
@JessicaMeixner-NOAA
Copy link
Copy Markdown
Contributor

Thanks for making this PR @AndrewEichmann-NOAA !

Comment thread parm/archive/gdasocean_analysis.yaml.j2 Outdated
- '{{ COMIN_CONF | relpath(ROTDIR) }}/{{ head }}soca_diagb.yaml'
- '{{ COMIN_CONF | relpath(ROTDIR) }}/{{ head }}gridgen.yaml'
- '{{ COMIN_CONF | relpath(ROTDIR) }}/{{ head }}soca_vtscales.yaml'
- '{{ COMIN_CONF | relpath(ROTDIR) }}/{{ head }}soca_ensweights.yaml'
Copy link
Copy Markdown
Contributor

@JessicaMeixner-NOAA JessicaMeixner-NOAA Oct 23, 2025

Choose a reason for hiding this comment

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

Does this config only exist for certain options?

See: vi /6/ira-sti/world-shared/Jessica.Meixner/togwdevrt17/hpss01/COMROOT/C48mx500_3DVarAOWCDA_hpss01/logs/2021032500/gdas_arch_tar_gdasocean_analysis.log.0 where we get an error that this file does not exist.

In the conf file I have:

backup_tarballs.yaml		     gdas.t00z.soca_chgres.yaml			  gdas.t00z.soca_vtscales.yaml	ufs.ice_in	     ufs.ww3_shel.nml
fields_metadata.yaml		     gdas.t00z.soca_diagb.yaml			  MOM_parameter_doc.all		ufs.input.nml	     var.yaml
gdas.t00z.bmat_fields_metadata.yaml  gdas.t00z.soca_parameters_diffusion_hz.yaml  obsop_name_map.yaml		ufs.model_configure
gdas.t00z.gridgen.yaml		     gdas.t00z.soca_parameters_diffusion_vt.yaml  soca_incpostproc.yaml		ufs.MOM_input
gdas.t00z.obsop_name_map.yaml	     gdas.t00z.soca_setcorscales.yaml		  ufs.diag_table		ufs.ufs.configure

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.

@JessicaMeixner-NOAA Which file doesn't exist?

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.

soca_ensweights.yam

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.

That does sound hybrid-specifc. @guillaumevernieres ?

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.

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.

yes, soca_ensweights.yaml is only for the hybrid.

@AndrewEichmann-NOAA
Copy link
Copy Markdown
Contributor Author

Testing help up by /scratch4 quota

@AndrewEichmann-NOAA AndrewEichmann-NOAA marked this pull request as ready for review October 30, 2025 14:26
- '{{ COMIN_CONF | relpath(ROTDIR) }}/{{ head }}soca_vtscales.yaml'
- '{{ COMIN_CONF | relpath(ROTDIR) }}/{{ head }}bmat_fields_metadata.yaml'
- '{{ COMIN_CONF | relpath(ROTDIR) }}/var.yaml'
# soca_parameters_diffusion_vt, and soca_parameters_diffusion_hz when present
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.

Since it says when present should they be in the optional section?

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.

@guillaumevernieres Do we want to allow any others to be optional?

DavidHuber-NOAA pushed a commit that referenced this pull request Oct 30, 2025
This combines updates from PR
#4159 which
Fixes #4158 

Removes archiving of log files that have "tar" in the name so all
tar-archiving log files will be skipped and avoid an error that log file
is still being written.

Reduces wave archiving
#4150

And updates from @CatherineThomas-NOAA based on discussions with the
marine-DA team to reduce archiving.
 
It also updated ufs-utils and ufs-weather-model to the top of develop
when I started testing.

Fixes #4158
Fixes  #4155
Fixes #4150
@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

@JessicaMeixner-NOAA was this PR wrapped into #4184?

Removed several background error files from the YAML configuration - reverts part of previous merged from develop
@AndrewEichmann-NOAA
Copy link
Copy Markdown
Contributor Author

At this point the only changes are to the gfs archiving, which was included for completeness and addresses only a hypothetical issue. Probably a candidate to be closed unmerged.

@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

Closing for now. This can be revisited if needed at a later time if needed.

@JessicaMeixner-NOAA
Copy link
Copy Markdown
Contributor

@JessicaMeixner-NOAA was this PR wrapped into #4184?

yes.

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.

gdas_arch_tar_gdasocean_analysis error

5 participants