Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f5d4007
Option to build coupled model
aerorahul Oct 8, 2020
c40c300
fix in build.sh
aerorahul Oct 8, 2020
206218c
update modulefiles for orion, hera and wcoss to load pio. Make PIO o…
aerorahul Oct 8, 2020
141b928
FMS needs to be linked in MOM6 objects. Add 32BIT and S2S check
aerorahul Oct 8, 2020
180410a
add S2S option to MAKE_OPT
aerorahul Oct 8, 2020
2bca804
upload orion and hera.intel regression logs
aerorahul Oct 8, 2020
47c6aa8
update MOM6 submodule to its HEAD. hera.gnu does not have PIO module …
aerorahul Oct 9, 2020
fbbb557
update CMakeModule pointer
aerorahul Oct 9, 2020
4681df7
update CMakeModules pointer
aerorahul Oct 9, 2020
fa173bb
update hera.gnu/fv3 modulefile to use hpc-stack built by NCEPLIBS tea…
aerorahul Oct 9, 2020
bf42ef3
add generic linux.gnu configure file
aerorahul Oct 9, 2020
5b583c4
turns out there is no real difference between linux gnu and linux Intel;
aerorahul Oct 9, 2020
3ab6b57
fix tabs with spaces. Enable building WW3 on generic linux and mac
aerorahul Oct 9, 2020
8b6879a
@climbfuji wants to maintain separate configure files for linux, linu…
aerorahul Oct 9, 2020
903cd95
apparently it is customary to have platform.compiler config file
aerorahul Oct 10, 2020
3bdab1a
Merge branch 'develop' into feature/coupled
aerorahul Oct 10, 2020
349f164
update gitmodules
aerorahul Oct 10, 2020
0c2a863
Add standard s2s tests
DusanJovic-NOAA Oct 11, 2020
47a50c4
Add tests RT for S2S from @DusanJovic-NOAA
aerorahul Oct 12, 2020
991b20d
add missing -Dcoupled in CICE-interface
aerorahul Oct 13, 2020
84ac096
Merge branch 'feature/coupled' of https://github.com/aerorahul/ufs-we…
aerorahul Oct 13, 2020
cbc0447
remove useless conf/ directory
aerorahul Oct 13, 2020
51c5dab
add CICE_IO option (default: NetCDF). Add MOM6 solo executable option…
aerorahul Oct 14, 2020
bb5adab
add debug flags for MOM6 and CICE from @minsukji-noaa
aerorahul Oct 14, 2020
c5e3689
add debug modulefiles for hera, orion and wcoss_dell_p3
aerorahul Oct 14, 2020
cb0012d
update forgotten README.md
aerorahul Oct 14, 2020
1ae4de3
skip creating OBJECT library and directly create static library. Bugf…
aerorahul Oct 15, 2020
62e0461
PIO_C library is not necessary in CMEPS-interface CMakeLists.txt
aerorahul Oct 15, 2020
6988543
enable VERBOSE on build only when requested. Remove -warn flags from…
aerorahul Oct 16, 2020
574d26c
remove rt_s2s.conf and add S2S tests to rt.conf
aerorahul Oct 16, 2020
93423d6
add DATM submodule
aerorahul Oct 19, 2020
1fd235a
point to aerorahul fork of DATM
aerorahul Oct 19, 2020
63268f2
update CMakeList.txt to build data atmosphere. Add compile test only…
aerorahul Oct 19, 2020
2693337
Merge branch 'develop' into feature/coupled
aerorahul Oct 19, 2020
302f9b3
update README.md
aerorahul Oct 19, 2020
05648ec
Merge branch 'feature/coupled' into feature/datm
aerorahul Oct 19, 2020
b456556
Added regression tests for datm-mom6-cice6 model.
binli2337 Oct 20, 2020
5bf90ee
Added Hera log files.
binli2337 Oct 20, 2020
a2ce13b
Updated rt.sh and added Orion log files.
binli2337 Oct 21, 2020
0f8c560
Updated DATM and WW3.
binli2337 Oct 26, 2020
e6f73dc
Merge branch 'develop' into add_new_test
binli2337 Oct 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modulefiles/hera.intel/coupled
1 change: 1 addition & 0 deletions modulefiles/orion.intel/coupled
79 changes: 79 additions & 0 deletions tests/fv3_conf/cpld_fv3_mom6_cice_atm_flux_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
mkdir INPUT RESTART history MOM6_OUTPUT

