From 7ebad352e0be0dd48dab1d4a8aff0b1eb776c01b Mon Sep 17 00:00:00 2001 From: Jon Wolfe Date: Thu, 2 Mar 2017 15:13:18 -0800 Subject: [PATCH] Add lost code to set variable based on ic_mode, for ICG compsets. --- components/mpas-cice/bld/build-namelist | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/mpas-cice/bld/build-namelist b/components/mpas-cice/bld/build-namelist index a42984b6108b..30677000b17a 100755 --- a/components/mpas-cice/bld/build-namelist +++ b/components/mpas-cice/bld/build-namelist @@ -480,7 +480,11 @@ add_default($nl, 'config_nSnowLayers'); # Namelist group: initialize # ############################## -add_default($nl, 'config_initial_condition_type'); +if ($ic_mode eq 'spunup') { + add_default($nl, 'config_initial_condition_type', 'val'=>"restart"); +} else { + add_default($nl, 'config_initial_condition_type'); +} add_default($nl, 'config_initial_ice_area'); add_default($nl, 'config_initial_ice_volume'); add_default($nl, 'config_initial_snow_volume');