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

Resolve IC filename mismatch and differentiate model component start date variables #2909

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

Conversation

KateFriedman-NOAA
Copy link
Member

Description

This PR resolves errors reported in issues #2865 and #2890. Upon investigation it was discovered that both issues were caused by the same thing = the IAU not being set to "NO" for cold-start. DOIAU=YES was set for the experiment but was not being set to "NO" for the cold-started first half-cycle staging job. Within config.base is an if-block to sets IAU variables for IAU being off but DOIAU was not forced to be "NO" and thus the prior "YES" setting was used to define the filenames in the staging job. I added export DOIAU="NO" within that if-block to force it off for cold-start.

Additionally, to manage the start dates for the various model components better, I created specific variables for atmos, ice, mediator, ocean, and wave cycle dates. Updated fcst scripts and the staging yamls to use them.

FYI @guillaumevernieres @apchoiCMD @jswhit

Resolves #2865
Resolves #2890

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)

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 the staging and fcst jobs for the two cases that reported issues
  • Ran the staging and fcst jobs for several CI tests on Hera

- Create specific variables for atmos, ice, mediator, ocean,
and wave cycle dates and update scripts/staging yamls to use them.
- Also resolve issue with incorrect IC filenames caused by not
turning IAU off for cold-start.

Refs NOAA-EMC#2865
Refs NOAA-EMC#2890
@apchoiCMD
Copy link

Thanks for your PR @KateFriedman-NOAA

@KateFriedman-NOAA
Copy link
Member Author

Reviewing additional issue reported by @jswhit in #2865.

@WalterKolczynski-NOAA
Copy link
Contributor

Reviewing additional issue reported by @jswhit in #2865.

Are more changes needed, or is this ready to roll?

@KateFriedman-NOAA
Copy link
Member Author

Are more changes needed, or is this ready to roll?

Still trying to resolve the issue.

- Move DOIAU="NO" to config.stage_ic
- Add similar condition check to forecast_predet.sh

Refs NOAA-EMC#2865
@@ -91,16 +91,30 @@

# Define model start date for current_cycle and next_cycle as the time the forecast will start
if [[ "${DOIAU:-NO}" == "YES" ]]; then
model_start_date_current_cycle="${current_cycle_begin}"
if [[ "${MODE}" = "cycled" && "${SDATE}" = "${PDY}${cyc}" && ${EXP_WARM_START} = ".false." ]] || [[ "${MODE}" = "forecast-only" && ${EXP_WARM_START} = ".false." ]] ; then

Check notice

Code scanning / shellcheck

Possible misspelling: SDATE may not be assigned. Did you mean CDATE? Note

Possible misspelling: SDATE may not be assigned. Did you mean CDATE?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants