Skip to content
Merged
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
5 changes: 3 additions & 2 deletions compsets/fv3mom6cice5.input
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ cpl_defaults = {
# embeded bash script to create input files at prerun from specification
# in compset

embed bash edit_inputs(CDATE,ATMRES,DT_CICE,NPROC_ICE,RUNTYPE,USE_RESTART_TIME,FRAZIL_FWSALT,RUNID,CICE_HIST_AVG,DUMPFREQ_N,DUMPFREQ,DT_THERM,DT_DYNAM) [[[
embed bash edit_inputs(CDATE,ATMRES,DT_CICE,NPROC_ICE,RUNTYPE,USE_RESTART_TIME,FRAZIL_FWSALT,RUNID,CICE_HIST_AVG,DUMPFREQ_N,DUMPFREQ,DT_THERM,DT_DYNAM,MOM6_RIVER_RUNOFF) [[[

python <<EOT
import os
Expand Down Expand Up @@ -167,7 +167,8 @@ with open("INPUT/MOM_input_template",'rt') as inf:
with open("INPUT/MOM_input",'wf') as outf:
for x in inf.readlines():
newline=x.replace("DT_THERM_MOM6","@[DT_THERM]") \
.replace("DT_DYNAM_MOM6","@[DT_DYNAM]")
.replace("DT_DYNAM_MOM6","@[DT_DYNAM]") \
.replace("MOM6_RIVER_RUNOFF","@[MOM6_RIVER_RUNOFF]")
outf.write(newline)

#diag_table
Expand Down