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

Additional template variables for CICE namelist #1998

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 15 additions & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,22 @@ export PRINT_DIFF_PGR=.false.
export coupling_interval_fast_sec=0
}

# Defaults for the CICE6 model
export_cice6() {
export CICE_NPT=999
export CICE_RESTART_DIR="./RESTART/"
export CICE_RESTART_FILE="iced"
export CICE_HISTFREQ_N="0, 0, 6, 1, 1"
export CICE_HISTORY_DIR="./history/"
export CICE_INCOND_DIR="./history/"
export CICE_TR_POND_LVL=".true."
export CICE_RESTART_POND_LVL=".false."
}

export_cpl ()
{
export_cice6

export FV3=true
export S2S=true
export HAFS=false
Expand Down Expand Up @@ -965,6 +979,7 @@ export LIST_FILES=""
}
export_datm_cdeps ()
{
export_cice6
export FV3=false
export S2S=false
export HAFS=false
Expand Down
16 changes: 8 additions & 8 deletions tests/parm/ice_in_template
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
day_init = @[SDAY]
sec_init = @[SECS]
dt = @[DT_CICE]
npt = 999
npt = @[CICE_NPT]
ndtd = 1
runtype = '@[CICERUNTYPE]'
runid = '@[RUNID]'
Expand All @@ -18,8 +18,8 @@
lcdf64 = .false.
numin = 21
numax = 89
restart_dir = './RESTART/'
restart_file = 'iced'
restart_dir = '@[CICE_RESTART_DIR]'
restart_file = '@[CICE_RESTART_FILE]'
pointer_file = './ice.restart_file'
dumpfreq = '@[DUMPFREQ]'
dumpfreq_n = @[DUMPFREQ_N]
Expand All @@ -35,12 +35,12 @@
latpnt(2) = -65.
lonpnt(2) = -45.
histfreq = 'm','d','h','x','x'
histfreq_n = 0 , 0 , 6 , 1 , 1
histfreq_n = @[CICE_HISTFREQ_N]
hist_avg = @[CICE_HIST_AVG]
history_dir = './history/'
history_dir = '@[CICE_HISTORY_DIR]'
history_file = 'iceh'
write_ic = .true.
incond_dir = './history/'
incond_dir = '@[CICE_INCOND_DIR]'
incond_file = 'iceh_ic'
version_name = 'CICE_6.0.2'
/
Expand Down Expand Up @@ -71,8 +71,8 @@
restart_lvl = .false.
tr_pond_topo = .false.
restart_pond_topo = .false.
tr_pond_lvl = .true.
restart_pond_lvl = .false.
tr_pond_lvl = @[CICE_TR_POND_LVL]
restart_pond_lvl = @[CICE_RESTART_POND_LVL]
tr_aero = .false.
restart_aero = .false.
tr_fsd = .false.
Expand Down