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

Add regression tests with MULTI_GASES #112

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3fd9733
Add the option to run regression test with MULTI_GASES=Y
XiaqiongZhou-NOAA Mar 30, 2020
1577985
Add multi_gases CCPP regression test
XiaqiongZhou-NOAA Apr 27, 2020
c9ae4d7
merge ufs-community/ufs
XiaqiongZhou-NOAA Apr 27, 2020
bb8158f
point to FV3 right revision number
XiaqiongZhou-NOAA Apr 28, 2020
5d132c3
point to FV3 right revision number
XiaqiongZhou-NOAA Apr 28, 2020
0f605e9
add CCPP Multi_gases regression tests in the list
XiaqiongZhou-NOAA Apr 28, 2020
d247254
Point to new submodules
XiaqiongZhou-NOAA Jun 22, 2020
ac72b08
Merge remote-tracking branch 'ufscomm/develop' into rt_multigases
XiaqiongZhou-NOAA Jun 23, 2020
a76ac62
Add the multi_gases compiling option for cmake
XiaqiongZhou-NOAA Jun 23, 2020
0b2fa23
Add the multi_gases regression test on Orion
XiaqiongZhou-NOAA Jun 25, 2020
18aaa98
Add the GNU test with the multi_gases opition
XiaqiongZhou-NOAA Jun 26, 2020
f4919de
Point FV3 to a new version
XiaqiongZhou-NOAA Jun 30, 2020
18df462
Merge remote-tracking branch 'ufscomm/develop' into rt_multigases
XiaqiongZhou-NOAA Jun 30, 2020
a746f83
Point FV3 to a new version
XiaqiongZhou-NOAA Jun 30, 2020
31740f7
Change to the new baseline
XiaqiongZhou-NOAA Jul 1, 2020
17ba147
Correct configure files with MULTI_GASES option off
XiaqiongZhou-NOAA Jul 1, 2020
b89530c
Change multi_gases namelist
XiaqiongZhou-NOAA Jul 1, 2020
15dea5e
Point FV3 to a new version
XiaqiongZhou-NOAA Jul 2, 2020
5adab14
Merge remote ufscomm/develop to rt_multigases branch
XiaqiongZhou-NOAA Jul 2, 2020
9e21fc7
Upload log files
XiaqiongZhou-NOAA Jul 2, 2020
56bdc47
Upload log files
XiaqiongZhou-NOAA Jul 2, 2020
94d9f2f
Point FV3 to a new version
XiaqiongZhou-NOAA Jul 6, 2020
3f012fe
Point FV3 to the public version
XiaqiongZhou-NOAA Jul 7, 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
Prev Previous commit
Next Next commit
Add multi_gases CCPP regression test
  • Loading branch information
XiaqiongZhou-NOAA committed Apr 27, 2020
commit 1577985e68fbdb78a8254b699ddceb2f5db7f2b0
312 changes: 312 additions & 0 deletions parm/ccpp_multi_gases.nml.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi',
date_out_of_range = 'climo',
/

&atmos_model_nml
blocksize = 32
chksum_debug = .false.
dycore_only = .false.
fdiag = @[FDIAG]
ccpp_suite = '@[CCPP_SUITE]'
/

&diag_manager_nml
prepend_date = .F.
/

&fms_io_nml
checksum_required = .false.
max_files_r = 100,
max_files_w = 100,
/

&fms_nml
clock_grain = 'ROUTINE',
domains_stack_size = 3000000,
print_memory_usage = .false.
/

&fv_grid_nml
grid_file = 'INPUT/grid_spec.nc'
/

&fv_core_nml
layout = @[INPES],@[JNPES]
io_layout = 1,1
npx = @[NPX]
npy = @[NPY]
ntiles = 6,
npz = @[NPZ]
grid_type = -1
ncnst = 5
make_nh = @[MAKE_NH]
fv_debug = .F.

