Skip to content
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 global GFS regression tests #561

Merged
merged 80 commits into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
eb5728e
update test script to run GFSv16 control and related tests
junwang-noaa Mar 18, 2021
41c11a8
update the history file names
junwang-noaa Mar 22, 2021
d68a249
merge to develop branch
junwang-noaa Mar 22, 2021
6ca70a5
remove old tests
junwang-noaa Mar 22, 2021
230b2ad
update gfsv16 test names
junwang-noaa Mar 23, 2021
52cc297
update history file names
junwang-noaa Mar 25, 2021
6bfbc57
add debug test and fixes for RRTMGP tests
junwang-noaa Mar 29, 2021
daa7e50
update csawmg test
junwang-noaa Mar 29, 2021
026c6b8
update to top of develop branch
junwang-noaa Mar 29, 2021
3aeef2a
update csawmg based on control tests
junwang-noaa Mar 31, 2021
ca4b365
updates for ugwpv1, merra2 and flake
junwang-noaa Apr 20, 2021
eba6c59
add several debug tests
junwang-noaa Apr 20, 2021
625078f
merge to develop branch
junwang-noaa Apr 20, 2021
8a0ff8f
update to new ICs
junwang-noaa Apr 27, 2021
15c8045
fix gfsv16_noahmp test
junwang-noaa Apr 27, 2021
94f0686
add control_noahmp_debug
junwang-noaa Apr 27, 2021
d9e791f
add FV3_GFS_v16_fv3wam for compile jobs
junwang-noaa Apr 28, 2021
ea21e4a
add gdas test and update debug tests
junwang-noaa May 3, 2021
4b97ede
fix regional tests
junwang-noaa May 3, 2021
3ba51f7
update phyf/dynf to sfcf/atmf
junwang-noaa May 6, 2021
45d8480
change phy/dyn to sfc/atm for coupled tests
junwang-noaa May 6, 2021
e48397c
update rt.conf
junwang-noaa May 6, 2021
f2b1fa6
merge to the develop branch
junwang-noaa May 7, 2021
e4ef9e5
comment out fv3 wave test
junwang-noaa May 7, 2021
039b0cc
remove restart files from feature tests
junwang-noaa May 7, 2021
7c1fb58
update lndp_var namelist
junwang-noaa May 10, 2021
0a3e17e
turn off control_rrtmgp_2threads control_rrtmgp_c192
junwang-noaa May 10, 2021
10fb676
remove the deprecated amip_interp_nml in global tests and change the …
junwang-noaa May 11, 2021
31249e9
fix the files for comparison
junwang-noaa May 11, 2021
6f4f18d
update merra2 tests to turn off background volcano
junwang-noaa May 12, 2021
612276b
merge to develop branch
junwang-noaa May 12, 2021
77e24d4
fix FV3_RRFS_v1alpha test
junwang-noaa May 12, 2021
16d394c
uncoment fv3_rrfs_v1beta test
junwang-noaa May 13, 2021
f5e8379
update phy/dyn to sfc/atm for gsd related tests
junwang-noaa May 13, 2021
5f5d4ed
update phyf/dynf files
junwang-noaa May 13, 2021
1e18dbe
update control_2threads_debug
junwang-noaa May 21, 2021
f053d3d
add fix for compile options(#531)
junwang-noaa May 21, 2021
feaa224
update rt.conf
junwang-noaa May 24, 2021
197e71f
remove unused configuration variables
junwang-noaa May 25, 2021
0b82815
merge to develop branch
junwang-noaa May 25, 2021
1bede99
set ECF_TRIES to 2
junwang-noaa May 25, 2021
ef2722f
fix 2threads test without changing decomposition
junwang-noaa May 25, 2021
314a97d
update regional test settings
junwang-noaa May 27, 2021
06f6969
Merge remote-tracking branch 'upstream/develop' into gfs_rt
junwang-noaa May 27, 2021
bcf95f7
update INPUT data directory
junwang-noaa May 27, 2021
02e3586
remove unused model configuration variables
junwang-noaa May 27, 2021
cf1d65a
remove amip namelist and unused variables in model_configure
junwang-noaa May 27, 2021
4092a23
remove amip from gsd namelist
junwang-noaa May 28, 2021
d3eb8a7
merge to develop branch
junwang-noaa May 28, 2021
8aa1276
fix inline post issue in restart run with gnu
junwang-noaa May 28, 2021
74acc59
updaet baseline directory and add coupled frac w/o debug in rt_gnu.conf
junwang-noaa May 28, 2021
3cb648f
fix FV3_GFS_v16_ugwpv1 suite file name in rt.conf
junwang-noaa May 28, 2021
1be3b1b
reduce time stamp for tests/control_csawmgt
junwang-noaa May 28, 2021
751ad31
change time step for control_csawmgt_debug
junwang-noaa May 28, 2021
6f2f520
fix inlinepost with gnu
junwang-noaa May 30, 2021
882c810
update hera-intel log file
junwang-noaa May 30, 2021
62a34eb
update control_c384 number of tasks
junwang-noaa May 31, 2021
68ad3d8
update control c384 test
junwang-noaa May 31, 2021
5714c2e
update control_c384 computer tasks
junwang-noaa May 31, 2021
0efa60f
fix TASKS for control_c384
junwang-noaa Jun 1, 2021
9557f8b
comment out global c384 tests on gaea
junwang-noaa Jun 1, 2021
234bf9a
commit log files from hera, orion and dell
junwang-noaa Jun 1, 2021
f334c60
turnning off coupled test with gnu
junwang-noaa Jun 1, 2021
63231a6
add cheyenne-gnu log with failed cpld tests
DeniseWorthen Jun 1, 2021
5960a47
rewrite inlinepost post for gnu
junwang-noaa Jun 1, 2021
6b1f323
Merge branch 'gfs_rt' of https://github.com/junwang-noaa/ufs-weather-…
junwang-noaa Jun 1, 2021
825de46
add cheyenne.intel log
DeniseWorthen Jun 1, 2021
c243ab9
Add utest related changes
MinsukJi-NOAA Jun 1, 2021
be08fb1
Merge remote-tracking branch 'origin/gfs_rt' into gfs_rt
MinsukJi-NOAA Jun 1, 2021
a5ca562
Merge pull request #12 from MinsukJi-NOAA/gfs_rt
junwang-noaa Jun 1, 2021
8919e3a
change ECF_TRIES back to 1
junwang-noaa Jun 1, 2021
0e7fb7b
add cheyenne.gnu log
DeniseWorthen Jun 1, 2021
a630253
add cheyenne.intel log
DeniseWorthen Jun 1, 2021
396b447
commit log file from gaea/hera/dell, fix thread debug test and commen…
junwang-noaa Jun 2, 2021
9fe108e
Merge branch 'gfs_rt' of https://github.com/junwang-noaa/ufs-weather-…
junwang-noaa Jun 2, 2021
27a76cc
update hera.intel log file
junwang-noaa Jun 2, 2021
beb5813
update orion log file
junwang-noaa Jun 2, 2021
77e1fbe
update jet log file
Jun 2, 2021
0f4bd29
update rt.conf and log file on cray
junwang-noaa Jun 2, 2021
a1b1c86
point fv3 back to emc repo
junwang-noaa Jun 2, 2021
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
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
url = https://github.com/junwang-noaa/fv3atm
branch = gnu_contrlrst
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
Expand Down
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 2 files
+13 −9 io/post_gfs.F90
+11 −7 io/post_regional.F90
8 changes: 6 additions & 2 deletions cmake/Intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif()

if(DEBUG)
add_definitions(-DDEBUG)
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -ftrapuv -no-prec-div -no-prec-sqrt")
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -ftrapuv")
if(DEBUG_LINKMPI)
if(OPENMP)
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -link_mpi=dbg_mt")
Expand All @@ -21,7 +21,11 @@ elseif(REPRO)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model consistent -qoverride-limits")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -debug minimal")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3 -no-prec-div -no-prec-sqrt")
if(32BIT)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3 -no-prec-div -no-prec-sqrt")
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -debug minimal")
set(FAST "-fast-transcendentals")
if(AVX2)
Expand Down
2,023 changes: 573 additions & 1,450 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

