-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add ability to use GEFS replay ICs #2559
Add ability to use GEFS replay ICs #2559
Conversation
updates to have correct ICs in com for IAU after a cold start first half cycle
scripts/exgfs_wave_post_pnt.sh
Outdated
@@ -247,8 +247,9 @@ source "${USHgfs}/preamble.sh" | |||
-e "s/FORMAT/F/g" \ | |||
ww3_outp_spec.inp.tmpl > ww3_outp.inp | |||
|
|||
${NLN} mod_def.$waveuoutpGRD mod_def.ww3 | |||
HMS="${cyc}0000" | |||
ln -s mod_def.$waveuoutpGRD mod_def.ww3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please retain the use of ${NLN}
scripts/exglobal_stage_ic.sh
Outdated
@@ -149,7 +171,7 @@ for MEMDIR in "${MEMDIR_ARRAY[@]}"; do | |||
|
|||
# Stage the WW3 initial conditions to ROTDIR (warm start; TODO: these should be placed in $RUN.$gPDY/$gcyc) | |||
if [[ "${DO_WAVE:-}" = "YES" ]]; then | |||
YMD=${PDY} HH=${cyc} declare_from_tmpl COM_WAVE_RESTART | |||
YMD=${gPDY} HH=${gcyc} declare_from_tmpl COM_WAVE_RESTART |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is now going to use the previous cycle's date, the variable name should be changed to COM_WAVE_RESTART_PREV
to be consistent.
Also, I believe this will break the existing GEFS test.
scripts/exglobal_stage_ic.sh
Outdated
# Atmosphere Perturbation Files (usually used with replay ICS) | ||
# Extra zero on MEMDIR ensure we have a number even if the string is empty | ||
if (( 0${MEMDIR:3} > 0 )) && [[ "${USE_ATM_PERTURB_FILES:-false}" == "true" ]]; then | ||
src="${BASE_CPLIC}/${CPL_OCNIC:-}/${PDY}${cyc}/${MEMDIR}/atmos/${PDY}.${cyc}0000.fv3_perturbation.nc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are atmosphere perturbations coming from the ocean IC directory? Doesn't matter right now since they are identical, but this should use CPL_ATMIC
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error in coping and pasting. Updated
ush/forecast_postdet.sh
Outdated
@@ -97,16 +100,28 @@ FV3_postdet() { | |||
local model_start_time="${current_cycle}" | |||
local model_current_time="${current_cycle}" | |||
fi | |||
if [[ "${USE_REPLAY_ICS}" != "true" ]]; then | |||
rm -f "${DATA}/INPUT/coupler.res" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent this block (except the EOF)
ush/forecast_postdet.sh
Outdated
@@ -490,6 +505,7 @@ MOM6_out() { | |||
esac | |||
|
|||
# Copy MOM6 restarts at the end of the forecast segment to COM for RUN=gfs|gefs | |||
if [[ "${USE_REPLAY_ICS}" != "true" ]]; then | |||
local restart_file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent this block.
ush/forecast_postdet.sh
Outdated
@@ -590,6 +607,7 @@ CICE_out() { | |||
${NCP} "${DATA}/ice_in" "${COM_CONF}/ufs.ice_in" | |||
|
|||
# Copy CICE restarts at the end of the forecast segment to COM for RUN=gfs|gefs | |||
if [[ "${USE_REPLAY_ICS}" != "true" ]]; then | |||
local seconds source_file target_file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent this block.
ush/forecast_postdet.sh
Outdated
@@ -729,6 +748,7 @@ CMEPS_out() { | |||
echo "SUB ${FUNCNAME[0]}: Copying output data for CMEPS mediator" | |||
|
|||
# Copy mediator restarts at the end of the forecast segment to COM for RUN=gfs|gefs | |||
if [[ "${USE_REPLAY_ICS}" != "true" ]]; then | |||
echo "Copying mediator restarts for 'RUN=${RUN}' at ${forecast_end_cycle}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent this block.
Does this resolve #1838 or is it only part of it? The details were never filled in to that issue to know what needs to be done. |
Co-authored-by: Walter Kolczynski - NOAA <Walter.Kolczynski@noaa.gov>
CI Passed Hera at |
|
Automated global-workflow Testing Results:
|
Experiment C48_ATM_7a383978 SUCCESS on Wcoss2 at 06/13/24 12:36:15 AM |
Experiment C48_S2SW_7a383978 SUCCESS on Wcoss2 at 06/13/24 01:06:10 AM |
Experiment C96C48_hybatmDA_7a383978 SUCCESS on Wcoss2 at 06/13/24 01:36:18 AM |
Experiment C96C48_ufs_hybatmDA_7a383978 SUCCESS on Wcoss2 at 06/13/24 01:48:17 AM |
Experiment C96_atm3DVar_extended_7a383978 SUCCESS on Wcoss2 at 06/13/24 07:27:30 AM |
All CI Test Cases Passed on Wcoss2:
|
34155fb
into
NOAA-EMC:develop
* upstream/develop: Add Hercules-EMC to the Jenkins configurable parameter list (NOAA-EMC#2685) Update gdas.cd and gsi_utils hashes (NOAA-EMC#2641) Add ability to use GEFS replay ICs (NOAA-EMC#2559) Replace `sleep` with `wait_for_file` (NOAA-EMC#2586)
* origin/develop: Add observation preparation job for aerosols DA to workflow (NOAA-EMC#2624) Remove ocean daily files (NOAA-EMC#2689) Update Jenkinsfile Add Hercules-EMC to the Jenkins configurable parameter list (NOAA-EMC#2685) Update gdas.cd and gsi_utils hashes (NOAA-EMC#2641) Add ability to use GEFS replay ICs (NOAA-EMC#2559) Replace `sleep` with `wait_for_file` (NOAA-EMC#2586) Add COM template for JEDI obs (NOAA-EMC#2678) Link both global-nest fix files and non-nest ones at the same time (NOAA-EMC#2632) Update ufs-weather-model (NOAA-EMC#2663) Add ability to process ocean/ice products specific to GEFS (NOAA-EMC#2561) Update cleanup job to use COMIN/COMOUT (NOAA-EMC#2649) Add overwrite to creat experiment in BASH CI (NOAA-EMC#2676) Add handling to select CRTM cloud optical table based on cloud scheme and update calcanal_gfs.py (NOAA-EMC#2645) Refs NOAA-EMC#2475
Description
The PR allows the use of ICs from PSL's replay analysis. These replay ICs will be used for GEFS reforecasting and SFS. Two main changes are associated with these updates: (1) replay ICs being valid at 3Z, and (2) the use of warm starts.
This addresses #1838
Type of change
Change characteristics
How has this been tested?
Checklist