From 9bcfcffe27bb46c6ee230fb6c29e5bd9c1c6f16d Mon Sep 17 00:00:00 2001 From: Bill Sacks Date: Thu, 22 Aug 2024 11:48:48 -0600 Subject: [PATCH] Keep GLACIER_REGION=1 unused We realized that the renumbering of regions could cause silent wrong behavior if a user was using an old user_nl_clm file that specified behaviors for the old 4 regions. So instead, we're keeping the old numbering for the Greenland and Antarctica regions and keeping GLACIER_REGION=1 unused for now. --- bld/namelist_files/namelist_defaults_ctsm.xml | 11 +++++++---- bld/namelist_files/namelist_definition_ctsm.xml | 14 ++++++++------ cime_config/SystemTests/lvg.py | 4 ++-- .../cmip6_glaciers_virtual_antarctica/user_nl_clm | 2 +- src/main/glcBehaviorMod.F90 | 9 ++++++--- tools/mksurfdata_esmf/gen_mksurfdata_namelist.xml | 2 +- 6 files changed, 25 insertions(+), 17 deletions(-) diff --git a/bld/namelist_files/namelist_defaults_ctsm.xml b/bld/namelist_files/namelist_defaults_ctsm.xml index cd5e723baa..ae40b99d0c 100644 --- a/bld/namelist_files/namelist_defaults_ctsm.xml +++ b/bld/namelist_files/namelist_defaults_ctsm.xml @@ -466,6 +466,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case). -'single_at_atm_topo','virtual','multiple' -'single_at_atm_topo','virtual','virtual' +'single_at_atm_topo','UNSET','virtual','multiple' +'single_at_atm_topo','UNSET','virtual','virtual' -'remains_in_place','replaced_by_ice','replaced_by_ice' +'remains_in_place','UNSET','replaced_by_ice','replaced_by_ice' -'melted','remains_ice','remains_ice' +'melted','UNSET','remains_ice','remains_ice'