if [[ $ATMRES == 'C96' ]]; then
FV3_DIR=FV3_input_data
else
FV3_DIR=FV3_input_data${ATMRES#C}
fi

ICERES="${OCNRES:0:1}.${OCNRES:1}"

# FV3 fixed input
cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat .
cp @[RTPWD]/${FV3_DIR}/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuv03_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 .
fi
cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${FV3_DIR}/*grb .
cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table
cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT
if [ $FRAC_GRID = .F. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT
else
cp @[RTPWD]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/oro_data*.nc ./INPUT
fi
cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT

# MOM6 fixed input
cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT

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

# No restart
if [ $WARM_START = .F. ]; then
# ICs
if [ $FRAC_GRID = .F. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_data*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_data*.nc ./INPUT
else
cp @[RTPWD]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/sfc_data*.nc ./INPUT
cp @[RTPWD]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/gfs_data*.nc ./INPUT
fi
cp @[RTPWD]/MOM6_IC/MOM*.nc ./INPUT
cp @[RTPWD]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].res_2016100300.nc ./cice_model.res.nc

# Restart
else
# Restart files
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/coupler.res ./INPUT
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/fv_*.nc ./INPUT
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/sfc_data*.nc ./INPUT
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/phy_data*.nc ./INPUT
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/MOM*.nc ./INPUT

# CMEPS restart and pointer files
#cp ${DEP_RUN}${RT_SUFFIX}/RESTART/ufs.s2s.cpl.r.2016-10-05-00000.nc .
cp ../${DEP_RUN}${RT_SUFFIX}/ufs.s2s.cpl.r.2016-10-05-00000.nc .
RFILE="ufs.s2s.cpl.r.2016-10-05-00000.nc"
ls -1 ${RFILE}>rpointer.cpl

# CICE restart and pointer files
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/iced.2016-10-05-00000.nc ./INPUT
RFILE="iced.2016-10-05-00000.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file
fi

# CCPP
if [[ ! $SUITE_NAME == '' ]]; then
cp ${PATHTR}/FV3/ccpp/suites/suite_@[SUITE_NAME].xml .
fi
53 changes: 53 additions & 0 deletions tests/fv3_conf/cpld_fv3_mom6_cice_bmark_35d_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
mkdir INPUT RESTART history MOM6_OUTPUT

if [[ $ATMRES == 'C96' ]]; then
FV3_DIR=FV3_input_data
else
FV3_DIR=FV3_input_data${ATMRES#C}
fi

ICERES="${OCNRES:0:1}.${OCNRES:1}"

BM_IC=BM_IC/${SYEAR}${SMONTH}${SDAY}${SHOUR}
FV3_IC=${BM_IC}/gfs/@[ATMRES]/INPUT
MOM6_IC=${BM_IC}/mom6_da
CICE_IC=${BM_IC}/cpc

# FV3 fixed input
cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 .
fi
cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${FV3_DIR}/*grb .
cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table
cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT

# MOM6 fixed input
cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT

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

# ICs
cp @[RTPWD]/${FV3_IC}/sfc_data*.nc ./INPUT
cp @[RTPWD]/${FV3_IC}/gfs_data*.nc ./INPUT
cp @[RTPWD]/${MOM6_IC}/MOM*.nc ./INPUT
# the BM ICs are still named cice5 and need to remain so until P5.0 is completed
cp @[RTPWD]/${CICE_IC}/cice5_model_@[ICERES].*.nc ./cice_model.res.nc

# CCPP
if [[ ! $SUITE_NAME == '' ]]; then
cp ${PATHTR}/FV3/ccpp/suites/suite_@[SUITE_NAME].xml .
fi
82 changes: 82 additions & 0 deletions tests/fv3_conf/cpld_fv3_mom6_cice_bmark_restart_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
mkdir INPUT RESTART history MOM6_OUTPUT

if [[ $ATMRES == 'C96' ]]; then
FV3_DIR=FV3_input_data
else
FV3_DIR=FV3_input_data${ATMRES#C}
fi

ICERES="${OCNRES:0:1}.${OCNRES:1}"

BM_IC=BM_IC/${SYEAR}${SMONTH}${SDAY}${SHOUR}
FV3_IC=${BM_IC}/gfs/@[ATMRES]/INPUT
MOM6_IC=${BM_IC}/mom6_da
CICE_IC=${BM_IC}/cpc
RESTART_PREFIX=${SYEAR}${SMONTH}${SDAY}.${FHROT}0000.
RESTART_SUFFIX=.${SYEAR}-${SMONTH}-${SDAY}-${FHROT}-00-00
RESTART_INPUTDIR=RT-Baselines_1d_bmrt_ccpp_cmeps
SECS=$((FHROT*3600))

# FV3 fixed input
cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 .
fi
cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${FV3_DIR}/*grb .
cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table
cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT

# MOM6 fixed input
cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT

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

#
# FIXME: need to copy in from just completed 1-d run, not baseline
# PREFIX and SUFFIX are known
#
# ICs: FV3 timestamped prefix
cp @[RTPWD]/${RESTART_INPUTDIR}/RESTART/${RESTART_PREFIX}* ./INPUT
RFILE="INPUT/${RESTART_PREFIX}"
for oldname in ${RFILE}*; do
lengthRFILE=${#RFILE}
newname=${oldname:$lengthRFILE}
mv $oldname INPUT/$newname
done

# ICs: MOM6 timestamped suffix
cp @[RTPWD]/${RESTART_INPUTDIR}/RESTART/MOM.res${RESTART_SUFFIX}* ./INPUT
RFILE="INPUT/MOM.res${RESTART_SUFFIX}"
for oldname in ${RFILE}*; do
lengthRFILE=${#RFILE}
newname=${oldname:$lengthRFILE}
mv $oldname INPUT/"MOM.res"$newname
done

# ICs: Mediator restart and pointer file
cp @[RTPWD]/${RESTART_INPUTDIR}/RESTART/ufs.s2s.cpl.r.${SYEAR}-${SMONTH}-${SDAY}-${SECS}.nc .
RFILE="ufs.s2s.cpl.r.${SYEAR}-${SMONTH}-${SDAY}-${SECS}.nc"
ls -1 ${RFILE}>rpointer.cpl

# ICs: CICE restart and pointer file
cp @[RTPWD]/${RESTART_INPUTDIR}/RESTART/iced.${SYEAR}-${SMONTH}-${SDAY}-${SECS}.nc ./INPUT
RFILE="iced.${SYEAR}-${SMONTH}-${SDAY}-${SECS}.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file

# CCPP
if [[ ! $SUITE_NAME == '' ]]; then
cp ${PATHTR}/FV3/ccpp/suites/suite_@[SUITE_NAME].xml .
fi
53 changes: 53 additions & 0 deletions tests/fv3_conf/cpld_fv3_mom6_cice_bmark_rt_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
mkdir INPUT RESTART history MOM6_OUTPUT

if [[ $ATMRES == 'C96' ]]; then
FV3_DIR=FV3_input_data
else
FV3_DIR=FV3_input_data${ATMRES#C}
fi

ICERES="${OCNRES:0:1}.${OCNRES:1}"

BM_IC=BM_IC/${SYEAR}${SMONTH}${SDAY}${SHOUR}
FV3_IC=${BM_IC}/gfs/@[ATMRES]/INPUT
MOM6_IC=${BM_IC}/mom6_da
CICE_IC=${BM_IC}/cpc

# FV3 fixed input
cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 .
fi
cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${FV3_DIR}/*grb .
cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table
cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT

# MOM6 fixed input
cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT

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

# ICs
cp @[RTPWD]/${FV3_IC}/sfc_data*.nc ./INPUT
cp @[RTPWD]/${FV3_IC}/gfs_data*.nc ./INPUT
cp @[RTPWD]/${MOM6_IC}/MOM*.nc ./INPUT
# the BM ICs are still named cice5 and need to remain so until P5.0 is completed
cp @[RTPWD]/${CICE_IC}/cice5_model_@[ICERES].*.nc ./cice_model.res.nc

# CCPP
if [[ ! $SUITE_NAME == '' ]]; then
cp ${PATHTR}/FV3/ccpp/suites/suite_@[SUITE_NAME].xml .
fi
59 changes: 59 additions & 0 deletions tests/fv3_conf/cpld_fv3_mom6_cice_ww3_bmark_35d_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
mkdir INPUT RESTART history MOM6_OUTPUT

if [[ $ATMRES == 'C96' ]]; then
FV3_DIR=FV3_input_data
else
FV3_DIR=FV3_input_data${ATMRES#C}
fi

ICERES="${OCNRES:0:1}.${OCNRES:1}"

BM_IC=BM_IC/${SYEAR}${SMONTH}${SDAY}${SHOUR}
FV3_IC=${BM_IC}/gfs/@[ATMRES]/INPUT
MOM6_IC=${BM_IC}/mom6_da
CICE_IC=${BM_IC}/cpc
WW3_IC=${BM_IC}/ww3

# FV3 fixed input
cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 .
fi
cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${FV3_DIR}/*grb .
cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table
cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT

# MOM6 fixed input
cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT

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

# WW3 fix/input
cp @[RTPWD]/WW3_input_data/mod_def.* .
cp @[RTPWD]/WW3_input_data/ww3_multi_35d.inp ww3_multi.inp

# ICs
cp @[RTPWD]/${FV3_IC}/sfc_data*.nc ./INPUT
cp @[RTPWD]/${FV3_IC}/gfs_data*.nc ./INPUT
cp @[RTPWD]/${MOM6_IC}/MOM*.nc ./INPUT
# the BM ICs are still named cice5 and need to remain so until P5.0 is completed
cp @[RTPWD]/${CICE_IC}/cice5_model_@[ICERES].*.nc ./cice_model.res.nc
cp @[RTPWD]/${WW3_IC}/*.000000.restart.gwes_30m ./restart.gwes_30m

# CCPP
if [[ ! $SUITE_NAME == '' ]]; then
cp ${PATHTR}/FV3/ccpp/suites/suite_@[SUITE_NAME].xml .
fi
57 changes: 57 additions & 0 deletions tests/fv3_conf/cpld_fv3_mom6_cice_ww3_bmark_rt_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
mkdir INPUT RESTART history MOM6_OUTPUT

if [[ $ATMRES == 'C96' ]]; then
FV3_DIR=FV3_input_data
else
FV3_DIR=FV3_input_data${ATMRES#C}
fi

ICERES="${OCNRES:0:1}.${OCNRES:1}"

BM_IC=BM_IC/${SYEAR}${SMONTH}${SDAY}${SHOUR}
FV3_IC=${BM_IC}/gfs/@[ATMRES]/INPUT
MOM6_IC=${BM_IC}/mom6_da
CICE_IC=${BM_IC}/cpc

# FV3 fixed input
cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 .
fi
cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${FV3_DIR}/*grb .
cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table
cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT
cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc
cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT

# MOM6 fixed input
cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT

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

# WW3 fix/input
cp @[RTPWD]/WW3_input_data/mod_def.* .
cp @[RTPWD]/WW3_input_data/ww3_multi.inp .

# ICs
cp @[RTPWD]/${FV3_IC}/sfc_data*.nc ./INPUT
cp @[RTPWD]/${FV3_IC}/gfs_data*.nc ./INPUT
cp @[RTPWD]/${MOM6_IC}/MOM*.nc ./INPUT
# the BM ICs are still named cice5 and need to remain so until P5.0 is completed
cp @[RTPWD]/${CICE_IC}/cice5_model_@[ICERES].*.nc ./cice_model.res.nc

# CCPP
if [[ ! $SUITE_NAME == '' ]]; then
cp ${PATHTR}/FV3/ccpp/suites/suite_@[SUITE_NAME].xml .
fi
Loading