Skip to content

Commit

Permalink
add a cdeps test using GFSv16 input data (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
binli2337 authored Mar 14, 2022
1 parent 96a9933 commit 10a616d
Show file tree
Hide file tree
Showing 12 changed files with 3,361 additions and 3,054 deletions.
242 changes: 121 additions & 121 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

795 changes: 404 additions & 391 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

785 changes: 399 additions & 386 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

248 changes: 124 additions & 124 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

813 changes: 413 additions & 400 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

961 changes: 515 additions & 446 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

809 changes: 411 additions & 398 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

514 changes: 256 additions & 258 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

1,174 changes: 644 additions & 530 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions tests/fv3_conf/cpld_datm_cdeps_gfs.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
mkdir INPUT DATM_INPUT RESTART history MOM6_OUTPUT

# DATM fixed input
ln -s @[INPUTDATA_ROOT]/DATM_CDEPS/@[DATM_SRC]/@[mesh_file] DATM_INPUT
ln -s @[INPUTDATA_ROOT]/DATM_CDEPS/@[DATM_SRC]/202103/gfs.202103.nc DATM_INPUT/gfs.202103.nc

# MOM6 fixed input
ICERES="${OCNRES:0:1}.${OCNRES:1}"
cp @[INPUTDATA_ROOT]/MOM6_FIX/@[OCNRES]/* ./INPUT
cp @[INPUTDATA_ROOT]/MOM6_FIX_DATM/@[OCNRES]/* ./INPUT

# CICE fixed input
cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc .
cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc .
cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc .

if [ $WARM_START = .false. ]; then
# cold start
if [[ $OCNRES == '025' ]]; then
cp @[INPUTDATA_ROOT]/MOM6_IC/MOM6_IC_TS_2021032206.nc ./INPUT/MOM6_IC_TS.nc
cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc.res_20210322.nc cice_model.res.nc
else
cp @[INPUTDATA_ROOT]/MOM6_IC/MOM6_IC_TS_2021032206.nc ./INPUT/MOM6_IC_TS.nc
cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc.res_20210322.nc cice_model.res.nc
fi
else
# warm start
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/MOM.res.2021-03-22-18*.nc ./INPUT/MOM.res.nc

# CMEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.cpl.r.2021-03-22-64800.nc.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/${RFILE} .
ls -1 ${RFILE}>rpointer.cpl

# CICE restart and pointer files
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/iced.2021-03-22-64800.nc ./INPUT
RFILE="iced.2021-03-22-64800.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file
fi
1 change: 1 addition & 0 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ RUN | datm_cdeps_mx025_gefs

RUN | datm_cdeps_multiple_files_cfsr | - wcoss_cray | |
RUN | datm_cdeps_3072x1536_cfsr | - wcoss_cray | fv3 |
RUN | datm_cdeps_gfs | - wcoss_cray | fv3 |

COMPILE | -DAPP=NG-GODAS -DDEBUG=ON | - wcoss_cray | fv3 |
RUN | datm_cdeps_debug_cfsr | - wcoss_cray | fv3 |
Expand Down
34 changes: 34 additions & 0 deletions tests/tests/datm_cdeps_gfs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#
# DATM_CDEPS_MOM6_CICE_CMEPS_GFS test
#

export TEST_DESCR="DATM_CDEPS-MOM6-CICE-CMEPS_GFS - control "

export CNTL_DIR="datm_cdeps_gfs"

export LIST_FILES="RESTART/MOM.res.nc \
RESTART/iced.2021-03-23-21600.nc \
RESTART/DATM_GFS.cpl.r.2021-03-23-21600.nc"

export_datm_cdeps
export DATM_SRC="GFS"
export FILENAME_BASE='gfs.'
export SYEAR=2021
export SMONTH=03
export SDAY=22
export SHOUR=06
export SECS=`expr $SHOUR \* 3600`
export IATM=3072
export JATM=1536
export ATM_NX_GLB=$IATM
export ATM_NY_GLB=$JATM
export ATMRES=3072x1536
export mesh_file=gfs_mesh.nc
export MESH_ATM=DATM_INPUT/${mesh_file}
export atm_datamode=GFS
export KTHERM=2
export TFREEZE_OPTION=mushy
export RESTART_N=12
export stream_files="DATM_INPUT/gfs.202103.nc"
export eps_imesh='2.5e-1'
export FV3_RUN=cpld_datm_cdeps_gfs.IN

0 comments on commit 10a616d

Please sign in to comment.