5,622 changes: 1,687 additions & 3,935 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

2,054 changes: 529 additions & 1,525 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

5,651 changes: 1,610 additions & 4,041 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

5,609 changes: 1,615 additions & 3,994 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

5,607 changes: 1,614 additions & 3,993 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

58 changes: 39 additions & 19 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ if [[ $MACHINE_ID = wcoss_cray ]]; then

TASKS_dflt=150 ; TPN_dflt=24 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=12 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=336 ; TPN_c384=20 ; INPES_c384=8 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=24 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=24 ; INPES_strnest=2 ; JNPES_strnest=4

elif [[ $MACHINE_ID = wcoss_dell_p3 || $MACHINE_ID = wcoss2 ]]; then

TASKS_dflt=150 ; TPN_dflt=28 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=14 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=14 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=336 ; TPN_c384=20 ; INPES_c384=8 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=28 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=28 ; INPES_strnest=2 ; JNPES_strnest=4

Expand Down Expand Up @@ -68,7 +70,8 @@ elif [[ $MACHINE_ID = wcoss_dell_p3 || $MACHINE_ID = wcoss2 ]]; then
elif [[ $MACHINE_ID = orion.* ]]; then

TASKS_dflt=150 ; TPN_dflt=40 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=20 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=20 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=336 ; TPN_c384=20 ; INPES_c384=8 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=12 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=12 ; INPES_strnest=2 ; JNPES_strnest=4

