Skip to content

Commit

Permalink
fix namelist and add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdebolskiy committed Dec 1, 2023
1 parent a79f4d1 commit 94ad62b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4363,7 +4363,7 @@ sub setup_logic_exice {
}
}
}
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'use_ekici');
#add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'use_ekici');
my $use_ekici = $nl->get_value( 'use_ekici' );
if( ( not value_is_true($use_exice) ) && value_is_true($use_ekici)) {
$log->fatal_error("use_excess_ice=.true. is required when use_ekici is set to true" );
Expand Down
2 changes: 1 addition & 1 deletion bld/namelist_files/namelist_definition_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2882,7 +2882,7 @@ Mapping method from excess ice input stream data to the model resolution
</entry>

<entry id="use_ekici" type="logical" category="clm_physics"
group="clm_inparm" valid_values="" >
group="clm_inparam" valid_values="" >
If TRUE turn on micro_sigma updates with subsidence, (Ekici et al., 2019)
</entry>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../ExcessIceStreams
1 change: 1 addition & 0 deletions cime_config/testdefs/testmods_dirs/clm/ekici/user_nl_clm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use_ekici = .true.

0 comments on commit 94ad62b

Please sign in to comment.