From c462707dbec97afad6318b6e43761d37b2cf2799 Mon Sep 17 00:00:00 2001 From: JessicaGarrett-NOAA <30940444+madMatchstick@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:46:11 -0400 Subject: [PATCH] Aet rootzone name fix (#132) * Update bmi_cfe.c * Update cfe_config_laramie_pass_aet_rz.txt * Update cfe_config_laramie_pass_aet_rz.txt --- configs/cfe1.0/cfe_config_laramie_pass_aet_rz.txt | 2 +- configs/cfe_config_laramie_pass_aet_rz.txt | 2 +- src/bmi_cfe.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/cfe1.0/cfe_config_laramie_pass_aet_rz.txt b/configs/cfe1.0/cfe_config_laramie_pass_aet_rz.txt index b0f899a..b6c9243 100644 --- a/configs/cfe1.0/cfe_config_laramie_pass_aet_rz.txt +++ b/configs/cfe1.0/cfe_config_laramie_pass_aet_rz.txt @@ -27,6 +27,6 @@ surface_water_partitioning_scheme=Schaake #b_Xinanjiang_shape_parameter=1 #x_Xinanjiang_shape_parameter=1 #urban_decimal_fraction=0.0 -aet_rootzone=true +is_aet_rootzone=true soil_layer_depths=0.1,0.4,1.0,2.0 max_rootzone_layer=2 diff --git a/configs/cfe_config_laramie_pass_aet_rz.txt b/configs/cfe_config_laramie_pass_aet_rz.txt index 96ebbc1..d382803 100644 --- a/configs/cfe_config_laramie_pass_aet_rz.txt +++ b/configs/cfe_config_laramie_pass_aet_rz.txt @@ -23,6 +23,6 @@ K_nash_surface=0.83089 nsubsteps_nash_surface=10 nash_storage_surface=0.0,0.0 surface_water_partitioning_scheme=Schaake -aet_rootzone=true +is_aet_rootzone=true soil_layer_depths=0.1,0.4,1.0,2.0 max_rootzone_layer=2 diff --git a/src/bmi_cfe.c b/src/bmi_cfe.c index aae2e7f..c23c22a 100644 --- a/src/bmi_cfe.c +++ b/src/bmi_cfe.c @@ -764,7 +764,7 @@ int read_init_config_cfe(const char* config_file, cfe_state_struct* model) } /*-------------------- Root zone AET development -rlm -----------------------*/ - if (strcmp(param_key, "aet_rootzone") == 0) { + if (strcmp(param_key, "is_aet_rootzone") == 0) { if ( strcmp(param_value, "true")==0 || strcmp(param_value, "True")==0 || strcmp(param_value,"1")==0) is_aet_rootzone_set = TRUE;