Expand Down Expand Up @@ -119,7 +122,8 @@ elif [[ $MACHINE_ID = orion.* ]]; then
elif [[ $MACHINE_ID = hera.* ]]; then

TASKS_dflt=150 ; TPN_dflt=40 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=20 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=20 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=336 ; TPN_c384=20 ; INPES_c384=8 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=12 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=12 ; INPES_strnest=2 ; JNPES_strnest=4

Expand Down Expand Up @@ -174,14 +178,15 @@ elif [[ $MACHINE_ID = linux.* ]]; then
else
TASKS_dflt=150 ; TPN_dflt=40 ; INPES_dflt=3 ; JNPES_dflt=8
fi
TASKS_thrd=84 ; TPN_thrd=20 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=20 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_stretch=48 ; TPN_stretch=12 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=12 ; INPES_strnest=2 ; JNPES_strnest=4

elif [[ $MACHINE_ID = jet.* ]]; then

TASKS_dflt=150 ; TPN_dflt=24 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=12 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=12 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=480 ; TPN_c384=24 ; INPES_c384=12 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=12 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=12 ; INPES_strnest=2 ; JNPES_strnest=4

Expand Down Expand Up @@ -232,7 +237,8 @@ elif [[ $MACHINE_ID = jet.* ]]; then
elif [[ $MACHINE_ID = gaea.* ]]; then

TASKS_dflt=150 ; TPN_dflt=36 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=18 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=18 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=480 ; TPN_c384=36 ; INPES_c384=12 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=18 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=18 ; INPES_strnest=2 ; JNPES_strnest=4

Expand Down Expand Up @@ -283,7 +289,8 @@ elif [[ $MACHINE_ID = gaea.* ]]; then
elif [[ $MACHINE_ID = cheyenne.* ]]; then

TASKS_dflt=150 ; TPN_dflt=36 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=18 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=18 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=336 ; TPN_c384=18 ; INPES_c384=8 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=18 ; INPES_stretch=2 ; JNPES_stretch=4
TASKS_strnest=96 ; TPN_strnest=18 ; INPES_strnest=2 ; JNPES_strnest=4

