Skip to content

Commit

Permalink
fixed issues #58 and #69. RAIN_RATE in units of m.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkhattak committed Sep 4, 2024
1 parent b5e899a commit 33967b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bmi_cfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ static int Get_value_ptr (Bmi *self, const char *name, void **dest)
if (strcmp (name, "RAIN_RATE") == 0) { //jmframe: Seems unnecessary to have rain rate as an output variable.
cfe_state_struct *cfe_ptr;
cfe_ptr = (cfe_state_struct *) self->data;
*dest = (void*)&cfe_ptr->aorc.precip_kg_per_m2;
*dest = (void*)&cfe_ptr->timestep_rainfall_input_m;
return BMI_SUCCESS;
}

Expand Down

0 comments on commit 33967b8

Please sign in to comment.