-
Notifications
You must be signed in to change notification settings - Fork 253
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
update with fv3 & ccpp/physics updates in order to turn the NSST model on in the coupled model (Replace PR #453) #483
Changes from 7 commits
482dd64
dad728f
48c414f
9c7e5b8
c73d62b
0dc1d1e
e060e17
f922305
8993cf2
2f6fb4d
5a0f6d2
2af3f31
6d4e019
b465ef7
7d0b2c9
c5842b9
127fa9a
afed340
fda9a8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
+2 −2 | .gitmodules | |
+1 −1 | ccpp/physics | |
+94 −0 | ccpp/suites/suite_FV3_GFS_v15p2_couplednsst.xml | |
+95 −0 | ccpp/suites/suite_FV3_GFS_v16_couplednsst.xml | |
+1 −1 | io/FV3GFS_io.F90 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
# | ||
# cpld_bmarkfrac_v16_nsst test | ||
# | ||
|
||
export TEST_DESCR="Fully coupled FV3-CCPP-MOM6-CICE-CMEPS system - C384L127 MX025 - Benchmark test - frac grid - v16" | ||
|
||
export CNTL_DIR="cpld_bmarkfrac_v16_nsst" | ||
|
||
export LIST_FILES="phyf012.tile1.nc \ | ||
phyf012.tile2.nc \ | ||
phyf012.tile3.nc \ | ||
phyf012.tile4.nc \ | ||
phyf012.tile5.nc \ | ||
phyf012.tile6.nc \ | ||
dynf012.tile1.nc \ | ||
dynf012.tile2.nc \ | ||
dynf012.tile3.nc \ | ||
dynf012.tile4.nc \ | ||
dynf012.tile5.nc \ | ||
dynf012.tile6.nc \ | ||
RESTART/coupler.res \ | ||
RESTART/fv_core.res.nc \ | ||
RESTART/fv_core.res.tile1.nc \ | ||
RESTART/fv_core.res.tile2.nc \ | ||
RESTART/fv_core.res.tile3.nc \ | ||
RESTART/fv_core.res.tile4.nc \ | ||
RESTART/fv_core.res.tile5.nc \ | ||
RESTART/fv_core.res.tile6.nc \ | ||
RESTART/fv_srf_wnd.res.tile1.nc \ | ||
RESTART/fv_srf_wnd.res.tile2.nc \ | ||
RESTART/fv_srf_wnd.res.tile3.nc \ | ||
RESTART/fv_srf_wnd.res.tile4.nc \ | ||
RESTART/fv_srf_wnd.res.tile5.nc \ | ||
RESTART/fv_srf_wnd.res.tile6.nc \ | ||
RESTART/fv_tracer.res.tile1.nc \ | ||
RESTART/fv_tracer.res.tile2.nc \ | ||
RESTART/fv_tracer.res.tile3.nc \ | ||
RESTART/fv_tracer.res.tile4.nc \ | ||
RESTART/fv_tracer.res.tile5.nc \ | ||
RESTART/fv_tracer.res.tile6.nc \ | ||
RESTART/phy_data.tile1.nc \ | ||
RESTART/phy_data.tile2.nc \ | ||
RESTART/phy_data.tile3.nc \ | ||
RESTART/phy_data.tile4.nc \ | ||
RESTART/phy_data.tile5.nc \ | ||
RESTART/phy_data.tile6.nc \ | ||
RESTART/sfc_data.tile1.nc \ | ||
RESTART/sfc_data.tile2.nc \ | ||
RESTART/sfc_data.tile3.nc \ | ||
RESTART/sfc_data.tile4.nc \ | ||
RESTART/sfc_data.tile5.nc \ | ||
RESTART/sfc_data.tile6.nc \ | ||
RESTART/MOM.res.nc \ | ||
RESTART/MOM.res_1.nc \ | ||
RESTART/MOM.res_2.nc \ | ||
RESTART/MOM.res_3.nc \ | ||
RESTART/iced.2013-04-01-43200.nc \ | ||
RESTART/ufs.cpld.cpl.r.2013-04-01-43200.nc" | ||
|
||
export_fv3 | ||
export_cpl | ||
|
||
export SYEAR="2013" | ||
export SMONTH="04" | ||
export SDAY="01" | ||
export SHOUR="00" | ||
|
||
export DAYS="0.5" | ||
export FHMAX="12" | ||
export RESTART_INTERVAL="6" | ||
export RESTART_N=${RESTART_INTERVAL} | ||
|
||
export TASKS=$TASKS_cpl_bmrk | ||
export TPN=$TPN_cpl_bmrk | ||
export INPES=$INPES_cpl_bmrk | ||
export JNPES=$JNPES_cpl_bmrk | ||
export THRD=$THRD_cpl_bmrk | ||
export WRTTASK_PER_GROUP=$WPG_cpl_bmrk | ||
|
||
export med_petlist_bounds=$MPB_cpl_bmrk | ||
export atm_petlist_bounds=$APB_cpl_bmrk | ||
export ocn_petlist_bounds=$OPB_cpl_bmrk | ||
export ice_petlist_bounds=$IPB_cpl_bmrk | ||
|
||
# atm/ocn/ice resolution | ||
export ATMRES='C384' | ||
export NPX=385 | ||
export NPY=385 | ||
export IMO=1536 | ||
export JMO=768 | ||
|
||
export OCNRES='025' | ||
export ICERES='0.25' | ||
export NX_GLB=1440 | ||
export NY_GLB=1080 | ||
export NPROC_ICE='48' | ||
|
||
# resolution dependent setting | ||
export CDMBWD=${CDMBWD_c384} | ||
|
||
# set component and coupling timesteps | ||
export DT_ATMOS='225' | ||
export DT_CICE=${DT_ATMOS} | ||
export DT_DYNAM_MOM6='900' | ||
export DT_THERM_MOM6='1800' | ||
export CPL_SLOW=${DT_THERM_MOM6} | ||
export CPL_FAST=${DT_ATMOS} | ||
|
||
# nems.configure | ||
export coupling_interval_slow_sec=${CPL_SLOW} | ||
export coupling_interval_fast_sec=${CPL_FAST} | ||
|
||
export FRAC_GRID='.T.' | ||
export CPLMODE='nems_frac' | ||
|
||
export NPZ=127 | ||
export NPZP=128 | ||
export PSM_BC=1 | ||
export DDDMP=0.2 | ||
|
||
# resolution dependent files | ||
export MOM_INPUT="MOM_input_template_${OCNRES}" | ||
export MESHOCN_ICE="mesh.mx${OCNRES}.nc" | ||
export CICEGRID="grid_cice_NEMS_mx${OCNRES}.nc" | ||
export CICEMASK="kmtu_cice_NEMS_mx${OCNRES}.nc" | ||
export CHLCLIM="seawifs-clim-1997-2010.${NX_GLB}x${NY_GLB}.v20180328.nc" | ||
export FRUNOFF="runoff.daitren.clim.${NX_GLB}x${NY_GLB}.v20180328.nc" | ||
|
||
export FNALBC="'global_snowfree_albedo.bosu.t766.1536.768.rg.grb'," | ||
export FNVETC="'global_vegtype.igbp.t766.1536.768.rg.grb'," | ||
export FNSOTC="'global_soiltype.statsgo.t766.1536.768.rg.grb'," | ||
export FNSMCC="'global_soilmgldas.statsgo.t766.1536.768.grb'," | ||
export FNABSC="'global_mxsnoalb.uariz.t766.1536.768.rg.grb'," | ||
|
||
export OZ_PHYS_NEW=".T." | ||
|
||
export MOM6_RIVER_RUNOFF='True' | ||
export MOM6_RESTART_SETTING="r" | ||
export MOM6_REPRO_LA='True' | ||
|
||
export RUNID="cpcice" | ||
|
||
export INPUT_NML=input.benchmark_v16.nml.IN | ||
|
||
export FIELD_TABLE="field_table_gfsv16" | ||
export DIAG_TABLE="diag_table_bmark_v16_template" | ||
export SUITE_NAME="FV3_GFS_v16_couplednsst" | ||
export nstf_name=2,1,0,0,0 | ||
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. You need to make nstf_name in the file input.benchmark_v16.nml.IN to be a variable, which is defined here in the test. So, here define: NSTF_NAME='2,1,0,0,0'. Then in input.benchmark_v16.nml.IN set nstf_name = @[NSTF_NAME]. This will also need to be done in the same way for the control_nsst test that you added. 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.
@DeniseWorthen: Yes, it is better, since it is consistent with all the places of nstf_name in the parm/input*nml files. I change NSTF_NAME to be nstf_name since " nstf_name = 0,0,0,0,0" has been defined in input.benchmark_v16.nml.IN, I will remove this, and add nstf_name = @[NSTF_NAME] in input.benchmark_v16.nml.IN, then I can keep the upper case NSTF_NAME='2,1,0,0,0' in cpld_bmarkfrac_v16_nsst, as I did for cpld_control_nsst. This is the first time for me to create a test, a good experience. |
||
|
||
export FV3_RUN=cpld_bmark_run.IN |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# | ||
# cpld_control_nsst test | ||
# | ||
|
||
export TEST_DESCR="Fully coupled FV3-CCPP-MOM6-CICE-CMEPS system - C96MX100" | ||
|
||
export CNTL_DIR="cpld_control_nsst" | ||
|
||
export LIST_FILES="phyf024.tile1.nc \ | ||
phyf024.tile2.nc \ | ||
phyf024.tile3.nc \ | ||
phyf024.tile4.nc \ | ||
phyf024.tile5.nc \ | ||
phyf024.tile6.nc \ | ||
dynf024.tile1.nc \ | ||
dynf024.tile2.nc \ | ||
dynf024.tile3.nc \ | ||
dynf024.tile4.nc \ | ||
dynf024.tile5.nc \ | ||
dynf024.tile6.nc \ | ||
RESTART/coupler.res \ | ||
RESTART/fv_core.res.nc \ | ||
RESTART/fv_core.res.tile1.nc \ | ||
RESTART/fv_core.res.tile2.nc \ | ||
RESTART/fv_core.res.tile3.nc \ | ||
RESTART/fv_core.res.tile4.nc \ | ||
RESTART/fv_core.res.tile5.nc \ | ||
RESTART/fv_core.res.tile6.nc \ | ||
RESTART/fv_srf_wnd.res.tile1.nc \ | ||
RESTART/fv_srf_wnd.res.tile2.nc \ | ||
RESTART/fv_srf_wnd.res.tile3.nc \ | ||
RESTART/fv_srf_wnd.res.tile4.nc \ | ||
RESTART/fv_srf_wnd.res.tile5.nc \ | ||
RESTART/fv_srf_wnd.res.tile6.nc \ | ||
RESTART/fv_tracer.res.tile1.nc \ | ||
RESTART/fv_tracer.res.tile2.nc \ | ||
RESTART/fv_tracer.res.tile3.nc \ | ||
RESTART/fv_tracer.res.tile4.nc \ | ||
RESTART/fv_tracer.res.tile5.nc \ | ||
RESTART/fv_tracer.res.tile6.nc \ | ||
RESTART/phy_data.tile1.nc \ | ||
RESTART/phy_data.tile2.nc \ | ||
RESTART/phy_data.tile3.nc \ | ||
RESTART/phy_data.tile4.nc \ | ||
RESTART/phy_data.tile5.nc \ | ||
RESTART/phy_data.tile6.nc \ | ||
RESTART/sfc_data.tile1.nc \ | ||
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 don't think this test 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 think you should remove this file 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. @XuLi-NOAA You need to either remove this file from the PR or add it as a test in rt.conf. If you add it as a test, you need to set the SUITE_NAME in the test, otherwise it will use the default suite in input.mom6_ccpp.nml.IN 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.
@climbfuji : cpld_control_nsst is not used since it doesn't use v16 physics, as suggested by Bin & Jun, another one, has been created and tested, cpld_bmarkfrac_v16_nsst. 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. Thanks, in this case, please 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.
@climbfuji : I will remove cpld_control_nsst and it doesn't affect anything we have done. 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. @climbfuji : cpld_control_nsst removed |
||
RESTART/sfc_data.tile2.nc \ | ||
RESTART/sfc_data.tile3.nc \ | ||
RESTART/sfc_data.tile4.nc \ | ||
RESTART/sfc_data.tile5.nc \ | ||
RESTART/sfc_data.tile6.nc \ | ||
RESTART/MOM.res.nc \ | ||
RESTART/iced.2016-10-04-00000.nc \ | ||
RESTART/ufs.cpld.cpl.r.2016-10-04-00000.nc" | ||
|
||
export_fv3 | ||
export_cpl | ||
|
||
export RESTART_INTERVAL="12" | ||
export RESTART_N=${RESTART_INTERVAL} | ||
export NSTF_NAME=2,1,0,0,0 | ||
|
||
export FV3_RUN=cpld_control_run.IN |
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.
but shouldn't this be
export CCPP_SUITE="FV3_GFS_v16_couplednsst"
? Please check other regression tests.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.
@climbfuji The parm/input.benchmark_v16.nml.IN uses SUITE_NAME:
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.
This inconsistency should be fixed at some point. It's unintuitive that
SUITE_NAME
environment variable is used to set the value ofccpp_suite
namelist variable.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.
Noted.
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.
This should be fixed after creating the baseline and before verifying against it. Many workflows depend on this being called
CCPP_SUITE
and notSUITE_NAME
.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.
The variable is
SUITE_NAME
in all the coupled tests, not just the v16 input nml. It requires a change in default_vars, the three input nmls that the coupled tests use( input.benchmark_ccpp.nml.IN, input.benchmark_v16.nml.IN, input.mom6_ccpp.nml.IN) and then in all the cpld tests which are using a non-default setting.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.
Ok, this should never have been merged, but apparently I didn't catch it. Let's fix this in a separate PR 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.
I will add it to the CMEPS PR if you like.
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.
That would be great, yes. Thanks!