Skip to content

Replace NDATE with date #3725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

KateFriedman-NOAA
Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA commented May 22, 2025

Description

This PR replaces instances of the NDATE utility with the date command in the workflow. Included is some cleanup of CDATE instances (replaced with PDYcyc) and replacing some cut commands that I came across while removing NDATE.

Resolves #3699

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

How has this been tested?

Ran CI suite 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

Copy link
Contributor

@JessicaMeixner-NOAA JessicaMeixner-NOAA left a comment

Choose a reason for hiding this comment

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

The wave related codes look okay to me.

- Add shellcheck disable of SC2153 back into scripts

Refs NOAA-EMC#3699
Remove starting message

Refs NOAA-EMC#3699

Co-authored-by: Rahul Mahajan <[email protected]>
@KateFriedman-NOAA
Copy link
Member Author

Rerunning tests on WCOSS2 after syncing with develop and addressing reviewer comments.

@emcbot emcbot added CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules and removed CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules labels May 29, 2025
@KateFriedman-NOAA KateFriedman-NOAA added CI-Wcoss2-Failed **Bot use only** CI testing on WCOSS for this PR has failed and removed CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS labels May 29, 2025
@KateFriedman-NOAA
Copy link
Member Author

Restarting CI on WCOSS2, kicked it off on wrong (prod) side.

@KateFriedman-NOAA KateFriedman-NOAA added CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS and removed CI-Wcoss2-Failed **Bot use only** CI testing on WCOSS for this PR has failed labels May 29, 2025
@emcbot emcbot added CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS CI-Hercules-Running **Bot use only** CI testing on Hercules for this PR is in-progress CI-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress and removed CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS labels May 29, 2025
@emcbot
Copy link

emcbot commented May 29, 2025

CI Tests set up to run in /lfs/h2/emc/ptmp/emc.global/PR/PR_3725/RUNTESTS on WCOSS

@KateFriedman-NOAA
Copy link
Member Author

WCOSS2 CI was partially complete before a sudden production switch happened and killed the tests:

Thu May 29 19:40:04 UTC 2025
******** C48_ATM_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103231200        Done    May 29 2025 17:29:57    May 29 2025 18:26:25

******** C48mx500_3DVarAOWCDA_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103241800        Done    May 29 2025 17:29:58    May 29 2025 17:46:32
202103250000        Done    May 29 2025 17:29:58    May 29 2025 19:35:57

******** C48mx500_hybAOWCDA_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103241800        Done    May 29 2025 17:30:00    May 29 2025 17:46:41
202103250000        Done    May 29 2025 17:30:00    May 29 2025 18:56:27

******** C48_S2SW_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103231200        Done    May 29 2025 17:30:02    May 29 2025 18:36:33

******** C48_S2SWA_gefs_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103231200        Done    May 29 2025 17:30:04    May 29 2025 18:36:39

******** C48_S2SW_extended_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202103231200      Active    May 29 2025 17:30:07             -          
202103231800      Active    May 29 2025 17:30:07             -          

******** C96_atm3DVar_extended_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201800        Done    May 29 2025 17:30:10    May 29 2025 17:47:06
202112210000      Active    May 29 2025 17:30:10             -          
202112210600      Active    May 29 2025 17:30:10             -          
202112211200      Active    May 29 2025 17:52:07             -          
202112211800    Inactive             -                       -          

******** C96C48_hybatmaerosnowDA_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201200        Done    May 29 2025 17:30:12    May 29 2025 17:52:13
202112201800      Active    May 29 2025 17:30:12             -          
202112210000      Active    May 29 2025 17:30:12             -          

******** C96C48_hybatmDA_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201800        Done    May 29 2025 17:30:14    May 29 2025 17:47:14
202112210000      Active    May 29 2025 17:30:14             -          
202112210600      Active    May 29 2025 17:30:14             -          

******** C96C48mx500_S2SW_cyc_gfs_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202112201200        Done    May 29 2025 17:30:16    May 29 2025 17:47:19
202112201800      Active    May 29 2025 17:30:16             -          
202112210000      Active    May 29 2025 17:30:16             -          
202112211800      Active    May 29 2025 17:52:21             -          

******** C96C48_ufs_hybatmDA_3725 ********
   CYCLE         STATE           ACTIVATED              DEACTIVATED     
202402231800        Done    May 29 2025 17:30:18    May 29 2025 17:47:25
202402240000      Active    May 29 2025 17:30:18             -          
202402240600      Active    May 29 2025 17:30:18             -          

******** C96mx100_S2S_3725 ********
199405010000    sfs_atmos_ensstat_f144    druby://clogin03.cactus.wcoss2.ncep.noaa.gov:42871          SUBMITTING                   -         0           0.0

@KateFriedman-NOAA
Copy link
Member Author

Setting WCOSS2 CI to "passed" since enough of the tests ran to invoke the changes in this PR. Will further rely on the CI tests running on Hercules.

@KateFriedman-NOAA KateFriedman-NOAA added CI-Wcoss2-Passed **Bot use only** CI testing on WCOSS for this PR has completed successfully and removed CI-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress labels May 29, 2025
@aerorahul aerorahul self-requested a review May 29, 2025 20:48
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.

lgtm

@emcbot
Copy link

emcbot commented May 29, 2025

Experiment C96C48_hybatmDA FAILED on Hercules in Build# 1 with error logs:

/work2/noaa/global/role-global/GFS_CI_CD/HERCULES/CI/3725/RUNTESTS/COMROOT/C96C48_hybatmDA_2d06ca74/logs/2021122100/gdas_verfozn.log

Follow link here to view the contents of the above file(s): (gdas_verfozn.log)

@emcbot
Copy link

emcbot commented May 29, 2025

Experiment C48mx500_hybAOWCDA FAILED on Hercules in Build# 1 with error logs:

Follow link here to view the contents of the above file(s):

@emcbot
Copy link

emcbot commented May 29, 2025

Experiment C96_atm3DVar FAILED on Hercules in Build# 1 with error logs:

Follow link here to view the contents of the above file(s):

@emcbot emcbot added CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed and removed CI-Hercules-Running **Bot use only** CI testing on Hercules for this PR is in-progress labels May 29, 2025
@emcbot
Copy link

emcbot commented May 29, 2025

Experiment C48mx500_hybAOWCDA FAILED on Hercules in Build# 1 in
/work2/noaa/global/role-global/GFS_CI_CD/HERCULES/CI/3725/RUNTESTS/EXPDIR/C48mx500_hybAOWCDA_2d06ca74

@emcbot
Copy link

emcbot commented May 29, 2025

Experiment C96C48_hybatmDA FAILED on Hercules in Build# 1 in
/work2/noaa/global/role-global/GFS_CI_CD/HERCULES/CI/3725/RUNTESTS/EXPDIR/C96C48_hybatmDA_2d06ca74

@emcbot
Copy link

emcbot commented May 29, 2025

Experiment C96_atm3DVar FAILED on Hercules in Build# 1 in
/work2/noaa/global/role-global/GFS_CI_CD/HERCULES/CI/3725/RUNTESTS/EXPDIR/C96_atm3DVar_2d06ca74

@emcbot emcbot added CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed and removed CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed CI-Wcoss2-Passed **Bot use only** CI testing on WCOSS for this PR has completed successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace NDATE with date
5 participants