-
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
Use stochastic restart patterns on rerun #3077
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,14 +257,13 @@ case ${imp_physics} in | |
esac | ||
|
||
# Stochastic physics | ||
export DO_SPPT=${DO_SPPT:-"NO"} | ||
export DO_SKEB=${DO_SKEB:-"NO"} | ||
export DO_SHUM=${DO_SHUM:-"NO"} | ||
export DO_LAND_PERT=${DO_LAND_PERT:-"NO"} | ||
export DO_CA=${DO_CA:-"YES"} | ||
if [[ "${DO_NEST:-NO}" == "YES" ]] ; then | ||
export DO_CA="NO" # CA does not work with nesting. | ||
fi | ||
export DO_SPPT="NO" | ||
export DO_SKEB="NO" | ||
export DO_SHUM="NO" | ||
export DO_LAND_PERT="NO" | ||
export DO_CA="NO" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GFS is using CA, so DO_CA should be YES. |
||
export DO_OCN_SPPT="NO" | ||
export DO_OCN_PERT_EPBL="NO" | ||
|
||
#coupling settings | ||
export cplmode="ufs.frac" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,19 @@ FV3_postdet() { | |
|| ( echo "FATAL ERROR: Unable to copy FV3 IC, ABORT!"; exit 1 ) | ||
done | ||
|
||
if [[ "${RERUN}" != "YES" ]]; then | ||
if [[ "${RERUN}" == "YES" ]]; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bingfu-NOAA @EricSinsky-NOAA Is there a time that we want to start the model with these files? i.e., use them in more ways than a RERUN? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For 00Z, we will stop at 16-day forecast, then warm start the model to run 16-48 days forecast segment. We will need those files at that time besides a RERUN. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Subsequent segments count as RERUNs inside the system. |
||
if [[ "${DO_SPPT:-}" == "YES" || "${DO_SKEB:-}" == "YES" || \ | ||
"${DO_SHUM:-}" == "YES" || "${DO_LAND_PERT:-}" == "YES" ]]; then | ||
stochini=".true." | ||
file_list=$(stoch_restarts) | ||
echo "Copying stochastic restarts for 'RUN=${RUN}' at '${restart_date}' from '${restart_dir}'" | ||
for stoch_file in $(stoch_restarts); do | ||
restart_file="${restart_date:0:8}.${restart_date:8:2}0000.${stoch_file}" | ||
${NCP} "${restart_dir}/${restart_file}" "${DATA}/INPUT/${stoch_file}" \ | ||
|| ( echo "FATAL ERROR: Unable to copy stochastic restart, ABORT!"; exit 1 ) | ||
done | ||
fi | ||
else | ||
# Replace sfc_data with sfcanl_data restart files from current cycle (if found) | ||
local nn | ||
for (( nn = 1; nn <= ntiles; nn++ )); do | ||
|
@@ -78,7 +90,7 @@ FV3_postdet() { | |
"${DATA}/INPUT/fv_tracer.res.tile${nn}.nc" | ||
done | ||
fi # if [[ ${use_anl_aero} == "YES" ]]; then | ||
fi # if [[ "${RERUN}" != "YES" ]]; then | ||
fi # if [[ "${RERUN}" == "YES" ]]; then | ||
|
||
fi # if [[ "${warm_start}" == ".true." ]]; then | ||
|
||
|
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.
is this config file being used by mem000 in ensemble?, if so, then DO_CA should be YES.