range_warn = .F.
reset_eta = .F.
n_sponge = -1
nudge_qv = .T.
tau = 0.015
rf_cutoff = 2.e2
d2_bg_k1 = 0.20
d2_bg_k2 = 0.005
kord_tm = -9
kord_mt = 9
kord_wz = 9
kord_tr = 9
hydrostatic = .F.
phys_hydrostatic = .F.
use_hydro_pressure = .F.
beta = 0.
a_imp = 1.
p_fac = 0.1
k_split = 2
n_split = 6
nwat = 2
na_init = @[NA_INIT]
d_ext = 0.0
dnats = 0
fv_sg_adj = 1800
d2_bg = 0.
nord = 1
dddmp = 0.1
d4_bg = 0.20
vtdm4 = 0.07
delt_max = 0.002
ke_bg = 0.
do_vort_damp = .true.
external_ic = @[EXTERNAL_IC]
external_eta = .T.
gfs_phil = .false.
nggps_ic = @[NGGPS_IC]
mountain = @[MOUNTAIN]
ncep_ic = .F.
d_con = 1.
hord_mt = 6
hord_vt = 6
hord_tm = 6
hord_dp = 6
hord_tr = 8
adjust_dry_mass = .F.
consv_te = 1.
consv_am = .F.
fill = .T.
dwind_2d = .F.
print_freq = 6
warm_start = @[WARM_START]
no_dycore = .false.
z_tracer = .T.
read_increment = @[READ_INCREMENT]
res_latlon_dynamics = "fv3_increment.nc"
/

#&coupler_nml
# months = 0
# days = 1
# hours = 0
# dt_atmos = 225
# dt_ocean = 225
# current_date = 2016,10,03,00,0,0
# calendar = 'julian'
# memuse_verbose = .false.
# atmos_nthreads = 1
# use_hyper_thread = .false.
# ncores_per_node = 24
#/

&external_ic_nml
filtered_terrain = .true.
levp = @[NPZP]
gfs_dwinds = .true.
checker_tr = .F.
nt_checker = 0
/

&gfs_physics_nml
fhzero = 6.
ldiag3d = .false.
fhcyc = 24.
nst_anl = .true.
use_ufo = .true.
pre_rad = .false.
ncld = 1
imp_physics = 99
pdfcld = .false.
fhswr = 3600.
fhlwr = 3600.
ialb = 1
iems = 1
IAER = 111
ico2 = 2
isubc_sw = 2
isubc_lw = 2
isol = 2
lwhtr = .true.
swhtr = .true.
cnvgwd = .true.
shal_cnv = .true.
cal_pre = .true.
redrag = .true.
dspheat = .true.
hybedmf = @[HYBEDMF]
satmedmf = @[SATMEDMF]
lheatstrg = @[LHEATSTRG]
random_clds = .true.
trans_trac = .false.
cnvcld = .true.
imfshalcnv = 2
imfdeepcnv = 2
isatmedmf = @[ISATMEDMF]
cdmbgwd = 3.5,0.25
prslrd0 = 0.
ivegsrc = 1
isot = 1
lsm = 1
iopt_dveg = 2
iopt_crs = 1
iopt_btr = 1
iopt_run = 1
iopt_sfc = 1
iopt_frz = 1
iopt_inf = 1
iopt_rad = 1
iopt_alb = 2
iopt_snf = 4
iopt_tbot = 2
iopt_stc = 1
debug = .false.
h2o_phys = @[H2O_PHYS]
nstf_name = @[NSTF_NAME]
cplflx = @[CPLFLX]
cplwav = @[CPLWAV]
iau_delthrs = 6
iaufhrs = 30
iau_inc_files = @[IAU_INC_FILES]
do_sppt = @[DO_SPPT]
do_shum = @[DO_SHUM]
do_skeb = @[DO_SKEB]
do_sfcperts = @[DO_SFCPERTS]
nca = 1
ncells = 5
nfracseed = 0.5
nlives = 30
nthresh = 0.5
nseed = 100000
do_ca = .false.
ca_global = .false.
ca_sgs = .true.
ca_smooth = .false.
nspinup = 1000
iseed_ca = 0
isppt_deep = .false.
levr =90
/

&interpolator_nml
interp_method = 'conserve_great_circle'
/