Expand Down Expand Up @@ -334,7 +341,8 @@ elif [[ $MACHINE_ID = cheyenne.* ]]; then
elif [[ $MACHINE_ID = stampede.* ]]; then

TASKS_dflt=150 ; TPN_dflt=48 ; INPES_dflt=3 ; JNPES_dflt=8
TASKS_thrd=84 ; TPN_thrd=24 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_thrd=78 ; TPN_thrd=24 ; INPES_thrd=3 ; JNPES_thrd=4
TASKS_c384=336 ; TPN_c384=20 ; INPES_c384=8 ; JNPES_c384=6
TASKS_stretch=48 ; TPN_stretch=12 ; INPES_stretch=2 ; JNPES_stretch=4

TASKS_cpl_dflt=192; TPN_cpl_dflt=48; INPES_cpl_dflt=3; JNPES_cpl_dflt=8
Expand Down Expand Up @@ -403,6 +411,11 @@ export DATM_NEMS=false
export DATM_CDEPS=false
export THRD=1
export WLCLK=$WLCLK_dflt
export POSTAPP='global'
export NEW_DIAGTABLE=''
export NEW_FIELDTABLE=''
export USE_MERRA2=.F.

export INPES=$INPES_dflt
export JNPES=$JNPES_dflt
export TASKS=$TASKS_dflt
Expand All @@ -413,9 +426,8 @@ export WRITE_GROUP=1
export WRTTASK_PER_GROUP=6
export OUTPUT_HISTORY=.true.
export WRITE_DOPOST=.false.
export POSTAPP=''
export NUM_FILES=2
export FILENAME_BASE="'dyn' 'phy'"
export FILENAME_BASE="'atm' 'sfc'"
export OUTPUT_GRID="'cubed_sphere_grid'"
export OUTPUT_FILE="'netcdf'"
export IDEFLATE=0
Expand All @@ -426,8 +438,12 @@ export IMO=384
export JMO=190

# Coldstart/warmstart
#rt script for ICs
export MODEL_INITIALIZATION=false
#namelist variable
export WARM_START=.F.
export READ_INCREMENT=.F.
export RES_LATLON_DYNAMICS="''"
export NGGPS_IC=.T.
export EXTERNAL_IC=.T.
export MAKE_NH=.T.
Expand Down Expand Up @@ -467,6 +483,15 @@ export DO_GSL_DRAG_TOFD=.F.
export DO_UGWP_V1=.F.
export DO_UGWP_V1_OROG_ONLY=.F.

# resolution dependent settings
export CDMBWD_c96='0.14,1.8,1.0,1.0'
export CDMBWD_c192='0.23,1.5,1.0,1.0'
export CDMBWD_c384='1.1,0.72,1.0,1.0'
export CDMBWD_c768='4.0,0.15,1.0,1.0'

# set default
export CDMBWD=${CDMBWD_c96}

# PBL
export SATMEDMF=.F.
export ISATMEDMF=0
Expand Down Expand Up @@ -502,6 +527,7 @@ export OZ_PHYS_OLD=.T.
export OZ_PHYS_NEW=.F.
export H2O_PHYS=.F.


export CPL=.F.
export CPLFLX=.F.
export CPLWAV=.F.
Expand All @@ -516,6 +542,7 @@ export FDIAG=0,1,2,3,4,5,6,7,8,9,10,11,12,15,18,21,24,27,30,33,36,39,42,45,48
export NFHOUT=3
export NFHMAX_HF=12
export NFHOUT_HF=1
export IAU_OFFSET=0
export FHZERO=6
export FNALBC="'global_snowfree_albedo.bosu.t126.384.190.rg.grb',"
export FNVETC="'global_vegtype.igbp.t126.384.190.rg.grb',"
Expand Down Expand Up @@ -547,6 +574,8 @@ export LNDP_EACH_STEP=.F.
export SKEB=-999.
export SPPT=-999.
export SHUM=-999.
export LNDP_VAR_LIST='XXX'
export LNDP_PRT_LISY=-999

