Skip to content
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

Remove SDATE=CDATE IAU settings block in config.base.nco.static #963

Merged
merged 2 commits into from
Aug 3, 2022

Conversation

KateFriedman-NOAA
Copy link
Member

Description

This PR resolves a bug reported in issue #960 revolving around IAU and FHROT settings in config.base.nco.static which result in a failing forecast job when running a new parallel that is warm-started with wave restarts. The following block is removed in config.base.nco.static:

if [[ "$SDATE" = "$CDATE" ]]; then
  export IAU_OFFSET=0
  export IAU_FHROT=0
fi

The above block is unnecessary in operations (and thankfully not an issue in operations since SDATE is very old) but caused issues when used in pre-implementation parallels that used config.base.nco.static and warm-started with wave restarts.

Resolves #960

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

The developer running the affected parallel commented out this block and confirmed the forecast job no longer fails.

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 need updates to the documentation. I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • Any dependent changes have been merged and published

- Remove the block in config.base.nco.static that checks if CDATE=SDATE
and turns IAU settings to 0.
- This block is not needed in operations and causes issues in
pre-implementation developer testing when starting a new warm-started
parallel with wave restarts.

Refs: #960
@KateFriedman-NOAA KateFriedman-NOAA added the bug Something isn't working label Aug 3, 2022
@KateFriedman-NOAA KateFriedman-NOAA self-assigned this Aug 3, 2022
@WalterKolczynski-NOAA WalterKolczynski-NOAA changed the title BUG FIX: Remove SDATE=CDATE IAU settings block in config.base.nco.static Remove SDATE=CDATE IAU settings block in config.base.nco.static Aug 3, 2022
@KateFriedman-NOAA KateFriedman-NOAA merged commit 1026b2c into develop Aug 3, 2022
KateFriedman-NOAA added a commit that referenced this pull request Aug 4, 2022
* develop:
  Remove SDATE=CDATE IAU block in NCO config.base (#963)
  Updates for P8  (#946)
  Fix GLDAS j-job link (#954)
  Add ocean post to archive dependencies (#949)
@KateFriedman-NOAA KateFriedman-NOAA deleted the bugfix/issue960 branch October 5, 2022 19:49
jkhender added a commit to jkhender/global-workflow that referenced this pull request Dec 7, 2022
 Bring in additional commits to update to NOAA-EMC global-workflow develop branch, prototype/8 tag

   commit 17c8fa2e0518fddbb389b384efebb6a45bb71d79
   Author: Walter Kolczynski - NOAA <Walter.Kolczynski@noaa.gov>
   Date:   Tue Aug 9 10:36:50 2022 -0400

       Fix post comparison with zero-padded numbers (NOAA-EMC#964)

       An error was introduced with PR NOAA-EMC#929 that was causing 0p50 and 1p00 grib
       files to not be produced due to an error in comparing a zero-padded string.
       Switching to arithmatic comparison solves the issue. Also updated the method
       of the zero-padding to the preferred printf since the code was in close
       proximity.

   commit b90b2e9ae0f9421c7932c99d4d676e7890e3dfe9
   Author: Kate Friedman <kate.friedman@noaa.gov>
   Date:   Wed Aug 3 14:45:48 2022 -0400

       Remove SDATE=CDATE IAU block in NCO config.base (NOAA-EMC#963)

       - Remove the block in config.base.nco.static that checks if CDATE=SDATE and turns IAU settings to 0.
       - This block is not needed in operations and causes issues in pre-implementation developer testing when starting a new warm-started parallel with wave restarts.

       Refs: NOAA-EMC#960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove SDATE=CDATE IAU block in config.base.nco.static
2 participants