Skip to content

Commit

Permalink
Aet rootzone name fix (#132)
Browse files Browse the repository at this point in the history
* Update bmi_cfe.c

* Update cfe_config_laramie_pass_aet_rz.txt

* Update cfe_config_laramie_pass_aet_rz.txt
  • Loading branch information
madMatchstick authored Sep 6, 2024
1 parent 91d8fdb commit 7d2f654
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/cfe1.0/cfe_config_laramie_pass_aet_rz.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion configs/cfe_config_laramie_pass_aet_rz.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/bmi_cfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d2f654

Please sign in to comment.