&namsfc
FNGLAC = "global_glacier.2x2.grb",
FNMXIC = "global_maxice.2x2.grb",
FNTSFC = "RTGSST.1982.2012.monthly.clim.grb",
FNSNOC = "global_snoclim.1.875.grb",
FNZORC = "igbp",
FNALBC = @[FNALBC]
FNALBC2 = "global_albedo4.1x1.grb",
FNAISC = "CFSR.SEAICE.1982.2012.monthly.clim.grb",
FNTG3C = "global_tg3clim.2.6x1.5.grb",
FNVEGC = "global_vegfrac.0.144.decpercent.grb",
FNVETC = @[FNVETC]
FNSOTC = @[FNSOTC]
FNSMCC = @[FNSMCC]
FNMSKH = "seaice_newland.grb",
FNTSFA = "",
FNACNA = "",
FNSNOA = "",
FNVMNC = "global_shdmin.0.144x0.144.grb",
FNVMXC = "global_shdmax.0.144x0.144.grb",
FNSLPC = "global_slope.1x1.grb",
FNABSC = @[FNABSC]
LDEBUG =.false.,
FSMCL(2) = 99999
FSMCL(3) = 99999
FSMCL(4) = 99999
FTSFS = 90
FAISS = 99999
FSNOL = 99999
FSICL = 99999
FTSFL = 99999,
FAISL = 99999,
FVETL = 99999,
FSOTL = 99999,
FvmnL = 99999,
FvmxL = 99999,
FSLPL = 99999,
FABSL = 99999,
FSNOS = 99999,
FSICS = 99999,
/
&nam_stochy
lon_s=768,
lat_s=384,
ntrunc=382,
SKEBNORM=1,
SKEB_NPASS=30,
SKEB_VDOF=5,
SKEB=@[SKEB],
SKEB_TAU=2.16E4,
SKEB_LSCALE=1000.E3,
SHUM=@[SHUM],
SHUM_TAU=21600,
SHUM_LSCALE=500000,
SPPT=@[SPPT],
SPPT_TAU=21600,
SPPT_LSCALE=500000,
SPPT_LOGIT=.TRUE.,
SPPT_SFCLIMIT=.TRUE.,
ISEED_SHUM=1,
ISEED_SKEB=2,
ISEED_SPPT=3,
/
&nam_sfcperts
NSFCPERT=6,
PERTZ0=-999.,
PERTSHC=-999.,
PERTZT=-999.,
PERTLAI=-999.,
PERTVEGF=-999.,
PERTALB=-999.,
SFC_TAU=21600,
SFC_LSCALE=500000,
ISEED_SFC=0,
SPPT_LAND=.FALSE.,
/

&sat_vapor_pres_nml
use_exact_qs = .true.
show_all_bad_values=.false.
/
&cires_ugwp_nml
knob_ugwp_solver = 2
knob_ugwp_source = 1,1,0,0
knob_ugwp_wvspec = 1,25,25,25
knob_ugwp_azdir = 2,4,4,4
knob_ugwp_stoch = 0,0,0,0
knob_ugwp_effac = 1,1,1,1
knob_ugwp_doaxyz = 1
knob_ugwp_doheat = 1
knob_ugwp_dokdis = 1
knob_ugwp_ndx4lh = 1
knob_ugwp_version = 0
launch_level = 25
/
&multi_gases_nml
rilist = 287.050, 461.50, 0.0, 173.2247, 0.0, 0.0
cpilist = 1004.600, 1846.00, 0.0, 820.2391, 0.0, 0.0
/
40 changes: 40 additions & 0 deletions tests/fv3_conf/ccpp_multigases_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

inputdir=FV3_input_data_149
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/${inputdir}/INPUT .
mkdir RESTART
else
mkdir INPUT RESTART
cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT
fi
cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat .
cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 .
fi
if [ $H2O_PHYS = .T. ]; then
cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
fi
cp @[RTPWD]/${inputdir}/*grb .
cp @[RTPWD]/${inputdir}/*configure .
cp @[RTPWD]/${inputdir}/*_table .
cp @[RTPWD]/${inputdir}/diag_table_multi_gases diag_table
cp @[RTPWD]/${inputdir}/field_table_multi_gases field_table

if [ $CPLWAV = .T. ]; then
cp @[RTPWD]/WW3_input_data/mod_def.* .
cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp .
cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* .
fi
cp ${PATHRT}/../FV3/ccpp/suites/suite_${CCPP_SUITE}.xml suite_${CCPP_SUITE}.xml

# Add path to libccpp.so and libccpphys.so to LD_LIBRARY_PATH, append to module-setup.sh
echo " " >> module-setup.sh
echo "# Add path to libccpp.so and libccpphys.so to LD_LIBRARY_PATH"
echo "export LD_LIBRARY_PATH=${PATHRT}/../FV3/${CCPP_LIB_DIR}:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> module-setup.sh
echo " " >> module-setup.sh

Loading