-
Notifications
You must be signed in to change notification settings - Fork 177
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
Atmosphere cycling with a Coupled model #1274
Changes from all commits
9a7abd7
87752bc
7fa1c14
48b0ab0
c463640
07206c3
897e454
e4475b3
220c518
2c82642
adaccd6
756cd83
52aef5b
87c3aea
4e8d388
d906c3b
6865065
cd69548
3e6bb7e
22c91a0
accadfb
44ceaaf
013c276
24be763
d8a14d7
42beaf9
9854da5
0254f89
8afd36a
044ce69
75165f7
54aea10
9c6d78c
897a226
5b61bfd
7686cea
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
# Empty variables must include a space otherwise they will be overwritten | ||
|
||
# config.base | ||
# CASE=C384 | ||
FHMAX_GFS_00=48 | ||
FHMAX_GFS_06=48 | ||
FHMAX_GFS_12=48 | ||
|
@@ -15,21 +14,27 @@ FHOUT_HF_GFS=-1 | |
min_seaice="1.0e-6" | ||
use_cice_alb=".true." | ||
|
||
# config.fv3 | ||
DELTIM=300 | ||
layout_x_gfs=8 | ||
layout_y_gfs=8 | ||
WRITE_GROUP_GFS=1 | ||
WRTTASK_PER_GROUP_GFS=24 | ||
#The settings below will result in S2SWA running 35 days under 8 hours wallclock on hera | ||
#layout_x_gfs=24 | ||
#layout_y_gfs=16 | ||
#WRTTASK_PER_GROUP_GFS=86 | ||
WRTIOBUF="32M" | ||
MEDPETS=300 | ||
|
||
# config.fv3 # TODO: This is hard-wired for P8 and needs to be refactored. For now, use case C384 | ||
case "${CASE}" in | ||
"C384") | ||
DELTIM=300 | ||
layout_x_gfs=8 | ||
layout_y_gfs=8 | ||
WRITE_GROUP_GFS=1 | ||
WRTTASK_PER_GROUP_GFS=24 | ||
#The settings below will result in S2SWA running 35 days under 8 hours wallclock on hera | ||
#layout_x_gfs=24 | ||
#layout_y_gfs=16 | ||
#WRTTASK_PER_GROUP_GFS=86 | ||
WRTIOBUF="32M" # TODO: This value is for P8 w/ C384. Why not update/set this as default in config.fv3 C384? | ||
MEDPETS=300 # TODO: P8 wants to use 300 instead of ATMPETS = layout_x * layout_y * 6 | ||
;; | ||
esac | ||
|
||
# config.ice | ||
|
||
# TODO: These also are likely P8 hard-wired configurations. Perhaps this file should be config.P8.defaults | ||
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. This is a fair statement. In some sense this is the "I want to run the coupled model" file which before would mess-up other configurations stand-alone. |
||
# config.wave | ||
|
||
waveGRD='gwes_30m' | ||
waveinterpGRD=' ' | ||
waveuoutpGRD='gwes_30m' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,7 @@ export h2o_phys=".true." | |
# Options of stratosphere O3 physics reaction coefficients | ||
export new_o3forc="YES" | ||
|
||
export gwd_opt=2 | ||
export gwd_opt=2 | ||
|
||
# --GFS.v16 uGWD.v0, used for suite FV3_GFS_v16 and UFS p6 etc | ||
# do_ugwp=T: use unified CGWD and OGWD, and turbulent orographic form drag (TOFD) | ||
|
@@ -121,8 +121,8 @@ if [[ "$gwd_opt" -eq 2 ]]; then | |
#export do_gsl_drag_ss=".true." | ||
#export do_gsl_drag_tofd=".true." | ||
#export do_ugwp_v1_orog_only=".false." | ||
#--used for UFS p8 | ||
|
||
#--used for UFS p8 | ||
export knob_ugwp_version=0 | ||
export do_ugwp=".false." | ||
export do_tofd=".false." | ||
|
@@ -272,7 +272,7 @@ export FSICS="0" | |
export ideflate=1 | ||
export nbits=14 | ||
export ishuffle=0 | ||
# compression for RESTART files written by FMS | ||
# compression for RESTART files written by FMS | ||
export shuffle=1 | ||
export deflate_level=1 | ||
|
||
|
@@ -283,20 +283,16 @@ export USE_COUPLER_RES="NO" | |
if [[ "$CDUMP" == "gdas" ]] ; then # GDAS cycle specific parameters | ||
|
||
# Variables used in DA cycling | ||
if [[ "$QUILTING" = ".true." && "$OUTPUT_GRID" = "gaussian_grid" ]]; then | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table_da" | ||
else | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table_da_orig" | ||
fi | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table_da" | ||
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. If we are finally removing the settings for the old diag table, let's also remove 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. I did not intend to do clean-up in this PR. 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. I get that, but if it is no longer reachable, why keep it? But if you really want to defer that, we can. |
||
|
||
# Write restart files, where $number is current model start time. | ||
# Write restart files, where $number is current model start time. | ||
# restart_interval: $number | ||
# number=0, writes out restart files at the end of forecast. | ||
# number=0, writes out restart files at the end of forecast. | ||
# number>0, writes out restart files at the frequency of $number and at the end of forecast. | ||
# restart_interval: "$number -1" | ||
# writes out restart files only once at $number forecast hour. | ||
# restart_interval: "$number1 $number2 $number3 ..." | ||
# writes out restart file at the specified forecast hours | ||
# writes out restart file at the specified forecast hours | ||
export restart_interval=${restart_interval:-6} | ||
|
||
# For IAU, write restarts at beginning of window also | ||
|
@@ -313,11 +309,7 @@ if [[ "$CDUMP" == "gdas" ]] ; then # GDAS cycle specific parameters | |
elif [[ "$CDUMP" == "gfs" ]] ; then # GFS cycle specific parameters | ||
|
||
# Write more variables to output | ||
if [[ "$QUILTING" = ".true." && $OUTPUT_GRID = "gaussian_grid" ]]; then | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table" | ||
else | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table_orig" | ||
fi | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table" | ||
|
||
# Write gfs restart files to rerun fcst from any break point | ||
export restart_interval_gfs=${restart_interval_gfs:-0} | ||
|
@@ -359,10 +351,6 @@ elif [[ "$CDUMP" == "gfs" ]] ; then # GFS cycle specific parameters | |
|
||
fi | ||
|
||
if [[ "$DO_COUPLED" = "YES" ]] ; then # coupled model | ||
export DIAG_TABLE="$HOMEgfs/parm/parm_fv3diag/diag_table_cpl" | ||
fi | ||
|
||
if [[ "$DO_AERO" = "YES" ]]; then # temporary settings for aerosol coupling | ||
export AERO_DIAG_TABLE="${AERO_DIAG_TABLE:-$HOMEgfs/parm/parm_fv3diag/diag_table.aero}" | ||
export AERO_FIELD_TABLE="${AERO_FIELD_TABLE:-$HOMEgfs/parm/parm_fv3diag/field_table.aero}" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
#! /usr/bin/env bash | ||
|
||
export NX_GLB="1440" | ||
export NY_GLB="1080" | ||
case "${ICERES}" in | ||
"025") | ||
export NX_GLB="1440" | ||
export NY_GLB="1080" | ||
;; | ||
"500") | ||
export NX_GLB="72" | ||
export NY_GLB="35" | ||
export cice_processor_shape="slenderX1" | ||
;; | ||
*) | ||
echo "FATAL ERROR: Unsupported ICERES = ${ICERES}, ABORT!" | ||
exit 1 | ||
;; | ||
esac |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
#! /usr/bin/env bash | ||
|
||
# OCNRES is currently being set in config.base | ||
# case "$CASE" in | ||
# "C48") export OCNRES=500;; | ||
# "C96") export OCNRES=100;; | ||
# "C192") export OCNRES=050;; | ||
# "C384") export OCNRES=025;; | ||
# "C768") export OCNRES=025;; | ||
# *) export OCNRES=025;; | ||
# esac | ||
case "$CASE" in | ||
"C48") export OCNTIM=3600;; | ||
*) export OCNTIM=1800;; | ||
esac |
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.
FYI: The reason we use less than ATMPETS is it's been found to be more efficient, so this is likely not going to be limited to a "p8" case. That'll be for future GEFS and GFS once optimized settings are determined again (the current ones here were "sufficient" but not "optimal").