From ee628d11ed412ea98e81e3823343a2f21fc4db01 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 21 Aug 2024 13:12:56 -0600 Subject: [PATCH] fix dglc setting and remove end run alarm for the moment --- cime_config/namelist_definition_drv.xml | 3 ++- cime_config/runseq/driver_config.py | 12 ++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/cime_config/namelist_definition_drv.xml b/cime_config/namelist_definition_drv.xml index 4482506c..0d72779b 100644 --- a/cime_config/namelist_definition_drv.xml +++ b/cime_config/namelist_definition_drv.xml @@ -233,12 +233,13 @@ + logical nuopc ALLCOMP_attributes - .true. + .false. .false. .false. diff --git a/cime_config/runseq/driver_config.py b/cime_config/runseq/driver_config.py index 48dca7ba..dfdadc75 100644 --- a/cime_config/runseq/driver_config.py +++ b/cime_config/runseq/driver_config.py @@ -64,7 +64,7 @@ def __compute_glc(self, case, coupling_times): # However will still need to call the exchange at the end if the stop_option # is nsteps or days - or otherwise just every ndays # Note that nsteps is the minimum component coupling time - if (comp_glc == 'cism'): + if comp_glc == 'cism': glc_coupling_time = coupling_times["glc_cpl_dt"] if not case.get_value("CISM_EVOLVE"): stop_option = case.get_value('STOP_OPTION') @@ -77,15 +77,7 @@ def __compute_glc(self, case, coupling_times): glc_coupling_time = stop_n * 86400 else: glc_coupling_time = 86400 - elif (comp_glc == 'dglc'): - glc_coupling_time = coupling_times["glc_cpl_dt"] - is_test = case.get_value("TEST") - if not is_test: - stop_option = case.get_value('STOP_OPTION') - if stop_option == 'nsteps': - stop_n = case.get_value('STOP_N') - glc_coupling_time = stop_n*coupling_times["atm_cpl_dt"] - elif (comp_glc == 'xglc'): + elif comp_glc == 'dglc' or comp_glc == 'xglc': glc_coupling_time = coupling_times["glc_cpl_dt"] else: glc_coupling_time = 0