-
Notifications
You must be signed in to change notification settings - Fork 279
MOM6 IAU and atmos stochy restart test #668
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
Changes from all commits
9440291
2a42282
6e78b21
b865cae
91ae074
9cc0424
e481ede
2a34a16
fb7920a
ad692bf
f5472d2
a536b6f
cc30b5d
bcc8e4a
14da992
65aedbc
05ba630
724e369
84c0d40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| +14 −5 | src/core/MOM.F90 | |
| +175 −3 | src/initialization/MOM_state_initialization.F90 | |
| +874 −0 | src/ocean_data_assim/MOM_oda_incupd.F90 | |
| +53 −2 | src/parameterizations/vertical/MOM_diabatic_driver.F90 |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,150 @@ | ||
| rm -fr INPUT RESTART | ||
| if [ $NPX = 97 ]; then | ||
| inputdir=FV3_input_data | ||
| elif [ $NPX = 193 ]; then | ||
| inputdir=FV3_input_data192 | ||
| elif [ $NPX = 385 ]; then | ||
| inputdir=FV3_input_data384 | ||
| elif [ $NPX = 769 ]; then | ||
| inputdir=FV3_input_data_c768 | ||
| fi | ||
| echo "inputdir=$inputdir,NPX=$NPX" | ||
|
|
||
| UNIT_TEST=${UNIT_TEST:-false} | ||
| SUFFIX=${RT_SUFFIX} | ||
| if [ $WARM_START = .F. ]; then | ||
| mkdir INPUT RESTART | ||
| cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT_L127/* ./INPUT/. | ||
| else | ||
| mkdir INPUT RESTART | ||
|
|
||
| if [[ ${UNIT_TEST} == true ]]; then | ||
| SUFFIX=${BL_SUFFIX} | ||
| fi | ||
|
|
||
| if [ $MODEL_INITIALIZATION = false ]; then | ||
| #read_inc and iau tests restart from fh=24 | ||
| CURRDIR=`pwd` | ||
| FILEDIR=${CURRDIR}/../control_stochy${SUFFIX}/RESTART/ | ||
| else | ||
| #for warm start from initialiation time | ||
| FILEDIR=@[INPUTDATA_ROOT]/${inputdir}/INPUT_L127_GDAS | ||
| fi | ||
|
|
||
| if [[ ${IAU_OFFSET} != 0 ]] || [[ $READ_INCREMENT = '.T.' ]]; then | ||
|
|
||
| if [ $MODEL_INITIALIZATION = false ]; then | ||
| cp ${FILEDIR}/../INPUT/fv3_increment.nc INPUT/. | ||
| cp ${FILEDIR}/../INPUT/grid_spec.nc INPUT/. | ||
| cp ${FILEDIR}/../INPUT/*_grid.tile*.nc INPUT/. | ||
| cp ${FILEDIR}/../INPUT/oro_data.tile*.nc INPUT/. | ||
| else | ||
| cp ${FILEDIR}/fv_increment*.nc INPUT/. | ||
| cp ${FILEDIR}/grid_spec.nc INPUT/. | ||
| cp ${FILEDIR}/*_grid.tile*.nc INPUT/. | ||
| cp ${FILEDIR}/oro_data.tile*.nc INPUT/. | ||
| fi | ||
| cp ${FILEDIR}/coupler.res INPUT/. | ||
| cp ${FILEDIR}/fv_core.res.* INPUT/. | ||
| cp ${FILEDIR}/fv_srf_wnd.res.* INPUT/. | ||
| cp ${FILEDIR}/fv_tracer.* INPUT/. | ||
| cp ${FILEDIR}/phy_data.* INPUT/. | ||
| cp ${FILEDIR}/sfc_data.* INPUT/. | ||
| else | ||
| #restart test start from fh=06 | ||
| rsync -arv ${FILEDIR} INPUT/ | ||
| cp ${FILEDIR}/20210322.120000.* INPUT/. | ||
| cp ${FILEDIR}/../INPUT/grid_spec.nc INPUT/. | ||
| cp ${FILEDIR}/../INPUT/*_grid.tile*.nc INPUT/. | ||
| cp ${FILEDIR}/../INPUT/oro_data.tile*.nc INPUT/. | ||
| cd INPUT | ||
| for RFILE in 20210322.120000.*; do | ||
| [ -e $RFILE ] || exit 1 | ||
| mv $RFILE ${RFILE#20210322.120000.} | ||
| done | ||
| cd .. | ||
| fi | ||
|
|
||
| fi | ||
|
|
||
| cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/global_o3prdlos.f77 . | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/*grb . | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_gfsv16 ./diag_table | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/field_table_gfsv16 ./field_table | ||
|
|
||
| if [ $NEW_DIAGTABLE != '' ]; then | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/$NEW_DIAGTABLE ./diag_table | ||
| fi | ||
|
|
||
| if [ $NEW_FIELDTABLE != '' ]; then | ||
| cp @[INPUTDATA_ROOT]/${inputdir}/$NEW_FIELDTABLE ./field_table | ||
| fi | ||
|
|
||
| if [ $CPLWAV = .T. ]; then | ||
| cp @[INPUTDATA_ROOT_WW3]/mod_def.* . | ||
| cp @[INPUTDATA_ROOT_WW3]/rmp_src* . | ||
| fi | ||
|
|
||
| #inline post | ||
| if [[ $POSTAPP = 'global' ]]; then | ||
| cp ${PATHRT}/parm/post_itag itag | ||
| cp ${PATHRT}/parm/postxconfig-NT.txt postxconfig-NT.txt | ||
| cp ${PATHRT}/parm/postxconfig-NT_FH00.txt postxconfig-NT_FH00.txt | ||
| cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new | ||
| fi | ||
|
|
||
| #rrtmgp | ||
| if [ $DO_RRTMGP = .T. ]; then | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* . | ||
| fi | ||
|
|
||
| #merra2 | ||
| if [ $USE_MERRA2 = .T. ]; then | ||
| for n in 01 02 03 04 05 06 07 08 09 10 11 12; do | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc | ||
| done | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat | ||
| fi | ||
|
|
||
| #ugwpv1 | ||
| if [ $DO_UGWP_V1 = .T. ]; then | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data/ugwp_c384_tau.nc ./ugwp_limb_tau.nc | ||
| fi | ||
|
|
||
| #Thompson | ||
| if [ $IMP_PHYSICS = 8 ]; then | ||
| if [ $LTAEROSOL = .T. ]; then | ||
| if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gsd field_table | ||
| else | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gf_thompson field_table | ||
| fi | ||
| else | ||
| if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_thompson_noaero_tke field_table | ||
| else | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_thompson_noaero field_table | ||
| fi | ||
| fi | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qsV2.dat . | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qgV2.dat . | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/freezeH2O.dat . | ||
| cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . | ||
| fi | ||
|
|
||
| #prognostic aerosols | ||
| if [ $CPLCHM = .T. ]; then | ||
| cp @[INPUTDATA_ROOT]/GOCART/diag_table . | ||
| cp @[INPUTDATA_ROOT]/GOCART/field_table . | ||
| cp @[INPUTDATA_ROOT]/GOCART/rc/* . | ||
| ln -sf @[INPUTDATA_ROOT]/GOCART/ExtData . | ||
| fi |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -290,6 +290,7 @@ deflate_level=1 | |
| / | ||
|
|
||
| &nam_stochy | ||
| STOCHINI=@[STOCHINI], | ||
| SKEBNORM=1, | ||
| SKEB_NPASS=30, | ||
| SKEB_VDOF=5, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,11 +33,12 @@ export IAER=5111 | |
| export DO_SPPT=.T. | ||
| export DO_SHUM=.T. | ||
| export DO_SKEB=.T. | ||
| export RESTART_INTERVAL=6 | ||
| export SKEB=0.3 | ||
| export SHUM=0.003 | ||
| export SPPT=0.2 | ||
|
|
||
|
|
||
| export FV3_RUN=control_run.IN | ||
| export FV3_RUN=control_stochy_run.IN | ||
|
pjpegion marked this conversation as resolved.
Collaborator
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. It seems to me the only difference between the control_run.IN and control_stochy_run.IN is that the stochy is using 6hr restart files while control is using 12, maybe in the future we can add a restart file time to the script and unify the two scripts so that we don't need to maintain two scripts.
Collaborator
Author
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. Yes, that can be added so we don't have 2 scripts. |
||
| export CCPP_SUITE=FV3_GFS_v16 | ||
| export INPUT_NML=control.nml.IN | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| ############################################################################### | ||
| # | ||
| # Global control stochy restart test | ||
| # | ||
| ############################################################################### | ||
|
|
||
| export TEST_DESCR="Compare global restart wth stochsatics results with previous trunk version" | ||
|
|
||
| export CNTL_DIR=control_stochy | ||
|
|
||
| export LIST_FILES="sfcf012.nc \ | ||
| atmf012.nc \ | ||
| GFSFLX.GrbF12 \ | ||
| GFSPRS.GrbF12 " | ||
|
|
||
| export_fv3 | ||
| export NPZ=127 | ||
| export NPZP=128 | ||
| export DT_ATMOS=600 | ||
| export SYEAR=2021 | ||
| export SMONTH=03 | ||
| export SDAY=22 | ||
| export SHOUR=06 | ||
| export FHMAX=12 | ||
| export OUTPUT_GRID='gaussian_grid' | ||
| export NSTF_NAME='2,0,0,0,0' | ||
| export WRITE_DOPOST=.true. | ||
| export IAER=5111 | ||
| export FHROT=06 | ||
|
|
||
| export WARM_START=.T. | ||
| export NGGPS_IC=.F. | ||
| export EXTERNAL_IC=.F. | ||
| export MAKE_NH=.F. | ||
| export MOUNTAIN=.T. | ||
| export NA_INIT=0 | ||
| export DO_SPPT=.T. | ||
| export DO_SHUM=.T. | ||
| export DO_SKEB=.T. | ||
| export SKEB=0.3 | ||
| export SHUM=0.003 | ||
| export SPPT=0.2 | ||
| export STOCHINI=.T. | ||
|
|
||
| export FV3_RUN=control_stochy_run.IN | ||
| export CCPP_SUITE=FV3_GFS_v16 | ||
| export INPUT_NML=control.nml.IN |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # | ||
| # DATM_MOM6_CICE_CMEPS_GEFS test | ||
| # | ||
|
|
||
| export TEST_DESCR="DATM-MOM6-CICE-CMEPS_GEFS - IAU" | ||
|
|
||
| export CNTL_DIR="datm_control_iau_gefs" | ||
|
|
||
| export LIST_FILES="RESTART/MOM.res.nc \ | ||
| RESTART/iced.2011-10-02-00000.nc \ | ||
| RESTART/DATM_GEFS.cpl.r.2011-10-02-00000.nc" | ||
|
|
||
| export_datm | ||
| export FV3_RUN=cpld_datm_gefs.IN | ||
| export eps_imesh='2.5e-1' | ||
| export MOM_IAU="True" |
Uh oh!
There was an error while loading. Please reload this page.