#IAU
export IAU_INC_FILES="''"
Expand Down Expand Up @@ -665,15 +694,6 @@ export MIN_SEAICE='1.0e-11'
export DDDMP='0.1'
export FSICL='99999'

# resolution dependent settings
export CDMBWD_c96='0.14,1.8,1.0,1.0'
export CDMBWD_c192='0.23,1.5,1.0,1.0'
export CDMBWD_c384='1.1,0.72,1.0,1.0'
export CDMBWD_c768='4.0,0.15,1.0,1.0'

# set default
export CDMBWD=${CDMBWD_c96}

# for FV3: default values will be changed if doing a warm-warm restart
export WARM_START='.F.'
export MAKE_NH='.T.'
Expand Down
129 changes: 101 additions & 28 deletions tests/fv3_conf/control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -13,59 +13,132 @@ echo "inputdir=$inputdir,NPX=$NPX"
UNIT_TEST=${UNIT_TEST:-false}
SUFFIX=${RT_SUFFIX}
if [ $WARM_START = .F. ]; then
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT .
mkdir RESTART
mkdir INPUT RESTART
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT_L127/* ./INPUT/.
else
mkdir INPUT RESTART

if [[ ${UNIT_TEST} == true ]]; then
SUFFIX=${BL_SUFFIX}
fi

rsync -arv ../fv3_control${SUFFIX}/RESTART/ INPUT/
if [[ $IAU_INC_FILES = 'fv3_increment.nc' ]] || [[ $READ_INCREMENT = '.T.' ]]; then
if [ $MODEL_INITIALIZATION = false ]; then
#read_inc and iau tests restart from fh=24
cp ../fv3_control${SUFFIX}/RESTART/coupler.res INPUT/.
cp ../fv3_control${SUFFIX}/RESTART/fv_core.res.* INPUT/.
cp ../fv3_control${SUFFIX}/RESTART/fv_srf_wnd.res.* INPUT/.
cp ../fv3_control${SUFFIX}/RESTART/fv_tracer.* INPUT/.
cp ../fv3_control${SUFFIX}/RESTART/phy_data.* INPUT/.
cp ../fv3_control${SUFFIX}/RESTART/sfc_data.* INPUT/.
cp ../fv3_control${SUFFIX}/INPUT/fv3_increment.nc INPUT/.
cd INPUT
CURRDIR=`pwd`
FILEDIR=${CURRDIR}/../control${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=12
cp ../fv3_control${SUFFIX}/RESTART/20161003.120000.* INPUT/.
rsync -arv ${FILEDIR} INPUT/
cp ${FILEDIR}/20210322.180000.* 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 20161003.120000.*; do
for RFILE in 20210322.180000.*; do
[ -e $RFILE ] || exit 1
mv $RFILE ${RFILE#20161003.120000.}
mv $RFILE ${RFILE#20210322.180000.}
done
cd ..
fi
cp ../../fv3_control${SUFFIX}/INPUT/grid_spec.nc .
cp ../../fv3_control${SUFFIX}/INPUT/*_grid.tile*.nc .
cp ../../fv3_control${SUFFIX}/INPUT/oro_data.tile*.nc .
cd ..

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 .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 .
fi
if [ $H2O_PHYS = .T. ]; then
cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
fi
cp @[INPUTDATA_ROOT]/${inputdir}/global_o3prdlos.f77 .
junwang-noaa marked this conversation as resolved.
Show resolved Hide resolved
cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/${inputdir}/*grb .
cp @[INPUTDATA_ROOT]/${inputdir}/*_table .
cp @[INPUTDATA_ROOT]/${inputdir}/data_table .
cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_gfsv16 ./diag_table
cp @[INPUTDATA_ROOT]/${inputdir}/field_table_gfsv16 ./field_table
cp @[INPUTDATA_ROOT]/${inputdir}/*configure .

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
25 changes: 0 additions & 25 deletions tests/fv3_conf/regional_c786_run.IN

This file was deleted.

Loading