-
Notifications
You must be signed in to change notification settings - Fork 168
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
Resolve IC filename mismatch and differentiate model component start date variables #2909
Conversation
- 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
Thanks for your PR @KateFriedman-NOAA |
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
2245e8b
@@ -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
Discussed this with @aerorahul and @WalterKolczynski-NOAA yesterday. Will close this and rework the changes based on our conversation. |
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. Withinconfig.base
is an if-block to sets IAU variables for IAU being off butDOIAU
was not forced to be "NO" and thus the prior "YES" setting was used to define the filenames in the staging job. I addedexport 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
Change characteristics
How has this been tested?